comparison trinity.xml @ 0:f571ca145e9d draft

Initial commit with concatenate and trinity tools. Still testing.
author trinity_ctat
date Mon, 11 Sep 2017 16:42:11 -0400
parents
children 88ada07f855c
comparison
equal deleted inserted replaced
-1:000000000000 0:f571ca145e9d
1 <tool id="trinityrnaseq" name="Trinity" version="2.4.0">
2
3 <!-- Original written by Jeremy Goecks,
4 later development/maintenance by (in chronological order)
5 bhaas, Ben Fulton, Cicada Dennis
6 -->
7 <description>De novo assembly of RNA-Seq data using Trinity 2.4.0</description>
8 <requirements>
9 <requirement type="package" version="2.7">python</requirement>
10 <requirement type="package">subprocess32</requirement>
11 <requirement type="package">samtools</requirement>
12 <requirement type="package">bzip2</requirement>
13 <requirement type="package" version="2.4.0">trinity</requirement>
14 </requirements>
15 <command>
16 <![CDATA[
17 python $__tool_directory__/trinity_wrapper.py
18 --CPU \${GALAXY_SLOTS:-4}
19 --max_memory \${TRINITY_MAX_MEMORY:-31G}
20 #if str($inputs.paired_or_single) == "paired":
21 --left $inputs.left_input --right $inputs.right_input
22 #if $inputs.left_input.ext == 'fasta':
23 --seqType fa
24 #else:
25 --seqType fq
26 #end if
27 #else:
28 --single $inputs.input
29 #if $inputs.input.ext == 'fasta':
30 --seqType fa
31 #else:
32 --seqType fq
33 #end if
34 #end if
35 ## direct to output
36 --timing trinity_out_dir/Trinity.timing
37 --log $trinity_log
38
39 ]]>
40 <!-- The fullpath, dir, and user options (preceed with dashes) can be
41 used in the trinity_wrapper.py command to create rerunable jobs.
42 We are not supporting rerunable jobs in this release of this tool.
43 fullpath \${TRINITY_RERUN_PREFIX}
44 dir '$adv.rerundir'
45 user $__user_id__
46 mem_per_cpu 31
47 -->
48 </command>
49 <stdio>
50 <exit_code range="1:" level="fatal" description="Program failed" />
51 <exit_code range=":-1" level="fatal" description="DRM killed job" />
52 </stdio>
53 <inputs>
54 <conditional name="inputs">
55 <param name="paired_or_single" type="select" label="Paired or Single-end data?">
56 <option value="paired">Paired</option>
57 <option value="single">Single</option>
58 </param>
59 <when value="paired">
60 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
61 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
62 </when>
63 <when value="single">
64 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/>
65 </when>
66 </conditional>
67 <!-- The following section was used to aid in creating rerunable jobs.
68 We are not supporting rerunable jobs in this release of this tool.
69 <section name="adv" title="Allow Job Rerun" expanded="False">
70 <param name="rerundir" type="text" size="10" label="To make a job rerunnable, you will need to specify a unique tag to label the job, with no spaces or wierd characters." />
71 </section>
72 -->
73 </inputs>
74 <outputs>
75 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" />
76 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/>
77 </outputs>
78 <tests>
79 <!-- Not testing with the following inputs anymore.
80 <param name="left_input" value="FLI1.left.fq" />
81 <param name="right_input" value="FLI1.right.fq" />
82 -->
83 <test>
84 <param name="paired_or_single" value="paired" />
85 <param name="left_input" value="reads.left.simPE.fq" />
86 <param name="right_input" value="reads.right.simPE.fq" />
87 <param name="adv.rerundir" value="planemo_test_1" />
88 <output name="trinity_log" >
89 <assert_contents>
90 <has_line_matching expression=".+" />
91 <has_line line="Trinity exited with status 0" />
92 </assert_contents>
93 </output>
94 <output name="assembled_transcripts" >
95 <assert_contents>
96 <has_line_matching expression=".+" />
97 <has_line_matching expression=">TRINITY.+?len=.+?path=.+" />
98 </assert_contents>
99 </output>
100 </test>
101 <test>
102 <param name="paired_or_single" value="paired" />
103 <param name="left_input" value="Sp.cat_ds_hs.left.fq" />
104 <param name="right_input" value="Sp.cat_ds_hs.right.fq" />
105 <param name="adv.rerundir" value="planemo_test_2" />
106 <!-- Following parameters are not used in this version of this tool. -->
107 <!--
108 <param name="JM" value="50G" />
109 <param name="CPU" value="2" />
110 <param name="library_type" value="None" />
111 <param name="group_pairs_distance" value="500" />
112 <param name="path_reinforcement_distance" value="75" />
113 <param name="use_additional" value="no" />
114 -->
115 <output name="trinity_log" >
116 <assert_contents>
117 <has_line_matching expression=".+" />
118 <has_line line="Trinity exited with status 0" />
119 </assert_contents>
120 </output>
121 <output name="assembled_transcripts" >
122 <assert_contents>
123 <has_line_matching expression=".+" />
124 <has_line_matching expression=">TRINITY.+?len=.+?path=.+" />
125 </assert_contents>
126 </output>
127 </test>
128 </tests>
129 <help>
130 This instance is running Trinity version 2.4.0 and uses the following command:
131
132 Trinity --max_memory 31G --CPU 4 --seqType seq_type --single singlefile or --left left_file --right right_file
133
134 Define TRINITY_MAX_MEMORY and GALAXY_SLOTS to change the default values for --max_memory and --CPU, respectively.
135
136 .. class:: infomark
137
138 Trinity_, developed at the Broad Institute and the Hebrew University of Jerusalem, represents a novel method for the efficient and robust de novo reconstruction of transcriptomes from RNA-seq data. Trinity combines three independent software modules: Inchworm, Chrysalis, and Butterfly, applied sequentially to process large volumes of RNA-seq reads. Trinity partitions the sequence data into many individual de Bruijn graphs, each representing the transcriptional complexity at a given gene or locus, and then processes each graph independently to extract full-length splicing isoforms and to tease apart transcripts derived from paralogous genes. For more information, visit Trinity's wiki page here_.
139
140 .. _Trinity: https://github.com/trinityrnaseq/trinityrnaseq/wiki
141 .. _here: https://github.com/trinityrnaseq/trinityrnaseq/wiki
142 </help>
143
144 <citations>
145 <citation type="doi">10.1038/nbt.1883</citation>
146 </citations>
147
148 </tool>