18
|
1 <tool id="RSEM_estimates_to_matrix" name="RSEM_estimates_to_matrix" version="0.0.1">
|
|
2
|
|
3 <description>Join RSEM estimates from multiple samples into a single matrix</description>
|
|
4 <requirements>
|
|
5 <requirement type="package">trinity</requirement>
|
|
6 </requirements>
|
|
7 <command interpreter="python">
|
|
8
|
|
9 trinityToolWrapper.py util/RSEM_util/merge_RSEM_counts_and_labels_single_table.pl
|
|
10
|
|
11 --labels
|
|
12 #for $entry in $RSEM_samples:
|
|
13 ${entry.column_label}
|
|
14 #end for
|
|
15
|
|
16 --RSEM_counts
|
|
17 #for $entry in $RSEM_samples:
|
|
18 ${entry.file}
|
|
19 #end for
|
|
20
|
|
21 > RSEM.counts.matrix
|
|
22
|
|
23 </command>
|
|
24 <inputs>
|
|
25
|
|
26 <repeat name="RSEM_samples" title="RSEM abundance estimates for samples">
|
|
27 <param name="file" label="Add file" type="data" format="text"/>
|
|
28 <param name="column_label" label="column label" type="text" />
|
|
29 </repeat>
|
|
30
|
|
31 </inputs>
|
|
32 <outputs>
|
|
33 <data format="text" name="counts_matrix" label="${tool.name} on ${on_string}: Counts Matrix" from_work_dir="RSEM.counts.matrix"/>
|
|
34 </outputs>
|
|
35 <tests>
|
|
36
|
|
37
|
|
38 <test>
|
|
39 <param name="target" value="trinity/Trinity.fasta" />
|
|
40 <param name="aligner" value="bowtie" />
|
|
41 <param name="paired_or_single" value="single" />
|
|
42 <param name="library_type" value="None" />
|
|
43 <param name="input" value="trinity/reads.left.fq" />
|
|
44 </test>
|
|
45
|
|
46
|
|
47 </tests>
|
|
48 <help>
|
|
49 .. _Trinity: http://trinityrnaseq.sourceforge.net
|
|
50 </help>
|
|
51 </tool>
|