annotate cuffdiff_wrapper.xml @ 0:9a9e3e83889b draft

Uploaded
author devteam
date Wed, 26 Nov 2014 13:57:28 -0500
parents
children 9ba750f285e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
1 <tool id="cuffdiff" name="Cuffdiff" version="@VERSION@.0">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
2 <description>find significant changes in transcript expression, splicing, and promoter use</description>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
3 <expand macro="requirements" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
4 <expand macro="stdio" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
5 <macros>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
6 <import>cuff_macros.xml</import>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
7 </macros>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
8 <version_command>cuffdiff 2>&amp;1 | head -n 1</version_command>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
9 <command>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
10 cuffdiff
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
11 --no-update-check
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
12 --FDR=$fdr
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
13 --num-threads="\${GALAXY_SLOTS:-4}"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
14 --min-alignment-count=$min_alignment_count
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
15 --library-norm-method=$library_norm_method
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
16 --dispersion-method=$dispersion_method
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
17
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
18 ## Set advanced SE data parameters?
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
19 #if $additional.sAdditional == "Yes":
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
20 -m $additional.frag_mean_len
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
21 -s $additional.frag_len_std_dev
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
22 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
23
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
24 ## Multi-read correct?
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
25 #if $multiread_correct :
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
26 -u
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
27 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
28
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
29 ## Bias correction?
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
30 #if $bias_correction.do_bias_correction == "Yes":
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
31 -b
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
32 #if $bias_correction.seq_source.index_source == "history":
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
33 ## Custom genome from history.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
34 $bias_correction.seq_source.ref_file
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
35 #else:
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
36 ## Built-in genome.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
37 "${ bias_correction.seq_source.index.fields.path }"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
38 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
39 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
40
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
41 @CONDITION_LABELS@
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
42
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
43 $length_correction
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
44
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
45 ## Set advanced parameters for cufflinks
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
46 #if $advanced_settings.sAdvanced == "Yes":
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
47 #if str($advanced_settings.library_type) != 'auto':
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
48 --library-type=$advanced_settings.library_type
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
49 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
50 #if $advanced_settings.mask_file:
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
51 --mask-file=$advanced_settings.mask_file
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
52 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
53 #if $advanced_settings.time_series:
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
54 --time-series
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
55 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
56 --max-mle-iterations=$advanced_settings.max_mle_iterations
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
57 $advanced_settings.hits_norm
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
58 --max-bundle-frags=$advanced_settings.max_bundle_frags
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
59 --num-frag-count-draws=$advanced_settings.num_frag_count_draws
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
60 --num-frag-assign-draws=$advanced_settings.num_frag_assign_draws
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
61 --min-reps-for-js-test=$advanced_settings.min_reps_for_js_test
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
62 #end if
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
63 ## Inputs.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
64 $gtf_input
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
65
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
66 @CONDITION_SAMPLES@
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
67 </command>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
68 <inputs>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
69 <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."/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
70 <expand macro="condition_inputs" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
71 <param name="library_norm_method" type="select" label="Library normalization method">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
72 <option value="geometric" selected="True">geometric</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
73 <option value="classic-fpkm">classic-fpkm</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
74 <option value="quartile">quartile</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
75 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
76
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
77 <param name="dispersion_method" type="select" label="Dispersion estimation method" help="If using only one sample per condition, you must use 'blind.'">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
78 <option value="pooled" selected="True">pooled</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
79 <option value="per-condition">per-condition</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
80 <option value="blind">blind</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
81 <option value="poisson">poisson</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
82 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
83
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
84 <param name="fdr" type="float" value="0.05" label="False Discovery Rate" help="The allowed false discovery rate."/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
85 <param name="min_alignment_count" type="integer" value="10" label="Min Alignment Count"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
86 help="The minimum number of alignments in a locus for needed to conduct significance testing on changes in that locus observed between samples."/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
87 <param name="multiread_correct" type="boolean" label="Use multi-read correct"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
88 help="Tells Cufflinks to do an initial estimation procedure to more accurately weight reads mapping to multiple locations in the genome." />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
89
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
90 <conditional name="bias_correction">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
91 <param name="do_bias_correction" type="select" label="Perform Bias Correction"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
92 help="Bias detection and correction can significantly improve accuracy of transcript abundance estimates.">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
93 <option value="No">No</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
94 <option value="Yes">Yes</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
95 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
96 <when value="Yes">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
97 <conditional name="seq_source">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
98 <param name="index_source" type="select" label="Reference sequence data">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
99 <option value="cached">Locally cached</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
100 <option value="history">History</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
101 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
102 <when value="cached">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
103 <param name="index" type="select" label="Using reference genome">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
104 <options from_data_table="fasta_indexes">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
105 <filter type="data_meta" ref="gtf_input" key="dbkey" column="1" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
106 <validator type="no_options" message="No reference genome is available for the build associated with the selected input dataset" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
107 </options>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
108 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
109 </when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
110 <when value="history">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
111 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
112 </when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
113 </conditional>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
114 </when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
115 <when value="No"></when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
116 </conditional>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
117
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
118 <param name="include_read_group_files" type="select" label="Include Read Group Datasets" help="Read group datasets provide information on replicates.">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
119 <option value="No" selected="true">No</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
120 <option value="Yes">Yes</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
121 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
122
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
123 <param name="include_count_files" type="select" label="Include Count Based output files"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
124 help="Cuffdiff estimates the number of fragments that originated from each transcript, primary transcript, and gene in each sample. Primary transcript and gene counts are computed by summing the counts of transcripts in each primary transcript group or gene group.">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
125 <option value="No" selected="true">No</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
126 <option value="Yes">Yes</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
127 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
128
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
129 <param name="length_correction" type="select" label="apply length correction" help="mode of length normalization to transcript fpkm.">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
130 <option value="" selected="true">cufflinks effective length correction</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
131 <option value="--no-effective-length-correction">standard length correction</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
132 <option value="--no-length-correction">no length correction at all (use raw counts)</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
133 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
134
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
135 <conditional name="additional">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
136 <param name="sAdditional" type="select" label="Set Additional Parameters for single end reads? (not recommended for paired-end reads)">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
137 <option value="No" selected="True">No</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
138 <option value="Yes">Yes</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
139 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
140 <when value="No"></when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
141 <when value="Yes">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
142 <param name="frag_mean_len" type="integer" value="200" label="Average Fragment Length"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
143 <param name="frag_len_std_dev" type="integer" value="80" label="Fragment Length Standard Deviation"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
144 </when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
145 </conditional>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
146
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
147 <conditional name="advanced_settings">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
148 <param name="sAdvanced" type="select" label="Set Advanced Cuffdiff parameters? ">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
149 <option value="No" selected="True">No</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
150 <option value="Yes">Yes</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
151 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
152 <when value="No"></when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
153 <when value="Yes">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
154 <param type="select" name="library_type" label="Library prep used for input reads" help="">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
155 <option value="auto" selected="True">Auto Detect</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
156 <option value="ff-firststrand">ff-firststrand</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
157 <option value="ff-secondstrand">ff-secondstrand</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
158 <option value="ff-unstranded">ff-unstranded</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
159 <option value="fr-firststrand">fr-firststrand</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
160 <option value="fr-secondstrand">fr-secondstrand</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
161 <option value="fr-unstranded" >fr-unstranded</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
162 <option value="transfrags">transfrags</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
163 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
164 <param name="mask_file" type="data" format="gtf,gff3" label="Mask File" help="Ignore all alignment within transcripts in this file" optional="True" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
165 <param name="time_series" type="boolean" label="Perform Time Series analysis"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
166 help="Instructs Cuffdiff to analyze the provided samples as a time series, rather than testing for differences between all pairs of samples. Samples should be provided in increasing time order at the command line (e.g first time point SAM, second timepoint SAM, etc.)" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
167 <param name="max_mle_iterations" value="5000" type="integer" label="Max MLE iterations" help="Maximum iterations allowed for Maximal Likelyhood Estimation calculations" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
168 <param name="hits_norm" type="select" label="Hits included in normalization" help="All Hits: With this option, Cufflinks counts all fragments, including those not compatible with any reference transcript, towards the number of mapped fragments used in the FPKM denominator. Compatible Hits: With this option, Cufflinks counts only those fragments compatible with some reference transcript towards the number of mapped fragments used in the FPKM denominator. Using this mode is generally recommended in Cuffdiff to reduce certain types of bias caused by differential amounts of ribosomal reads which can create the impression of falsely differentially expressed genes. It is active by default." >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
169 <option value="--compatible-hits-norm" selected="True">Compatible Hits</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
170 <option value="--total-hits-norm">All Hits</option>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
171 </param>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
172 <param name="max_bundle_frags" type="integer" value="500000" label="Maximum number of fragments per locus"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
173 help="Sets the maximum number of fragments a locus may have before being skipped. Skipped loci are listed in skipped.gtf. Default: 500,000" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
174 <param name="num_frag_count_draws" type="integer" value="100" label="Number of fragment generation samples"
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
175 help="Cuffdiff will make this many draws from each transcript's predicted negative binomial random numbder generator. Each draw is a number of fragments that will be probabilistically assigned to the transcripts in the transcriptome. Used to estimate the variance-covariance matrix on assigned fragment counts. Default: 100."/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
176 <param name="num_frag_assign_draws" type="integer" value="50" label="Number of fragment assignment samples per generation" help="For each fragment drawn from a transcript, Cuffdiff will assign it this many times (probabilistically), thus estimating the assignment uncertainty for each transcript. Used to estimate the variance-covariance matrix on assigned fragment counts. Default: 50."/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
177 <param name="min_reps_for_js_test" type="integer" value="3" label="Minimal Replicates for isoform shift testing" help="Cuffdiff won't test genes for differential regulation unless the conditions in question have at least this many replicates. Default: 3." />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
178 </when>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
179 </conditional>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
180 </inputs>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
181 <outputs>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
182 <!-- Optional read group datasets. -->
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
183 <data format="tabular" name="isoforms_read_group" label="${tool.name} on ${on_string}: isoforms read group tracking" from_work_dir="isoforms.read_group_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
184 <filter>(include_read_group_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
185 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
186 <data format="tabular" name="genes_read_group" label="${tool.name} on ${on_string}: genes read group tracking" from_work_dir="genes.read_group_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
187 <filter>(include_read_group_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
188 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
189 <data format="tabular" name="cds_read_group" label="${tool.name} on ${on_string}: CDs read group tracking" from_work_dir="cds.read_group_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
190 <filter>(include_read_group_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
191 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
192 <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" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
193 <filter>(include_read_group_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
194 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
195 <data format="text" name="read_group_info" label="${tool.name} on ${on_string}: read group info" from_work_dir="read_groups.info" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
196 <filter>(include_read_group_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
197 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
198 <data format="text" name="run_info" label="${tool.name} on ${on_string}: run info" from_work_dir="run.info" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
199 <filter>(include_read_group_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
200 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
201 <!-- Standard datasets. -->
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
202 <data format="tabular" name="splicing_diff" label="${tool.name} on ${on_string}: splicing differential expression testing" from_work_dir="splicing.diff" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
203 <data format="tabular" name="promoters_diff" label="${tool.name} on ${on_string}: promoters differential expression testing" from_work_dir="promoters.diff" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
204 <data format="tabular" name="cds_diff" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing" from_work_dir="cds.diff" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
205 <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" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
206 <data format="tabular" name="cds_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM tracking" from_work_dir="cds.fpkm_tracking" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
207 <data format="tabular" name="cds_count_tracking" label="${tool.name} on ${on_string}: CDS count tracking" from_work_dir="cds.count_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
208 <filter>(include_count_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
209 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
210
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
211 <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" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
212 <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" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
213 <data format="tabular" name="tss_groups_count_tracking" label="${tool.name} on ${on_string}: TSS count FPKM tracking" from_work_dir="tss_groups.count_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
214 <filter>(include_count_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
215 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
216
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
217 <data format="tabular" name="genes_exp" label="${tool.name} on ${on_string}: gene differential expression testing" from_work_dir="gene_exp.diff" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
218 <data format="tabular" name="genes_fpkm_tracking" label="${tool.name} on ${on_string}: gene FPKM tracking" from_work_dir="genes.fpkm_tracking" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
219 <data format="tabular" name="genes_count_tracking" label="${tool.name} on ${on_string}: gene count tracking" from_work_dir="genes.count_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
220 <filter>(include_count_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
221 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
222
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
223 <data format="tabular" name="isoforms_exp" label="${tool.name} on ${on_string}: transcript differential expression testing" from_work_dir="isoform_exp.diff" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
224 <data format="tabular" name="isoforms_fpkm_tracking" label="${tool.name} on ${on_string}: transcript FPKM tracking" from_work_dir="isoforms.fpkm_tracking" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
225 <data format="tabular" name="isoforms_count_tracking" label="${tool.name} on ${on_string}: transcript count tracking" from_work_dir="isoforms.count_tracking" >
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
226 <filter>(include_count_files == 'Yes')</filter>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
227 </data>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
228 </outputs>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
229
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
230 <tests>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
231 <test>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
232 <!--
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
233 cuffdiff cuffcompare_out5.gtf cuffdiff_in1.sam cuffdiff_in2.sam
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
234 -->
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
235 <param name="gtf_input" value="cuffcompare_out5.gtf" ftype="gtf" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
236 <conditional name="in_type">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
237 <param name="set_in_type" value="BAM" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
238 <repeat name="conditions">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
239 <param name="name" value="q1" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
240 <repeat name="samples">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
241 <param name="sample" value="cuffdiff_in1.sam" ftype="sam" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
242 </repeat>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
243 </repeat>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
244 <repeat name="conditions">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
245 <param name="name" value="q2" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
246 <repeat name="samples">
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
247 <param name="sample" value="cuffdiff_in2.sam" ftype="sam" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
248 </repeat>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
249 </repeat>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
250 </conditional>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
251 <param name="fdr" value="0.05" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
252 <param name="min_alignment_count" value="0" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
253 <param name="do_bias_correction" value="No" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
254 <param name="do_normalization" value="No" />
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
255 <param name="multiread_correct" value="No"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
256 <param name="sAdditional" value="No"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
257 <output name="splicing_diff" file="cuffdiff_out9.txt"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
258 <output name="promoters_diff" file="cuffdiff_out10.txt"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
259 <output name="cds_diff" file="cuffdiff_out11.txt"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
260 <output name="cds_exp_fpkm_tracking" file="cuffdiff_out4.txt"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
261 <output name="cds_fpkm_tracking" file="cuffdiff_out8.txt"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
262 <output name="tss_groups_exp" file="cuffdiff_out3.txt" lines_diff="200"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
263 <output name="tss_groups_fpkm_tracking" file="cuffdiff_out7.txt"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
264 <output name="genes_exp" file="cuffdiff_out2.txt" lines_diff="200"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
265 <output name="genes_fpkm_tracking" file="cuffdiff_out6.txt" lines_diff="200"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
266 <output name="isoforms_exp" file="cuffdiff_out1.txt" lines_diff="200"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
267 <output name="isoforms_fpkm_tracking" file="cuffdiff_out5.txt" lines_diff="200"/>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
268 </test>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
269 </tests>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
270 <help>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
271 **Cuffdiff Overview**
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
272
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
273 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
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
274
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
275 .. _Cufflinks: http://cufflinks.cbcb.umd.edu/
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
276
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
277 ------
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
278
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
279 **Know what you are doing**
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
280
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
281 .. class:: warningmark
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
282
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
283 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.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
284
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
285 .. __: http://cufflinks.cbcb.umd.edu/manual.html#cuffdiff
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
286
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
287 ------
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
288
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
289 **Input format**
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
290
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
291 Cuffdiff takes Cufflinks or Cuffcompare GTF files as input along with two SAM files containing the fragment alignments for two or more samples.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
292
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
293 ------
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
294
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
295 **Outputs**
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
296
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
297 Cuffdiff produces many output files:
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
298
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
299 1. Transcript FPKM (+count) expression tracking.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
300 2. Gene FPKM (+count) expression tracking; tracks the summed FPKM of transcripts sharing each gene_id
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
301 3. Primary transcript FPKM (+count) tracking; tracks the summed FPKM of transcripts sharing each tss_id
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
302 4. Coding sequence FPKM (+count) tracking; tracks the summed FPKM of transcripts sharing each p_id, independent of tss_id
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
303 5. Transcript differential FPKM.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
304 6. Gene differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each gene_id
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
305 7. Primary transcript differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each tss_id
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
306 8. Coding sequence differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each p_id independent of tss_id
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
307 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.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
308 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.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
309 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.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
310
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
311 -------
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
312
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
313 **Settings**
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
314
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
315 All of the options have a default value. You can change any of them. Most of the options in Cuffdiff have been implemented here.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
316
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
317 ------
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
318
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
319 **Cuffdiff parameter list**
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
320
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
321 This is a list of implemented Cuffdiff options::
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
322
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
323 -m INT Average fragment length (SE reads); default 200
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
324 -s INT Fragment legnth standard deviation (SE reads); default 80
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
325 -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).
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
326 --FDR FLOAT The allowed false discovery rate. The default is 0.05.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
327 --max-mle-iterations INT Sets the number of iterations allowed during maximum likelihood estimation of abundances. Default: 5000
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
328 --library-norm-method Library Normalization method : Geometric (default), classic-fpkm, quartile
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
329 --dispersion-method Dispersion estimation method : Pooled (default), per-condition, blind, poisson
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
330 -u Multi read correction tells Cufflinks to do an initial estimation procedure to more accurately weight reads mapping to multiple locations in the genome.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
331 -b ref.fasta bias correction. Bias detection and correction can significantly improve accuracy of transcript abundance estimates.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
332 --no-effective-length-correction Use standard length correction
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
333 --no-length-correction Disable all length correction.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
334 --library-type ff-firststrand,ff-secondstrand,ff-unstranded,fr-firstrand,fr-secondstrand,fr-unstranded,transfrags
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
335 --mask-file (gff3/gtf) Ignore all alignment within transcripts in this file
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
336 --time-series Treat provided sam files as time series
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
337 --compatible-hits-norm With this option, Cufflinks counts only those fragments compatible with some reference transcript towards the number of mapped fragments used in the FPKM denominator. Using this mode is generally recommended in Cuffdiff to reduce certain types of bias caused by differential amounts of ribosomal reads which can create the impression of falsely differentially expressed genes.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
338 --total-hits-norm With this option, Cufflinks counts all fragments, including those not compatible with any reference transcript, towards the number of mapped fragments used in the FPKM denominator
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
339 --max-bundle-frags Sets the maximum number of fragments a locus may have before being skipped. Skipped loci are listed in skipped.gtf.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
340 --num-frag-count-draws Cuffdiff will make this many draws from each transcript's predicted negative binomial random numbder generator. Each draw is a number of fragments that will be probabilistically assigned to the transcripts in the transcriptome. Used to estimate the variance-covariance matrix on assigned fragment counts.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
341 --num-frag-assign-draws For each fragment drawn from a transcript, Cuffdiff will assign it this many times (probabilistically), thus estimating the assignment uncertainty for each transcript. Used to estimate the variance-covariance matrix on assigned fragment counts.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
342 --min-reps-for-js-test Cuffdiff won't test genes for differential regulation unless the conditions in question have at least this many replicates.
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
343 </help>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
344 <citations>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
345 <citation type="doi">10.1038/nbt.1621</citation>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
346 </citations>
9a9e3e83889b Uploaded
devteam
parents:
diff changeset
347 </tool>