annotate cuffdiff_wrapper.xml @ 4:05d4e123f9f7 draft

Uploaded correct tool data table configuration.
author devteam
date Wed, 04 Dec 2013 16:21:13 -0500
parents beab768feb92
children 604fa75232a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
1 <tool id="cuffdiff" name="Cuffdiff" version="0.0.7">
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
2 <!-- Wrapper supports Cuffdiff versions 2.1.0-2.1.1 -->
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
3 <description>find significant changes in transcript expression, splicing, and promoter use</description>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
4 <requirements>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
5 <requirement type="package" version="2.1.1">cufflinks</requirement>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
6 </requirements>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
7 <version_command>cuffdiff 2>&amp;1 | head -n 1</version_command>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
8 <command>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
9 cuffdiff
2
2d6a90609943 Fix wrapper bugs: (a) do not try update check and (b) allow spaces in labels.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 1
diff changeset
10 --no-update-check
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
11 --FDR=$fdr
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
12 --num-threads="4"
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
13 --min-alignment-count=$min_alignment_count
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
14 --library-norm-method=$library_norm_method
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
15 --dispersion-method=$dispersion_method
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
16
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
17 ## Set advanced data parameters?
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
18 #if $additional.sAdditional == "Yes":
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
19 -m $additional.frag_mean_len
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
20 -s $additional.frag_len_std_dev
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
21 #end if
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
22
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
23 ## Multi-read correct?
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
24 #if str($multiread_correct) == "Yes":
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
25 -u
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
26 #end if
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
27
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
28 ## Bias correction?
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
29 #if $bias_correction.do_bias_correction == "Yes":
1
60a52f8460a1 Fix bias correction.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 0
diff changeset
30 -b
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
31 #if $bias_correction.seq_source.index_source == "history":
1
60a52f8460a1 Fix bias correction.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 0
diff changeset
32 ## Custom genome from history.
60a52f8460a1 Fix bias correction.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 0
diff changeset
33 $bias_correction.seq_source.ref_file
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
34 #else:
1
60a52f8460a1 Fix bias correction.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 0
diff changeset
35 ## Built-in genome.
3
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
36 ${__get_data_table_entry__('fasta_indexes', 'value', $gtf_input.dbkey, 'path')}
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
37 #end if
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
38 #end if
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
39
2
2d6a90609943 Fix wrapper bugs: (a) do not try update check and (b) allow spaces in labels.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 1
diff changeset
40 #set labels = '\'' + '\',\''.join( [ str( $condition.name ) for $condition in $conditions ] ) + '\''
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
41 --labels $labels
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
42
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
43 ## Inputs.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
44 $gtf_input
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
45 #for $condition in $conditions:
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
46 #set samples = ','.join( [ str( $sample.sample ) for $sample in $condition.samples ] )
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
47 $samples
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
48 #end for
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
49 </command>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
50 <inputs>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
51 <param format="gtf,gff3" name="gtf_input" type="data" label="Transcripts" help="A transcript GFF3 or GTF file produced by cufflinks, cuffcompare, or other source."/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
52
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
53 <repeat name="conditions" title="Condition" min="2">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
54 <param name="name" title="Condition name" type="text" label="Name"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
55 <repeat name="samples" title="Replicate" min="1">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
56 <param name="sample" label="Add replicate" type="data" format="sam,bam"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
57 </repeat>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
58 </repeat>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
59
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
60 <param name="library_norm_method" type="select" label="Library normalization method">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
61 <option value="geometric" selected="True">geometric</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
62 <option value="classic-fpkm">classic-fpkm</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
63 <option value="quartile">quartile</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
64 </param>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
65
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
66 <param name="dispersion_method" type="select" label="Dispersion estimation method" help="If using only one sample per condition, you must use 'blind.'">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
67 <option value="pooled" selected="True">pooled</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
68 <option value="per-condition">per-condition</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
69 <option value="blind">blind</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
70 </param>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
71
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
72 <param name="fdr" type="float" value="0.05" label="False Discovery Rate" help="The allowed false discovery rate."/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
73
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
74 <param name="min_alignment_count" type="integer" value="10" label="Min Alignment Count" help="The minimum number of alignments in a locus for needed to conduct significance testing on changes in that locus observed between samples."/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
75
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
76 <param name="multiread_correct" type="select" label="Use multi-read correct" help="Tells Cufflinks to do an initial estimation procedure to more accurately weight reads mapping to multiple locations in the genome.">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
77 <option value="No" selected="true">No</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
78 <option value="Yes">Yes</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
79 </param>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
80
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
81 <conditional name="bias_correction">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
82 <param name="do_bias_correction" type="select" label="Perform Bias Correction" help="Bias detection and correction can significantly improve accuracy of transcript abundance estimates.">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
83 <option value="No">No</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
84 <option value="Yes">Yes</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
85 </param>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
86 <when value="Yes">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
87 <conditional name="seq_source">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
88 <param name="index_source" type="select" label="Reference sequence data">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
89 <option value="cached">Locally cached</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
90 <option value="history">History</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
91 </param>
3
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
92 <when value="cached">
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
93 <param name="index" type="select" label="Using reference genome">
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
94 <options from_data_table="fasta_indexes">
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
95 <filter type="data_meta" ref="gtf_input" key="dbkey" column="1" />
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
96 <validator type="no_options" message="No reference genome is available for the build associated with the selected input dataset" />
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
97 </options>
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
98 </param>
beab768feb92 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 2
diff changeset
99 </when>
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
100 <when value="history">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
101 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
102 </when>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
103 </conditional>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
104 </when>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
105 <when value="No"></when>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
106 </conditional>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
107
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
108 <param name="include_read_group_files" type="select" label="Include Read Group Datasets" help="Read group datasets provide information on replicates.">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
109 <option value="No" selected="true">No</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
110 <option value="Yes">Yes</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
111 </param>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
112
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
113 <conditional name="additional">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
114 <param name="sAdditional" type="select" label="Set Additional Parameters? (not recommended for paired-end reads)">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
115 <option value="No">No</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
116 <option value="Yes">Yes</option>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
117 </param>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
118 <when value="No"></when>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
119 <when value="Yes">
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
120 <param name="frag_mean_len" type="integer" value="200" label="Average Fragment Length"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
121 <param name="frag_len_std_dev" type="integer" value="80" label="Fragment Length Standard Deviation"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
122 </when>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
123 </conditional>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
124 </inputs>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
125
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
126 <stdio>
1
60a52f8460a1 Fix bias correction.
jeremy goecks <jeremy.goecks@emory.edu>
parents: 0
diff changeset
127 <regex match="Error" source="both" level="fatal" description="Error"/>
0
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
128 <regex match=".*" source="both" level="log" description="tool progress"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
129 </stdio>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
130
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
131 <outputs>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
132 <!-- Optional read group datasets. -->
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
133 <data format="tabular" name="isoforms_read_group" label="${tool.name} on ${on_string}: isoforms read group tracking" from_work_dir="isoforms.read_group_tracking" >
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
134 <filter>(params['include_read_group_files'] == 'Yes'</filter>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
135 </data>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
136 <data format="tabular" name="genes_read_group" label="${tool.name} on ${on_string}: genes read group tracking" from_work_dir="genes.read_group_tracking" >
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
137 <filter>(params['include_read_group_files'] == 'Yes'</filter>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
138 </data>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
139 <data format="tabular" name="cds_read_group" label="${tool.name} on ${on_string}: CDs read group tracking" from_work_dir="cds.read_group_tracking" >
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
140 <filter>(params['include_read_group_files'] == 'Yes'</filter>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
141 </data>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
142 <data format="tabular" name="tss_groups_read_group" label="${tool.name} on ${on_string}: TSS groups read group tracking" from_work_dir="tss_groups.read_group_tracking" >
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
143 <filter>(params['include_read_group_files'] == 'Yes'</filter>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
144 </data>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
145
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
146 <!-- Standard datasets. -->
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
147 <data format="tabular" name="splicing_diff" label="${tool.name} on ${on_string}: splicing differential expression testing" from_work_dir="splicing.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
148 <data format="tabular" name="promoters_diff" label="${tool.name} on ${on_string}: promoters differential expression testing" from_work_dir="promoters.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
149 <data format="tabular" name="cds_diff" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing" from_work_dir="cds.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
150 <data format="tabular" name="cds_exp_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM differential expression testing" from_work_dir="cds_exp.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
151 <data format="tabular" name="cds_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM tracking" from_work_dir="cds.fpkm_tracking" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
152 <data format="tabular" name="tss_groups_exp" label="${tool.name} on ${on_string}: TSS groups differential expression testing" from_work_dir="tss_group_exp.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
153 <data format="tabular" name="tss_groups_fpkm_tracking" label="${tool.name} on ${on_string}: TSS groups FPKM tracking" from_work_dir="tss_groups.fpkm_tracking" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
154 <data format="tabular" name="genes_exp" label="${tool.name} on ${on_string}: gene differential expression testing" from_work_dir="gene_exp.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
155 <data format="tabular" name="genes_fpkm_tracking" label="${tool.name} on ${on_string}: gene FPKM tracking" from_work_dir="genes.fpkm_tracking" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
156 <data format="tabular" name="isoforms_exp" label="${tool.name} on ${on_string}: transcript differential expression testing" from_work_dir="isoform_exp.diff" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
157 <data format="tabular" name="isoforms_fpkm_tracking" label="${tool.name} on ${on_string}: transcript FPKM tracking" from_work_dir="isoforms.fpkm_tracking" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
158 </outputs>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
159
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
160 <tests>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
161 <test>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
162 <!--
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
163 cuffdiff cuffcompare_out5.gtf cuffdiff_in1.sam cuffdiff_in2.sam
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
164 -->
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
165 <!--
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
166 NOTE: as of version 0.0.6 of the wrapper, tests cannot be run because multiple inputs to a repeat
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
167 element are not supported.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
168 <param name="gtf_input" value="cuffcompare_out5.gtf" ftype="gtf" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
169 <param name="do_groups" value="No" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
170 <param name="aligned_reads1" value="cuffdiff_in1.sam" ftype="sam" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
171 <param name="aligned_reads2" value="cuffdiff_in2.sam" ftype="sam" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
172 <param name="fdr" value="0.05" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
173 <param name="min_alignment_count" value="0" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
174 <param name="do_bias_correction" value="No" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
175 <param name="do_normalization" value="No" />
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
176 <param name="multiread_correct" value="No"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
177 <param name="sAdditional" value="No"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
178 <output name="splicing_diff" file="cuffdiff_out9.txt"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
179 <output name="promoters_diff" file="cuffdiff_out10.txt"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
180 <output name="cds_diff" file="cuffdiff_out11.txt"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
181 <output name="cds_exp_fpkm_tracking" file="cuffdiff_out4.txt"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
182 <output name="cds_fpkm_tracking" file="cuffdiff_out8.txt"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
183 <output name="tss_groups_exp" file="cuffdiff_out3.txt" lines_diff="200"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
184 <output name="tss_groups_fpkm_tracking" file="cuffdiff_out7.txt"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
185 <output name="genes_exp" file="cuffdiff_out2.txt" lines_diff="200"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
186 <output name="genes_fpkm_tracking" file="cuffdiff_out6.txt" lines_diff="200"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
187 <output name="isoforms_exp" file="cuffdiff_out1.txt" lines_diff="200"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
188 <output name="isoforms_fpkm_tracking" file="cuffdiff_out5.txt" lines_diff="200"/>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
189 -->
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
190 </test>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
191 </tests>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
192
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
193 <help>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
194 **Cuffdiff Overview**
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
195
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
196 Cuffdiff is part of Cufflinks_. Cuffdiff find significant changes in transcript expression, splicing, and promoter use. Please cite: Trapnell C, Williams BA, Pertea G, Mortazavi AM, Kwan G, van Baren MJ, Salzberg SL, Wold B, Pachter L. Transcript assembly and abundance estimation from RNA-Seq reveals thousands of new transcripts and switching among isoforms. Nature Biotechnology doi:10.1038/nbt.1621
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
197
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
198 .. _Cufflinks: http://cufflinks.cbcb.umd.edu/
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
199
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
200 ------
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
201
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
202 **Know what you are doing**
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
203
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
204 .. class:: warningmark
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
205
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
206 There is no such thing (yet) as an automated gearshift in expression analysis. It is all like stick-shift driving in San Francisco. In other words, running this tool with default parameters will probably not give you meaningful results. A way to deal with this is to **understand** the parameters by carefully reading the `documentation`__ and experimenting. Fortunately, Galaxy makes experimenting easy.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
207
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
208 .. __: http://cufflinks.cbcb.umd.edu/manual.html#cuffdiff
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
209
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
210 ------
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
211
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
212 **Input format**
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
213
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
214 Cuffdiff takes Cufflinks or Cuffcompare GTF files as input along with two SAM files containing the fragment alignments for two or more samples.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
215
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
216 ------
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
217
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
218 **Outputs**
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
219
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
220 Cuffdiff produces many output files:
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
221
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
222 1. Transcript FPKM expression tracking.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
223 2. Gene FPKM expression tracking; tracks the summed FPKM of transcripts sharing each gene_id
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
224 3. Primary transcript FPKM tracking; tracks the summed FPKM of transcripts sharing each tss_id
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
225 4. Coding sequence FPKM tracking; tracks the summed FPKM of transcripts sharing each p_id, independent of tss_id
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
226 5. Transcript differential FPKM.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
227 6. Gene differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each gene_id
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
228 7. Primary transcript differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each tss_id
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
229 8. Coding sequence differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each p_id independent of tss_id
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
230 9. Differential splicing tests: this tab delimited file lists, for each primary transcript, the amount of overloading detected among its isoforms, i.e. how much differential splicing exists between isoforms processed from a single primary transcript. Only primary transcripts from which two or more isoforms are spliced are listed in this file.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
231 10. Differential promoter tests: this tab delimited file lists, for each gene, the amount of overloading detected among its primary transcripts, i.e. how much differential promoter use exists between samples. Only genes producing two or more distinct primary transcripts (i.e. multi-promoter genes) are listed here.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
232 11. Differential CDS tests: this tab delimited file lists, for each gene, the amount of overloading detected among its coding sequences, i.e. how much differential CDS output exists between samples. Only genes producing two or more distinct CDS (i.e. multi-protein genes) are listed here.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
233
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
234 -------
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
235
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
236 **Settings**
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
237
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
238 All of the options have a default value. You can change any of them. Most of the options in Cuffdiff have been implemented here.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
239
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
240 ------
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
241
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
242 **Cuffdiff parameter list**
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
243
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
244 This is a list of implemented Cuffdiff options::
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
245
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
246 -m INT Average fragement length; default 200
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
247 -s INT Fragment legnth standard deviation; default 80
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
248 -c INT The minimum number of alignments in a locus for needed to conduct significance testing on changes in that locus observed between samples. If no testing is performed, changes in the locus are deemed not significant, and the locus' observed changes don't contribute to correction for multiple testing. The default is 1,000 fragment alignments (up to 2,000 paired reads).
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
249 --FDR FLOAT The allowed false discovery rate. The default is 0.05.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
250 --num-importance-samples INT Sets the number of importance samples generated for each locus during abundance estimation. Default: 1000
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
251 --max-mle-iterations INT Sets the number of iterations allowed during maximum likelihood estimation of abundances. Default: 5000
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
252 -N With this option, Cufflinks excludes the contribution of the top 25 percent most highly expressed genes from the number of mapped fragments used in the FPKM denominator. This can improve robustness of differential expression calls for less abundant genes and transcripts.
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
253
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
254 </help>
0dabb2ed6eb1 Uploaded tool tarball.
devteam
parents:
diff changeset
255 </tool>