annotate rnaspades.xml @ 0:addd8265834b draft default tip

planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
author nml
date Tue, 09 Aug 2016 10:52:40 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
1 <tool id="rnaspades" name="rnaspades" version="1.0">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
2 <description>pipeline for de novo transcriptome assembly from RNA-Seq</description>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
3 <requirements>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
4 <requirement type="package" version="3.9.0">spades</requirement>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
5 </requirements>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
6 <command interpreter="perl">spades.pl
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
7 $out_contigs
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
8 $out_paths
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
9 $out_log
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
10
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
11 ## if the first fileset is a paired-collection, use the key as the name
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
12 #if $files[0].file_type.type == "paired-collection":
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
13 $files[0].file_type.fastq_collection.name
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
14 #else:
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
15 NODE
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
16 #end if
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
17 ## A real command looks like: spades.py -k 21,33,55,77,99,127 -1 Y.fastq.gz -2 X.fastq.gz -t 24 -o output
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
18 spades.py
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
19 ## Forces unzipped output, faster
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
20 --disable-gzip-output
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
21 --rna
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
22 $onlyassembler
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
23
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
24 -t \${GALAXY_SLOTS:-16}
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
25
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
26 -k "$kmers"
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
27
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
28
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
29 ## Sequence files
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
30 #set num=1
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
31 #if str( $lib_type ) == "paired_end":
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
32 #set prefix = 'pe'
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
33 #end if
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
34 --$prefix$num-$orientation
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
35 #for $file in $files
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
36 #if $file.file_type.type == "separate"
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
37 --$prefix$num-1 fastq:$file.file_type.fwd_reads
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
38 --$prefix$num-2 fastq:$file.file_type.rev_reads
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
39 #elif $file.file_type.type == "interleaved"
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
40 --$prefix$num-12 fastq:$file.file_type.interleaved_reads
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
41 #elif $file.file_type.type == "paired-collection"
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
42 --$prefix$num-1 fastq:$file.file_type.fastq_collection.forward
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
43 --$prefix$num-2 fastq:$file.file_type.fastq_collection.reverse
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
44 #end if
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
45 #end for
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
46
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
47
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
48 </command>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
49 <inputs>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
50 <param name="onlyassembler" type="boolean" truevalue="--only-assembler" falsevalue="" checked="False" label="Run only assembly? (without read error correction)" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
51
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
52 <param name="kmers" type="text" label="K-mers to use, separated by commas" value="55" help="Recommended to use default of k-mer size of 55. In case your RNA-Seq data set contains long Illumina reads (150 bp and longer) you may try to use longer k-mer size (approximately half of the read length)" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
53 <!-- Reads -->
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
54
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
55 <param name="lib_type" type="select" label="Library type">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
56 <option value="paired_end">Paired-end</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
57 </param>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
58 <param name="orientation" type="select" label="Orientation">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
59 <option value="fr" selected="true">-> &lt;- (fr)</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
60 <option value="rf">&lt;- -> (rf)</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
61 <option value="ff">-> -> (ff)</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
62 </param>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
63 <repeat name="files" title="Files" min="1">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
64 <conditional name="file_type">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
65 <param name="type" type="select" label="Select file format">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
66 <option value="separate">Separate input files</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
67 <option value="interleaved">Interleaved files</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
68 <option value="paired-collection">Paired List Collection</option>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
69 </param>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
70 <when value="separate">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
71 <param name="fwd_reads" type="data" format="fastq" label="Forward reads" help="FASTQ format" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
72 <param name="rev_reads" type="data" format="fastq" label="Reverse reads" help="FASTQ format" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
73 </when>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
74 <when value="interleaved">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
75 <param name="interleaved_reads" type="data" format="fastq" label="Interleaved paired reads" help="FASTQ format" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
76 </when>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
77 <when value="paired-collection">
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
78 <param name="fastq_collection" type="data_collection" label="Paired-end reads collection" optional="false" format="fastq" collection_type="paired" help="FASTQ format" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
79 </when>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
80 </conditional>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
81 </repeat>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
82
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
83
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
84 </inputs>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
85 <outputs>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
86 <data name="out_contigs" format="fasta" label="rnaSPAdes fasta" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
87 <data name="out_paths" format="txt" label="rnaSPAdes fastg" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
88 <data name="out_log" format="txt" label="SPAdes log" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
89 </outputs>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
90 <tests>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
91 <test>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
92 <param name="kmers" value="55" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
93 <param name="lib_type" value="paired_end" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
94 <param name="fwd_reads" value="ecoli_1K_1.fq" ftype="fastq" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
95 <param name="rev_reads" value="ecoli_1K_2.fq" ftype="fastq" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
96 <output name="out_contigs" file="transcripts.fasta" ftype="fasta" compare="re_match" lines_diff="1" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
97 <output name="out_paths" file="transcripts.paths" ftype="txt" compare="re_match" lines_diff="1" />
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
98 </test>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
99 </tests>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
100 <help>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
101 **What it does**
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
102
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
103 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.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
104
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
105 This wrapper runs SPAdes 3.9, collects the output, and throws away all the temporary files. It also produces a single Fasta file with a corresponding file assembly_graph.fastg.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
106
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
107 **License**
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
108
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
109 SPAdes is developed by and copyrighted to Saint-Petersburg Academic University, and is released under GPLv2.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
110
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
111 This wrapper is copyrighted by Philip Mabon and is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
112
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
113 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.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
114
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
115 You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
116
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
117 ** Acknowledgments **
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
118
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
119 Original wrapper developed by Lionel Guy.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
120
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
121 Anton Korobeynikov greatlty helped understanding how SPAdes work, and integrated handy features into SPAdes.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
122
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
123 Nicola Soranzo fixed various bugs.
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
124 </help>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
125 <citations>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
126 <citation type="doi">10.1089/cmb.2012.0021</citation>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
127 </citations>
addd8265834b planemo upload commit 18fef9393a17a3442ab7927d76b301bb43ec3de4
nml
parents:
diff changeset
128 </tool>