annotate ctat_star_fusion.xml @ 10:fe24128ef413 draft default tip

Uploaded
author trinity_ctat
date Sun, 08 Jul 2018 16:18:09 -0400
parents 690a6696ce11
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
dc3454ad7e09 Trying to fix invalid repository tag error for ctat_star_fusion.
trinity_ctat
parents: 0
diff changeset
1 <tool id="ctat_star_fusion" name="ctat_star_fusion" version="1.0.1" profile="17.05">
dc3454ad7e09 Trying to fix invalid repository tag error for ctat_star_fusion.
trinity_ctat
parents: 0
diff changeset
2
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
3 <description>Fusion-finding Pipeline Using the STAR Aligner</description>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
4 <requirements>
7
ec7eb887ab61 New ctat_star_fusion.xml to use new bioconda recipe.
trinity_ctat
parents: 5
diff changeset
5 <requirement type="package" version="1.4.0">star-fusion</requirement>
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
6 </requirements>
2
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
7 <!-- Using command's detect_errors instead of below.
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
8 <stdio>
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
9 <exit_code range="1:" level="fatal" description="Error returned from pipeline" />
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
10 </stdio>
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
11 <regex match="Must investigate error above."
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
12 source="stderr"
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
13 level="fatal"
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
14 description="Unknown error encountered" />
3268b5e6ab4a Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents: 1
diff changeset
15 -->
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
16 <command detect_errors="default">
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
17 <![CDATA[
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
18 STAR-Fusion
4
31beded40e1a Updating star_fusion and gmap_fusion to work with the new datamanager (the tablename was changed to be consistent with other naming).
trinity_ctat
parents: 2
diff changeset
19 --genome_lib_dir "${genome_resource_lib.fields.path}"
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
20 --left_fq "${left_input}"
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
21 --right_fq "${right_input}"
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
22 --output_dir subdir
9
690a6696ce11 Uploaded
trinity_ctat
parents: 8
diff changeset
23 --STAR_SortedByCoordinate
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
24 ]]>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
25 </command>
1
dc3454ad7e09 Trying to fix invalid repository tag error for ctat_star_fusion.
trinity_ctat
parents: 0
diff changeset
26
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
27 <inputs>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
28 <param format="fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
29 <param format="fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
4
31beded40e1a Updating star_fusion and gmap_fusion to work with the new datamanager (the tablename was changed to be consistent with other naming).
trinity_ctat
parents: 2
diff changeset
30 <param name="genome_resource_lib" type="select" label="Select a reference genome">
31beded40e1a Updating star_fusion and gmap_fusion to work with the new datamanager (the tablename was changed to be consistent with other naming).
trinity_ctat
parents: 2
diff changeset
31 <options from_data_table="ctat_genome_resource_libs">
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
32 <filter type="sort_by" column="2" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
33 <validator type="no_options" message="No indexes are available" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
34 </options>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
35 </param>
1
dc3454ad7e09 Trying to fix invalid repository tag error for ctat_star_fusion.
trinity_ctat
parents: 0
diff changeset
36 </inputs>
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
37
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
38 <outputs>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
39 <data format="txt" name="starfusion_log" label="${tool.name} on ${on_string}: log" from_work_dir="subdir/Log.out"/>
10
fe24128ef413 Uploaded
trinity_ctat
parents: 9
diff changeset
40 <data format="bam" name="aligned_bam" label="${tool.name} on ${on_string}: Aligned Bam" from_work_dir="subdir/std.STAR.bam"/>
fe24128ef413 Uploaded
trinity_ctat
parents: 9
diff changeset
41 <data format="tabular" name="candidates" label="${tool.name} on ${on_string}: Fusion candidates" from_work_dir="subdir/star-fusion.fusion_predictions.abridged.tsv"/>
fe24128ef413 Uploaded
trinity_ctat
parents: 9
diff changeset
42 <data format="tabular" name="chimeric_junc" label="${tool.name} on ${on_string}: Chimeric.out.junction" from_work_dir="subdir/std.Chimeric.out.junction"/>
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
43 </outputs>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
44 <tests>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
45 <test>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
46 <param name="left_input" value="StarFusion/reads_1.fq.gz" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
47 <param name="right_input" value="StarFusion/reads_2.fq.gz" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
48 <!--
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
49 <param name="left_input" value="reads.left.simPE.fq" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
50 <param name="right_input" value="reads.right.simPE.fq" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
51 -->
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
52 <!-- FIX - now that we added the CTAT ref lib path as a parameter, how do we find it for testing?
4
31beded40e1a Updating star_fusion and gmap_fusion to work with the new datamanager (the tablename was changed to be consistent with other naming).
trinity_ctat
parents: 2
diff changeset
53 <param name="genome_resource_lib.fields.path" value="?????" />
0
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
54 -->
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
55 <!--
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
56 <output name="aligned_bam" file="SF_out_aligned.bam" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
57 <output name="candidates" file="SF_out_fusion_candidates.dat" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
58 <output name="chimeric_junc" file="SF_out_chimeric.junction" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
59 <output name="starfusion_log" file="SF_out.log" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
60 -->
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
61 <output name="starfusion_log">
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
62 <assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
63 <has_line_matching expression=".+" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
64 <has_line line="ALL DONE!" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
65 </assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
66 </output>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
67 <output name="aligned_bam">
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
68 <assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
69 <has_line_matching expression=".+" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
70 <!-- The following checks for the magic number at the start of the bam file -->
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
71 <!-- At first I thought "\x8B\x1F" was the number, but it turns out the file
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
72 produced by the StarFusion test had that sequence in the file somewhere else.
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
73 -->
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
74 <has_text_matching expression="\x1F\x8B" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
75 </assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
76 </output>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
77 <output name="candidates">
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
78 <assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
79 <has_line_matching expression=".+" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
80 <has_line line="#fusion_name&#009;JunctionReads&#009;SpanningFrags&#009;Splice_type&#009;LeftGene&#009;LeftBreakpoint&#009;RightGene&#009;RightBreakpoint&#009;Long_double_anchor_support" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
81 </assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
82 </output>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
83 <output name="chimeric_junc">
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
84 <assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
85 <has_line_matching expression=".+" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
86 <has_line_matching expression="^chr20.*" />
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
87 </assert_contents>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
88 </output>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
89 </test>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
90 </tests>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
91 <help>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
92 .. class:: infomark
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
93
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
94 STAR-Fusion is a component of the Trinity Cancer Transcriptome Analysis Toolkit (CTAT). STAR-Fusion uses the STAR aligner to identify candidate fusion transcripts supported by Illumina reads. STAR-Fusion further processes the output generated by the STAR aligner to map junction reads and spanning reads to a reference annotation set. Please read more here_.
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
95
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
96 .. _here: https://github.com/STAR-Fusion/STAR-Fusion/wiki
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
97
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
98 </help>
8484a9930003 Making sure tools are up to date.
trinity_ctat
parents:
diff changeset
99 </tool>