Mercurial > repos > geert-vandeweyer > cuffdiff
comparison cuffdiff_wrapper.xml @ 2:17b31ea92891 draft default tip
Enabled count-based output
author | geert-vandeweyer |
---|---|
date | Mon, 04 Aug 2014 11:41:19 -0400 |
parents | 5ca7f160085e |
children |
comparison
equal
deleted
inserted
replaced
1:82c3d17ecfea | 2:17b31ea92891 |
---|---|
35 ## Built-in genome. | 35 ## Built-in genome. |
36 ${__get_data_table_entry__('fasta_indexes', 'value', $gtf_input.dbkey, 'path')} | 36 ${__get_data_table_entry__('fasta_indexes', 'value', $gtf_input.dbkey, 'path')} |
37 #end if | 37 #end if |
38 #end if | 38 #end if |
39 | 39 |
40 #set labels = '\'' + '\',\''.join( [ str( $condition.name ) for $condition in $conditions ] ) + '\'' | 40 #set labels = '\'' + '\',\''.join( [ str( $condition.name ) for $condition in $in_type.conditions ] ) + '\'' |
41 --labels $labels | 41 --labels $labels |
42 | 42 |
43 $length_correction | 43 $length_correction |
44 | 44 |
45 ## Set advanced parameters for cufflinks | 45 ## Set advanced parameters for cufflinks |
60 --num-frag-assign-draws=$advanced_settings.num_frag_assign_draws | 60 --num-frag-assign-draws=$advanced_settings.num_frag_assign_draws |
61 --min-reps-for-js-test=$advanced_settings.min_reps_for_js_test | 61 --min-reps-for-js-test=$advanced_settings.min_reps_for_js_test |
62 #end if | 62 #end if |
63 ## Inputs. | 63 ## Inputs. |
64 $gtf_input | 64 $gtf_input |
65 #for $condition in $conditions: | 65 |
66 #for $condition in $in_type.conditions: | |
66 #set samples = ','.join( [ str( $sample.sample ) for $sample in $condition.samples ] ) | 67 #set samples = ','.join( [ str( $sample.sample ) for $sample in $condition.samples ] ) |
67 $samples | 68 $samples |
68 #end for | 69 #end for |
69 </command> | 70 </command> |
70 <inputs> | 71 <inputs> |
71 <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."/> | 72 <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."/> |
72 | 73 <!-- DEFAULT : use BAM/SAM files --> |
73 <repeat name="conditions" title="Condition" min="2"> | 74 <conditional name="in_type"> |
74 <param name="name" title="Condition name" type="text" label="Name"/> | 75 <param name="set_in_type" type="select" label="Input data type" help="CuffDiff supports either CXB (from cuffquant) or SAM/BAM input files. Mixing is not supported. Default: SAM/BAM"> |
75 <repeat name="samples" title="Replicate" min="1"> | 76 <option value="BAM">SAM/BAM</option> |
76 <param name="sample" label="Add replicate" type="data" format="sam,bam"/> | 77 <option value="CXB">Cuffquant .cxb</option> |
77 </repeat> | 78 </param> |
78 </repeat> | 79 <when value="BAM"> |
79 | 80 <repeat name="conditions" title="Condition" min="2"> |
81 <param name="name" title="Condition name" type="text" label="Name"/> | |
82 <repeat name="samples" title="Replicate" min="1"> | |
83 <param name="sample" label="Add replicate" type="data" format="sam,bam"/> | |
84 </repeat> | |
85 </repeat> | |
86 </when> | |
87 <when value="CXB"> | |
88 <repeat name="conditions" title="Condition" min="2"> | |
89 <param name="name" title="Condition name" type="text" label="Name"/> | |
90 <repeat name="samples" title="Replicate" min="1"> | |
91 <param name="sample" label="Add replicate" type="data" format="cxb"/> | |
92 </repeat> | |
93 </repeat> | |
94 </when> | |
95 </conditional> | |
80 <param name="library_norm_method" type="select" label="Library normalization method"> | 96 <param name="library_norm_method" type="select" label="Library normalization method"> |
81 <option value="geometric" selected="True">geometric</option> | 97 <option value="geometric" selected="True">geometric</option> |
82 <option value="classic-fpkm">classic-fpkm</option> | 98 <option value="classic-fpkm">classic-fpkm</option> |
83 <option value="quartile">quartile</option> | 99 <option value="quartile">quartile</option> |
84 </param> | 100 </param> |
125 | 141 |
126 <param name="include_read_group_files" type="select" label="Include Read Group Datasets" help="Read group datasets provide information on replicates."> | 142 <param name="include_read_group_files" type="select" label="Include Read Group Datasets" help="Read group datasets provide information on replicates."> |
127 <option value="No" selected="true">No</option> | 143 <option value="No" selected="true">No</option> |
128 <option value="Yes">Yes</option> | 144 <option value="Yes">Yes</option> |
129 </param> | 145 </param> |
130 | 146 |
147 <param name="include_count_files" type="select" label="Include Count Based output files" 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."> | |
148 <option value="No" selected="true">No</option> | |
149 <option value="Yes">Yes</option> | |
150 </param> | |
151 | |
131 <param name="length_correction" type="select" label="apply length correction" help="mode of length normalization to transcript fpkm."> | 152 <param name="length_correction" type="select" label="apply length correction" help="mode of length normalization to transcript fpkm."> |
132 <option value="" selected="true">cufflinks effective length correction</option> | 153 <option value="" selected="true">cufflinks effective length correction</option> |
133 <option value="--no-effective-length-correction">standard length correction</option> | 154 <option value="--no-effective-length-correction">standard length correction</option> |
134 <option value="--no-length-correction">no length correction at all (use raw counts)</option> | 155 <option value="--no-length-correction">no length correction at all (use raw counts)</option> |
135 </param> | 156 </param> |
195 <filter>(include_read_group_files == 'Yes')</filter> | 216 <filter>(include_read_group_files == 'Yes')</filter> |
196 </data> | 217 </data> |
197 <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" > | 218 <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" > |
198 <filter>(include_read_group_files == 'Yes')</filter> | 219 <filter>(include_read_group_files == 'Yes')</filter> |
199 </data> | 220 </data> |
221 <data format="text" name="read_group_info" label="${tool.name} on ${on_string}: read group info" from_work_dir="read_groups.info" > | |
222 <filter>(include_read_group_files == 'Yes')</filter> | |
223 </data> | |
200 | 224 |
201 <!-- Standard datasets. --> | 225 <!-- Standard datasets. --> |
202 <data format="tabular" name="splicing_diff" label="${tool.name} on ${on_string}: splicing differential expression testing" from_work_dir="splicing.diff" /> | 226 <data format="tabular" name="splicing_diff" label="${tool.name} on ${on_string}: splicing differential expression testing" from_work_dir="splicing.diff" /> |
203 <data format="tabular" name="promoters_diff" label="${tool.name} on ${on_string}: promoters differential expression testing" from_work_dir="promoters.diff" /> | 227 <data format="tabular" name="promoters_diff" label="${tool.name} on ${on_string}: promoters differential expression testing" from_work_dir="promoters.diff" /> |
204 <data format="tabular" name="cds_diff" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing" from_work_dir="cds.diff" /> | 228 <data format="tabular" name="cds_diff" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing" from_work_dir="cds.diff" /> |
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" /> | 229 <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" /> |
206 <data format="tabular" name="cds_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM tracking" from_work_dir="cds.fpkm_tracking" /> | 230 <data format="tabular" name="cds_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM tracking" from_work_dir="cds.fpkm_tracking" /> |
231 <data format="tabular" name="cds_count_tracking" label="${tool.name} on ${on_string}: CDS count tracking" from_work_dir="cds.count_tracking" > | |
232 <filter>(include_count_files == 'Yes')</filter> | |
233 </data> | |
234 | |
207 <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" /> | 235 <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" /> |
208 <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" /> | 236 <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" /> |
237 <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" > | |
238 <filter>(include_count_files == 'Yes')</filter> | |
239 </data> | |
240 | |
209 <data format="tabular" name="genes_exp" label="${tool.name} on ${on_string}: gene differential expression testing" from_work_dir="gene_exp.diff" /> | 241 <data format="tabular" name="genes_exp" label="${tool.name} on ${on_string}: gene differential expression testing" from_work_dir="gene_exp.diff" /> |
210 <data format="tabular" name="genes_fpkm_tracking" label="${tool.name} on ${on_string}: gene FPKM tracking" from_work_dir="genes.fpkm_tracking" /> | 242 <data format="tabular" name="genes_fpkm_tracking" label="${tool.name} on ${on_string}: gene FPKM tracking" from_work_dir="genes.fpkm_tracking" /> |
243 <data format="tabular" name="genes_count_tracking" label="${tool.name} on ${on_string}: gene count tracking" from_work_dir="genes.count_tracking" > | |
244 <filter>(include_count_files == 'Yes')</filter> | |
245 </data> | |
246 | |
211 <data format="tabular" name="isoforms_exp" label="${tool.name} on ${on_string}: transcript differential expression testing" from_work_dir="isoform_exp.diff" /> | 247 <data format="tabular" name="isoforms_exp" label="${tool.name} on ${on_string}: transcript differential expression testing" from_work_dir="isoform_exp.diff" /> |
212 <data format="tabular" name="isoforms_fpkm_tracking" label="${tool.name} on ${on_string}: transcript FPKM tracking" from_work_dir="isoforms.fpkm_tracking" /> | 248 <data format="tabular" name="isoforms_fpkm_tracking" label="${tool.name} on ${on_string}: transcript FPKM tracking" from_work_dir="isoforms.fpkm_tracking" /> |
249 <data format="tabular" name="isoforms_count_tracking" label="${tool.name} on ${on_string}: transcript count tracking" from_work_dir="isoforms.count_tracking" > | |
250 <filter>(include_count_files == 'Yes')</filter> | |
251 </data> | |
252 | |
253 | |
213 </outputs> | 254 </outputs> |
214 | 255 |
215 <tests> | 256 <tests> |
216 <test> | 257 <test> |
217 <!-- | 258 <!-- |
272 | 313 |
273 **Outputs** | 314 **Outputs** |
274 | 315 |
275 Cuffdiff produces many output files: | 316 Cuffdiff produces many output files: |
276 | 317 |
277 1. Transcript FPKM expression tracking. | 318 1. Transcript FPKM (+count) expression tracking. |
278 2. Gene FPKM expression tracking; tracks the summed FPKM of transcripts sharing each gene_id | 319 2. Gene FPKM (+count) expression tracking; tracks the summed FPKM of transcripts sharing each gene_id |
279 3. Primary transcript FPKM tracking; tracks the summed FPKM of transcripts sharing each tss_id | 320 3. Primary transcript FPKM (+count) tracking; tracks the summed FPKM of transcripts sharing each tss_id |
280 4. Coding sequence FPKM tracking; tracks the summed FPKM of transcripts sharing each p_id, independent of tss_id | 321 4. Coding sequence FPKM (+count) tracking; tracks the summed FPKM of transcripts sharing each p_id, independent of tss_id |
281 5. Transcript differential FPKM. | 322 5. Transcript differential FPKM. |
282 6. Gene differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each gene_id | 323 6. Gene differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each gene_id |
283 7. Primary transcript differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each tss_id | 324 7. Primary transcript differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each tss_id |
284 8. Coding sequence differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each p_id independent of tss_id | 325 8. Coding sequence differential FPKM. Tests difference sin the summed FPKM of transcripts sharing each p_id independent of tss_id |
285 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. | 326 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. |