Mercurial > repos > trinity_ctat > abundance_estimation_to_matrix
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 |
| rev | line source |
|---|---|
| 0 | 1 <tool id="abundance_estimation_to_matrix" name="abundance_estimation_to_matrix" version="1.0.0"> |
| 2 | |
| 3 <description>Join RSEM estimates from multiple samples into a single matrix</description> | |
| 4 <requirements> | |
| 5 <requirement type="package" version="2.7">python</requirement> | |
| 9 | 6 <requirement type="package" version="1.3.0">rsem</requirement> |
| 0 | 7 <requirement type="package">trinity</requirement> |
| 8 </requirements> | |
| 6 | 9 <command> |
| 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 | 12 #for $q in $RSEM_samples |
| 13 ${q.file} "${q.column_label}" | |
| 14 #end for | |
| 6 | 15 ]]> |
| 0 | 16 |
| 17 </command> | |
| 18 <inputs> | |
| 19 | |
| 20 <repeat name="RSEM_samples" title="RSEM abundance estimates for samples"> | |
| 6 | 21 <param name="file" label="Add file" type="data" format="txt"/> |
| 2 | 22 <param name="column_label" label="column label" type="text" /> |
| 0 | 23 </repeat> |
| 24 | |
| 25 </inputs> | |
| 26 <outputs> | |
| 6 | 27 <data format="txt" name="counts_matrix" label="${tool.name} on ${on_string}: Counts Matrix" from_work_dir="matrix.counts.matrix"/> |
| 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 | 29 </outputs> |
| 30 <tests> | |
| 31 <test> | |
| 32 <repeat name="RSEM_samples"> | |
| 33 <param name="file" value="Sp_ds.RSEM.genes.results" /> | |
| 34 <param name="column_label" value="Sp_ds" /> | |
| 35 </repeat> | |
| 36 <repeat name="RSEM_samples"> | |
| 37 <param name="file" value="Sp_hs.RSEM.genes.results" /> | |
| 38 <param name="column_label" value="Sp_hs" /> | |
| 39 </repeat> | |
| 40 | |
| 41 <output name="counts_matrix" > | |
| 42 <assert_contents> | |
| 43 <has_line_matching expression=".+" /> | |
| 44 <has_line line="	Sp_ds	Sp_hs" /> | |
| 45 <has_n_columns n="3" /> | |
| 46 <has_line_matching expression="TRINITY_DN.+" /> | |
| 47 </assert_contents> | |
| 48 </output> | |
| 49 <output name="tmm_expr_matrix" > | |
| 50 <assert_contents> | |
| 51 <has_line_matching expression=".+" /> | |
| 52 <has_line line="	Sp_ds	Sp_hs" /> | |
| 53 <has_n_columns n="3" /> | |
| 54 <has_line_matching expression="TRINITY_DN.+" /> | |
| 55 </assert_contents> | |
| 56 </output> | |
| 57 </test> | |
| 58 <!-- The following test has not been tested to see if it works. | |
| 59 <test> | |
| 60 <repeat name="RSEM_samples"> | |
| 61 <param name="file" value="Sp_ds.RSEM.isoforms.results" /> | |
| 62 <param name="column_label" value="Sp_ds" /> | |
| 63 </repeat> | |
| 64 <repeat name="RSEM_samples"> | |
| 65 <param name="file" value="Sp_hs.RSEM.isoforms.results" /> | |
| 66 <param name="column_label" value="Sp_hs" /> | |
| 67 </repeat> | |
| 68 | |
| 69 <output name="counts_matrix" > | |
| 70 <assert_contents> | |
| 71 <has_line_matching expression=".+" /> | |
| 72 </assert_contents> | |
| 73 </output> | |
| 74 <output name="tmm_expr_matrix" > | |
| 75 <assert_contents> | |
| 76 <has_line_matching expression=".+" /> | |
| 77 </assert_contents> | |
| 78 </output> | |
| 79 </test> | |
| 80 --> | |
| 81 </tests> | |
| 82 <help> | |
| 83 .. class:: infomark | |
| 84 | |
| 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'. | |
| 86 | |
| 87 If you are following the Trinity RNA-seq protocol please go here_ for a galaxy tool walk through or the Nature Protocols paper_. | |
| 88 | |
| 89 .. _here: https://github.com/trinityrnaseq/GalaxyTrinityProtocol/wiki | |
| 90 .. _paper: http://www.nature.com/nprot/journal/v8/n8/full/nprot.2013.084.html | |
| 91 </help> | |
| 4 | 92 |
| 93 <citations> | |
| 94 <citation type="doi">10.1038/nbt.1883</citation> | |
| 95 </citations> | |
| 96 | |
| 0 | 97 </tool> |
