comparison rnaspades.xml @ 0:0d30fed9628b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rnaspades commit 9bfb3d0e41daa3990a997b92438b9e56c2b6edbf
author iuc
date Tue, 13 Dec 2016 11:32:10 -0500
parents
children 9e58ff014088
comparison
equal deleted inserted replaced
-1:000000000000 0:0d30fed9628b
1 <tool id="rnaspades" name="rnaSPAdes" version="3.9.0">
2 <description>assembler for RNA-Seq data</description>
3 <requirements>
4 <requirement type="package" version="3.9.0">spades</requirement>
5 </requirements>
6 <stdio>
7 <exit_code range="1:" />
8 </stdio>
9 <command>
10 <![CDATA[
11 rnaspades.py -o .
12 ## Forces unzipped output, faster
13 --disable-gzip-output
14 $draft $onlyassembler -t \${GALAXY_SLOTS:-4} $iontorrent
15 ## Sequence files, libraries
16 #for $i, $library in enumerate( $libraries, start=1 ):
17 #if str( $library.lib_type ) == "paired_end":
18 #set prefix = 'pe'
19 #elif str( $library.lib_type ) == "mate_paired":
20 #set prefix = 'mp'
21 #elif str( $library.lib_type ) == "nxmate_paired":
22 #set prefix = 'nxmate'
23 #else:
24 #set prefix = 'hqmp'
25 #end if
26 --$prefix$i-$library.orientation
27 #for $file in $library.files
28 #if $file.file_type.type == "separate":
29 --$prefix$i-1 fastq:$file.file_type.fwd_reads
30 --$prefix$i-2 fastq:$file.file_type.rev_reads
31 #elif $file.file_type.type == "interleaved":
32 --$prefix$i-12 fastq:$file.file_type.interleaved_reads
33 #elif $file.file_type.type == "unpaired":
34 --$prefix$i-s fastq:$file.file_type.unpaired_reads
35 #elif $file.file_type.type == "paired-collection":
36 --$prefix$i-1 fastq:$file.file_type.fastq_collection.forward
37 --$prefix$i-2 fastq:$file.file_type.fastq_collection.reverse
38 #end if
39 #end for
40 #end for
41 #for $contig in $trusted_contigs:
42 #if $contig:
43 --trusted-contigs $contig.extension:$contig
44 #end if
45 #end for
46 #for $contig in $untrusted_contigs:
47 #if $contig:
48 --untrusted-contigs $contig.extension:$contig
49 #end if
50 #end for
51 ]]>
52 </command>
53 <inputs>
54 <param argument="--draft-assembly" checked="False" falsevalue="" label="Draft assembly. Faster, but more error-prone" name="draft" truevalue="--draft-assembly" type="boolean" />
55 <param argument="--only-assembler" checked="False" falsevalue="" label="Run only assembly? (without read error correction)" name="onlyassembler" truevalue="--only-assembler" type="boolean" />
56 <param argument="--iontorrent" checked="False" falsevalue="" label="Libraries are IonTorrent reads?" name="iontorrent" truevalue="--iontorrent" type="boolean" />
57 <repeat help="It is not possible to specify only mate-pair libraries. Scaffolds are not produced if neither a paired-end nor a mate-pair library is provided." min="1" name="libraries" title="Libraries">
58 <param label="Library type" name="lib_type" type="select">
59 <option value="paired_end">Paired-end / Single reads</option>
60 <option value="mate_paired">Mate pairs</option>
61 <option value="high_mate_paired">High Quality Mate pairs</option>
62 <option value="nxmate_paired">Lucigen NxMate pairs</option>
63 </param>
64 <param label="Orientation" name="orientation" type="select">
65 <option selected="true" value="fr">-&gt; &lt;- (fr)</option>
66 <option value="rf"><![CDATA[<- -> (rf)]]></option>
67 <option value="ff"><![CDATA[-> -> (ff)]]></option>
68 </param>
69 <repeat min="1" name="files" title="Files">
70 <conditional name="file_type">
71 <param label="Select file format" name="type" type="select">
72 <option value="separate">Separate input files</option>
73 <option value="interleaved">Interleaved files</option>
74 <option value="unpaired">Unpaired/Single reads</option>
75 <option value="paired-collection">Paired List Collection</option>
76 </param>
77 <when value="separate">
78 <param format="fastq" help="FASTQ format" label="Forward reads" name="fwd_reads" type="data" />
79 <param format="fastq" help="FASTQ format" label="Reverse reads" name="rev_reads" type="data" />
80 </when>
81 <when value="interleaved">
82 <param format="fastq" help="FASTQ format" label="Interleaved paired reads" name="interleaved_reads" type="data" />
83 </when>
84 <when value="unpaired">
85 <param format="fastq" help="FASTQ format" label="Unpaired reads" name="unpaired_reads" type="data" />
86 </when>
87 <when value="paired-collection">
88 <param collection_type="paired" format="fastq" help="FASTQ format" label="Paired-end reads collection" name="fastq_collection" optional="false" type="data_collection" />
89 </when>
90 </conditional>
91 </repeat>
92 </repeat>
93 <param optional="true" format="fasta,fastq" label="Trusted contigs" multiple="true" name="trusted_contigs" type="data" />
94 <param optional="true" format="fasta,fastq" label="Untrusted contigs" multiple="true" name="untrusted_contigs" type="data" />
95 </inputs>
96 <outputs>
97 <data format="fasta" label="rnaSPAdes transcripts" name="output_transcripts" from_work_dir="transcripts.fasta" />
98 </outputs>
99 <tests>
100 <test>
101 <param name="lib_type" value="paired_end" />
102 <param name="type" value="separate" />
103 <param name="fwd_reads" value="rnaspades-in1-1.fq" ftype="fastq" />
104 <param name="rev_reads" value="rnaspades-in1-2.fq" ftype="fastq" />
105 <output name="output_transcripts" file="rnaspades-out1.fa" ftype="fasta" compare="re_match" lines_diff="1" />
106 </test>
107 </tests>
108 <help>
109 **What it does**
110
111 SPAdes – St. Petersburg genome assembler – is intended for both standard isolates and single-cell MDA bacteria assemblies. See http://bioinf.spbau.ru/en/spades for more details on SPAdes.
112
113 This wrapper runs SPAdes 3.9.0, collects the output, and throws away all the temporary files.
114
115 **License**
116
117 SPAdes is developed by and copyrighted to Saint-Petersburg Academic University, and is released under GPLv2.
118
119 The original wrapper was written by Lionel Guy, Philip Mabon and was released under the GNU General Public License as published by the Free Software Foundation. The rnaSPAdes extension was developed by the Galaxy team.
120
121 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
122
123 You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
124
125 ** Acknowledgments **
126
127 Anton Korobeynikov greatlty helped understanding how SPAdes work, and integrated handy features into SPAdes.
128
129 Nicola Soranzo fixed various bugs.
130 </help>
131 <citations>
132 <citation type="doi">10.1089/cmb.2012.0021</citation>
133 </citations>
134 </tool>