annotate abundance_estimation_to_matrix.xml @ 9:4c943e196e8f draft

Adding rsem dependencies to other tools.
author trinity_ctat
date Mon, 02 Oct 2017 14:59:21 -0400
parents deed5e162203
children 640b67a604f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
1 <tool id="abundance_estimation_to_matrix" name="abundance_estimation_to_matrix" version="1.0.0">
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
2
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
3 <description>Join RSEM estimates from multiple samples into a single matrix</description>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
4 <requirements>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
5 <requirement type="package" version="2.7">python</requirement>
9
4c943e196e8f Adding rsem dependencies to other tools.
trinity_ctat
parents: 7
diff changeset
6 <requirement type="package" version="1.3.0">rsem</requirement>
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
7 <requirement type="package">trinity</requirement>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
8 </requirements>
6
e673d9dd4928 Changing input format type.
trinity_ctat
parents: 5
diff changeset
9 <command>
e673d9dd4928 Changing input format type.
trinity_ctat
parents: 5
diff changeset
10 <![CDATA[
7
deed5e162203 Adding __tool_directory__ before the wrapper name.
trinity_ctat
parents: 6
diff changeset
11 python $__tool_directory__/abundance_estimation_to_matrix_wrapper.py
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
12 #for $q in $RSEM_samples
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
13 ${q.file} "${q.column_label}"
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
14 #end for
6
e673d9dd4928 Changing input format type.
trinity_ctat
parents: 5
diff changeset
15 ]]>
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
16
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
17 </command>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
18 <inputs>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
19
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
20 <repeat name="RSEM_samples" title="RSEM abundance estimates for samples">
6
e673d9dd4928 Changing input format type.
trinity_ctat
parents: 5
diff changeset
21 <param name="file" label="Add file" type="data" format="txt"/>
2
9ed9b7f33ad9 Changing input type from text to txt.
trinity_ctat
parents: 1
diff changeset
22 <param name="column_label" label="column label" type="text" />
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
23 </repeat>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
24
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
25 </inputs>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
26 <outputs>
6
e673d9dd4928 Changing input format type.
trinity_ctat
parents: 5
diff changeset
27 <data format="txt" name="counts_matrix" label="${tool.name} on ${on_string}: Counts Matrix" from_work_dir="matrix.counts.matrix"/>
e673d9dd4928 Changing input format type.
trinity_ctat
parents: 5
diff changeset
28 <data format="txt" name="tmm_expr_matrix" label="${tool.name} on ${on_string}: TMM EXPR Matrix" from_work_dir="matrix.TMM.EXPR.matrix"/>
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
29 </outputs>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
30 <tests>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
31 <test>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
32 <repeat name="RSEM_samples">
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
33 <param name="file" value="Sp_ds.RSEM.genes.results" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
34 <param name="column_label" value="Sp_ds" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
35 </repeat>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
36 <repeat name="RSEM_samples">
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
37 <param name="file" value="Sp_hs.RSEM.genes.results" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
38 <param name="column_label" value="Sp_hs" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
39 </repeat>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
40
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
41 <output name="counts_matrix" >
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
42 <assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
43 <has_line_matching expression=".+" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
44 <has_line line="&#009;Sp_ds&#009;Sp_hs" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
45 <has_n_columns n="3" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
46 <has_line_matching expression="TRINITY_DN.+" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
47 </assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
48 </output>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
49 <output name="tmm_expr_matrix" >
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
50 <assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
51 <has_line_matching expression=".+" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
52 <has_line line="&#009;Sp_ds&#009;Sp_hs" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
53 <has_n_columns n="3" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
54 <has_line_matching expression="TRINITY_DN.+" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
55 </assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
56 </output>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
57 </test>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
58 <!-- The following test has not been tested to see if it works.
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
59 <test>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
60 <repeat name="RSEM_samples">
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
61 <param name="file" value="Sp_ds.RSEM.isoforms.results" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
62 <param name="column_label" value="Sp_ds" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
63 </repeat>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
64 <repeat name="RSEM_samples">
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
65 <param name="file" value="Sp_hs.RSEM.isoforms.results" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
66 <param name="column_label" value="Sp_hs" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
67 </repeat>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
68
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
69 <output name="counts_matrix" >
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
70 <assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
71 <has_line_matching expression=".+" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
72 </assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
73 </output>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
74 <output name="tmm_expr_matrix" >
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
75 <assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
76 <has_line_matching expression=".+" />
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
77 </assert_contents>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
78 </output>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
79 </test>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
80 -->
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
81 </tests>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
82 <help>
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
83 .. class:: infomark
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
84
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
85 This step will join the RSEM-computed gene or isoform fragment counts into a matrix file, which will be used to run edgeR and identify differentially expressed transcripts in next few steps. Execution of this will generate a counts matrix file with a name 'abundance_estimation_to_matrix: counts_matrix'.
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
86
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
87 If you are following the Trinity RNA-seq protocol please go here_ for a galaxy tool walk through or the Nature Protocols paper_.
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
88
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
89 .. _here: https://github.com/trinityrnaseq/GalaxyTrinityProtocol/wiki
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
90 .. _paper: http://www.nature.com/nprot/journal/v8/n8/full/nprot.2013.084.html
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
91 </help>
4
e1cd59f4cddf Changing input format type.
trinity_ctat
parents: 3
diff changeset
92
e1cd59f4cddf Changing input format type.
trinity_ctat
parents: 3
diff changeset
93 <citations>
e1cd59f4cddf Changing input format type.
trinity_ctat
parents: 3
diff changeset
94 <citation type="doi">10.1038/nbt.1883</citation>
e1cd59f4cddf Changing input format type.
trinity_ctat
parents: 3
diff changeset
95 </citations>
e1cd59f4cddf Changing input format type.
trinity_ctat
parents: 3
diff changeset
96
0
e4876b8c81ec Adding Abundance Estimation to Matrix.
trinity_ctat
parents:
diff changeset
97 </tool>