comparison analyze_diff_expr.xml @ 7:d61afd68a493 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trinity commit 9dcdb5348f7439d0ce1e44ed23ad226beb4ae6d4
author iuc
date Thu, 14 Jun 2018 03:11:32 -0400
parents 63030102d46e
children dc0f01791c9b
comparison
equal deleted inserted replaced
6:c5f02e00d596 7:d61afd68a493
1 <tool id="trinity_analyze_diff_expr" name="Extract and cluster differentially expressed transcripts" version="@WRAPPER_VERSION@.2"> 1 <tool id="trinity_analyze_diff_expr" name="Extract and cluster differentially expressed transcripts" version="@WRAPPER_VERSION@">
2 <description>from a Trinity assembly</description> 2 <description>from a Trinity assembly</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"> 6 <expand macro="requirements">
7 <requirement type="package" version="2.6.0">bioconductor-qvalue</requirement> 7 <requirement type="package" version="2.10.0">bioconductor-qvalue</requirement>
8 <requirement type="package" version="1.26.0">bioconductor-goseq</requirement> 8 <requirement type="package" version="1.30.0">bioconductor-goseq</requirement>
9 <requirement type="package" version="2.0.6">r-cluster</requirement> 9 <requirement type="package" version="2.0.6">r-cluster</requirement>
10 <requirement type="package" version="1.1.24">r-fastcluster</requirement>
10 </expand> 11 </expand>
11 <command detect_errors="aggressive"><![CDATA[ 12 <command detect_errors="aggressive"><![CDATA[
12 ## DE results input files must be in the working directory and have suffix .DE_results 13 ## DE results input files must be in the working directory and have suffix .DE_results
13 #import re 14 #import re
14 #for $input in $DE_results 15 #for $input in $DE_results
15 #if re.search('.DE_results$',input.element_identifier) 16 #if re.search('.DE_results$',input.element_identifier)
16 ## General case, where DE results files have been previously generated by run_de_analysis.pl 17 ## General case, where DE results files have been previously generated by run_de_analysis.pl
17 ln -s "${input}" "${re.sub('[^\w\-_.]', '_', input.element_identifier)}" 18 ln -s '${input}' "${re.sub('[^\w\-_.]', '_', input.element_identifier)}"
18 #else 19 #else
19 ## Particular case, where DE results files have non-standard names 20 ## Particular case, where DE results files have non-standard names
20 ln -s "${input}" "${re.sub('[^\w\-_.]', '_', input.element_identifier)}.DE_results" 21 ln -s '${input}' "${re.sub('[^\w\-_.]', '_', input.element_identifier)}.DE_results"
21 #end if 22 #end if
22 && 23 &&
23 #end for 24 #end for
24 #if str( $additional_params.GO_enrichment.examine_GO_enrichment ) == "yes": 25 #if str( $additional_params.GO_enrichment.examine_GO_enrichment ) == "yes":
25 ## DE matrix input files must be in the working directory and have the same name as DE results input files, but replacing suffix .DE_results by suffix .count_matrix 26 ## DE matrix input files must be in the working directory and have the same name as DE results input files, but replacing suffix .DE_results by suffix .count_matrix
26 #for $DE_matrix in $additional_params.GO_enrichment.DE_matrices 27 #for $DE_matrix in $additional_params.GO_enrichment.DE_matrices
27 ## Handle general case, where DE results files and DE matrix files have been previously generated by run_de_analysis.pl 28 ## Handle general case, where DE results files and DE matrix files have been previously generated by run_de_analysis.pl
28 ln -s "${DE_matrix}" "${re.sub('[^\w\-_.]', '_', DE_matrix.element_identifier)}" 29 ln -s '${DE_matrix}' "${re.sub('[^\w\-_.]', '_', DE_matrix.element_identifier)}"
29 && 30 &&
30 #end for 31 #end for
31 #end if 32 #end if
32 33
33 analyze_diff_expr.pl 34 analyze_diff_expr.pl
34 --matrix "${matrix}" 35 --matrix '${matrix}'
35 --samples "${samples}" 36 --samples '${samples}'
36 -P ${p} 37 -P ${p}
37 -C ${c} 38 -C ${c}
38 39
39 #if str( $additional_params.max_DE_genes_per_comparison ): 40 #if str( $additional_params.max_DE_genes_per_comparison ):
40 --max_DE_genes_per_comparison ${additional_params.max_DE_genes_per_comparison} 41 --max_DE_genes_per_comparison ${additional_params.max_DE_genes_per_comparison}
46 --max_genes_clust ${additional_params.max_genes_clust} 47 --max_genes_clust ${additional_params.max_genes_clust}
47 #end if 48 #end if
48 49
49 #if str( $additional_params.GO_enrichment.examine_GO_enrichment ) == "yes": 50 #if str( $additional_params.GO_enrichment.examine_GO_enrichment ) == "yes":
50 --examine_GO_enrichment 51 --examine_GO_enrichment
51 --GO_annots "${$additional_params.GO_enrichment.GO_annots}" 52 --GO_annots '${$additional_params.GO_enrichment.GO_annots}'
52 --gene_lengths "${$additional_params.GO_enrichment.gene_lengths}" 53 --gene_lengths '${$additional_params.GO_enrichment.gene_lengths}'
53 #end if 54 #end if
54 55
55 --output results 56 --output results
56 ]]></command> 57 ]]></command>
57 <inputs> 58 <inputs>
160 <test> 161 <test>
161 <param name="matrix" value="count/qcheck/matrix.counts.matrix"/> 162 <param name="matrix" value="count/qcheck/matrix.counts.matrix"/>
162 <param name="samples" value="count/samples.txt"/> 163 <param name="samples" value="count/samples.txt"/>
163 <param name="DE_results"> 164 <param name="DE_results">
164 <collection type="list"> 165 <collection type="list">
165 <element name="input.matrix.wt_37_vs_wt_GSNO.DESeq2.DE_results" value="count/exp_diff/input.matrix.wt_37_vs_wt_GSNO.DESeq2.DE_results" ftype="tabular" />
166 <element name="input.matrix.wt_37_vs_wt_ph8.DESeq2.DE_results" value="count/exp_diff/input.matrix.wt_37_vs_wt_ph8.DESeq2.DE_results" ftype="tabular" />
167 <element name="input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.DE_results" value="count/exp_diff/input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.DE_results" ftype="tabular" /> 166 <element name="input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.DE_results" value="count/exp_diff/input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.DE_results" ftype="tabular" />
168 </collection> 167 </collection>
169 </param> 168 </param>
170 <section name="additional_params"> 169 <section name="additional_params">
171 <conditional name="GO_enrichment"> 170 <conditional name="GO_enrichment">
172 <param name="examine_GO_enrichment" value="yes"/> 171 <param name="examine_GO_enrichment" value="yes"/>
173 <param name="DE_matrices"> 172 <param name="DE_matrices">
174 <collection type="list"> 173 <collection type="list">
175 <element name="input.matrix.wt_37_vs_wt_GSNO.DESeq2.count_matrix" value="count/exp_diff/input.matrix.wt_37_vs_wt_GSNO.DESeq2.count_matrix" ftype="tabular" />
176 <element name="input.matrix.wt_37_vs_wt_ph8.DESeq2.count_matrix" value="count/exp_diff/input.matrix.wt_37_vs_wt_ph8.DESeq2.count_matrix" ftype="tabular" />
177 <element name="input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.count_matrix" value="count/exp_diff/input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.count_matrix" ftype="tabular" /> 174 <element name="input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.count_matrix" value="count/exp_diff/input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.count_matrix" ftype="tabular" />
178 </collection> 175 </collection>
179 </param> 176 </param>
180 <param name="GO_annots" value="count/trinotate/go_annotations.txt"/> 177 <param name="GO_annots" value="count/trinotate/go_annotations.txt"/>
181 <param name="gene_lengths" value="count/trinotate/genes.lengths.txt"/> 178 <param name="gene_lengths" value="count/trinotate/genes.lengths.txt"/>
185 <has_text text="--examine_GO_enrichment" /> 182 <has_text text="--examine_GO_enrichment" />
186 <has_text text="--GO_annots" /> 183 <has_text text="--GO_annots" />
187 <has_text text="--gene_lengths" /> 184 <has_text text="--gene_lengths" />
188 </assert_command> 185 </assert_command>
189 <output_collection name="GOseq_enrichment"> 186 <output_collection name="GOseq_enrichment">
190 <element name="input.matrix.wt_37_vs_wt_ph8.DESeq2.DE_results.P0.001_C2.0.wt_37-UP.subset.GOseq.enriched" compare="sim_size" file="count/analyze_diff_expr/input.matrix.wt_37_vs_wt_ph8.DESeq2.DE_results.P0.001_C2.wt_37-UP.subset.GOseq.enriched"/> 187 <element name="input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.DE_results.P0.001_C2.0.DE.subset.GOseq.enriched" compare="sim_size" file="count/analyze_diff_expr/input.matrix.wt_GSNO_vs_wt_ph8.DESeq2.DE_results.P0.001_C2.0.DE.subset.GOseq.enriched"/>
191 </output_collection> 188 </output_collection>
192 </test> 189 </test>
193 </tests> 190 </tests>
194 <help> 191 <help>
195 <![CDATA[ 192 <![CDATA[