annotate stringtie.xml @ 0:62d212192002 draft

Imported from capsule None
author iuc
date Thu, 03 Jul 2014 18:38:02 -0400
parents
children 9f80c71f1779
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
2 <tool name="StringTie" id="stringtie" version="1.0.0">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
3 <description>RNA-Seq assembler</description>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
4 <requirements>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
5 <requirement type="package" version="0.97">stringtie</requirement>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
6 </requirements>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
7 <command>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
8 <![CDATA[
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
9 stringtie "$input_bam"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
10 -o "$output_gtf"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
11 -p "\${GALAXY_SLOTS:-1}"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
12 #if str($guide.use_guide) == 'yes':
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
13 -G "$guide.guide_gff" $guide.input_estimation
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
14 -C "$coverage"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
15 #end if
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
16 #if str($option_set.options) == 'advanced':
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
17 -f "$option_set.fraction"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
18 -m "$option_set.min_tlen"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
19 -a "$option_set.min_anchor_len"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
20 -j "$option_set.min_anchor_cov"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
21 -c "$option_set.min_bundle_cov"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
22 -s "$option_set.maxcov"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
23 -g "$option_set.bdist"
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
24 -M "$option_set.bundle_fraction" $option_set.sensitive $option_set.disable_trimming
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
25 #end if
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
26 ]]>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
27 </command>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
28 <inputs>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
29 <param name="input_bam" type="data" format="bam" label="BAM file to assemble" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
30 <conditional name="guide">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
31 <param name="use_guide" type="select" label="Use GFF file to guide assembly">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
32 <option value="yes">Use GFF</option>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
33 <option value="no" selected="True">Do not use GFF</option>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
34 </param>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
35 <when value="no" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
36 <when value="yes">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
37 <param name="guide_gff" type="data" format="gtf,gff3" label="Reference annotation to use for guiding the assembly process" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
38 <param name="input_estimation" type="boolean" truevalue="-e" falsevalue="" label="Perform abundance estimation only of input transcripts" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
39 </when>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
40 </conditional>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
41 <conditional name="option_set">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
42 <param name="options" type="select" label="Options">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
43 <option value="default" selected="True">Use defaults</option>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
44 <option value="advanced">Specify advanced options</option>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
45 </param>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
46 <when value="default" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
47 <when value="advanced">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
48 <param name="disable_trimming" type="boolean" falsevalue="" truevalue="-t" label="Disable trimming of predicted transcripts based on coverage" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
49 <param name="sensitive" type="boolean" truevalue="-S" falsevalue="" label="Increase sensitivity" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
50 <param name="label" type="text" value="STRG" label="Name prefix for output transcripts" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
51 <param name="fraction" type="float" value="0.15" min="0.0" max="1.0" label="Minimum isoform fraction" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
52 <param name="min_tlen" type="integer" value="200" label="Minimum assembled transcript length" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
53 <param name="min_anchor_len" type="integer" value="10" label="Minimum anchor length for junctions" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
54 <param name="min_anchor_cov" type="integer" value="1" label="Minimum junction coverage" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
55 <param name="min_bundle_cov" type="integer" value="2" label="Minimum bundle reads per bp coverage to consider for assembly" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
56 <param name="maxcov" type="integer" value="1000000" label="Coverage saturation threshold" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
57 <param name="bdist" type="integer" value="50" label="Gap between read mappings triggering a new bundle" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
58 <param name="bundle_fraction" type="float" value="0.95" label="Fraction of bundle allowed to be covered by multi-hit reads" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
59 </when>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
60 </conditional>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
61 </inputs>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
62 <outputs>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
63 <data name="output_gtf" format="gtf" label="${tool.name} on ${on_string}: Assembled transcripts"/>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
64 <data name="coverage" format="gff3" label="${tool.name} on ${on_string}: Coverage">
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
65 <filter>guide['use_guide'] == "yes"</filter>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
66 </data>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
67 </outputs>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
68 <tests>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
69 <test>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
70 <param name="input_bam" value="stringtie_in1.bam" ftype="bam" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
71 <param name="use_guide" value="no" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
72 <param name="options" value="default" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
73 <output name="output_gtf" file="stringtie_out1.gtf" ftype="gtf" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
74 </test>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
75 <test>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
76 <param name="input_bam" value="stringtie_in1.bam" ftype="bam" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
77 <param name="use_guide" value="no" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
78 <param name="options" value="advanced" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
79 <param name="fraction" value="0.17" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
80 <output name="output_gtf" file="stringtie_out2.gtf" ftype="gtf" />
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
81 </test>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
82 </tests>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
83 <help>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
84 <![CDATA[
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
85 StringTie v0.97 usage::
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
86
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
87 stringtie <input.bam> [-G <guide_gff>] [-l <label>] [-o <out_gff>] [-p <cpus>]
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
88 [-v] [-a <min_anchor_len>] [-m <min_tlen>] [-j <min_anchor_cov>] [-n sens]
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
89 [-C <coverage_file_name>] [-s <maxcov>] [-c <min_bundle_cov>] [-g <bdist>]
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
90
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
91 Assemble RNA-Seq alignments into potential transcripts.
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
92
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
93 Options:
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
94 -G reference annotation to use for guiding the assembly process (GTF/GFF3)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
95 -l name prefix for output transcripts (default: STRG)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
96 -f minimum isoform fraction (default: 0.15)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
97 -m minimum assembled transcript length to report (default 200bp)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
98 -o output file with the assembled transcripts (default: stdout)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
99 -a minimum anchor length for junctions (default: 10)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
100 -j minimum junction coverage (default: 1)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
101 -t disable trimming of predicted transcripts based on coverage (default: trimming enabled)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
102 -c minimum bundle reads per bp coverage to consider for assembly (default: 2)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
103 -s coverage saturation threshold; further read alignments will be
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
104 ignored in a region where a local coverage depth of <maxcov>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
105 is reached (default: 1,000,000);
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
106 -v verbose (log bundle processing details)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
107 -e abundance estimation only of input transcripts (for -G option)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
108 -g gap between read mappings triggering a new bundle (default: 50)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
109 -S more sensitive run (default: no)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
110 -C output file with all transcripts in reference that are fully
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
111 covered by reads
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
112 -M fraction of bundle allowed to be covered by multi-hit reads (default:0.95)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
113 -p number of threads (CPUs) to use (default: 1)
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
114
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
115 ]]>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
116 </help>
62d212192002 Imported from capsule None
iuc
parents:
diff changeset
117 </tool>