annotate spades.xml @ 7:9006e5836729 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
author iuc
date Mon, 30 Oct 2017 07:20:13 -0400
parents 65c2d63fcbe6
children 884dc0264950
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
1 <tool id="spades" name="SPAdes" version="3.11.1">
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
2 <description>genome assembler for regular and single-cell projects</description>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
3 <requirements>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
4 <requirement type="package" version="3.11.1">spades</requirement>
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
5 </requirements>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
6 <stdio>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
7 <exit_code range="1:" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
8 </stdio>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
9 <command>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
10 <![CDATA[
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
11 ## A real command looks like: spades.py -k 21,33,55,77,99,127 --careful -1 Y.fastq.gz -2 X.fastq.gz -t 24 -o output
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
12 spades.py -o . --disable-gzip-output $sc $onlyassembler $careful -t \${GALAXY_SLOTS:-16}
4
35cb17bd8bf9 planemo upload commit ba4e93c036a072d6aac883bc1aba55e26256498c
nml
parents: 3
diff changeset
13 #if not $kmer_choice.auto_kmer_choice:
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
14 -k "$kmer_choice.kmers"
3
6dff6ed33cd7 planemo upload commit b8b20b735c418c2f2086a6aa48a7e36e34f80753
nml
parents: 2
diff changeset
15 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
16 #if $cov.state == "auto":
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
17 --cov-cutoff 'auto'
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
18 #elif $cov.state == "value":
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
19 --cov-cutoff '$cov.cutoff'
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
20 #end if
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
21 $iontorrent
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
22 ## Sequence files, libraries
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
23 #for $i, $library in enumerate( $libraries, start=1 )
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
24 #if str( $library.lib_type ) == "paired_end":
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
25 #set prefix = 'pe'
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
26 #elif str( $library.lib_type ) == "mate_paired":
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
27 #set prefix = 'mp'
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
28 #elif str( $library.lib_type ) == "nxmate_paired":
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
29 #set prefix = 'nxmate'
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
30 #else:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
31 #set prefix = 'hqmp'
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
32 #end if
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
33 --$prefix$i-$library.orientation
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
34 #for $file in $library.files
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
35 #if $file.file_type.type == "separate"
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
36 --$prefix$i-1 fastq:$file.file_type.fwd_reads
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
37 --$prefix$i-2 fastq:$file.file_type.rev_reads
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
38 #elif $file.file_type.type == "interleaved"
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
39 --$prefix$i-12 fastq:$file.file_type.interleaved_reads
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
40 #elif $file.file_type.type == "unpaired"
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
41 --$prefix$i-s fastq:$file.file_type.unpaired_reads
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
42 #elif $file.file_type.type == "paired-collection"
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
43 --$prefix$i-1 fastq:$file.file_type.fastq_collection.forward
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
44 --$prefix$i-2 fastq:$file.file_type.fastq_collection.reverse
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
45 #end if
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
46 #end for
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
47 #end for
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
48 #for $read in $pacbio_reads:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
49 #if $read:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
50 --pacbio fastq:$read
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
51 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
52 #end for
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
53 #for $read in $nanopore_reads:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
54 #if $read:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
55 --nanopore fastq:$read
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
56 #end if
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
57 #end for
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
58 #for $read in $sanger_reads:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
59 #if $read:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
60 --sanger $read.extension:$read
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
61 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
62 #end for
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
63 #for $contig in $trusted_contigs:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
64 #if $contig:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
65 --trusted-contigs $contig.extension:$contig
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
66 #end if
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
67 #end for
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
68 #for $contig in $untrusted_contigs:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
69 #if $contig:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
70 --untrusted-contigs $contig.extension:$contig
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
71 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
72 #end for
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
73 && cat contigs.fasta | python '$write_tsv_script' > '$out_contig_stats'
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
74 && cat scaffolds.fasta | python '$write_tsv_script' > '$out_scaffold_stats'
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
75 ]]>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
76 </command>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
77
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
78 <configfiles>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
79 <configfile name="write_tsv_script"><![CDATA[#!/usr/bin/env python
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
80 import sys,re
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
81 search_str = r'^>(NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*).*\$'
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
82 replace_str = r'\1_\2\t\3\t\4'
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
83 cmd = re.compile(search_str)
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
84 sys.stdout.write('#name\tlength\tcoverage\n')
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
85 for i,line in enumerate(sys.stdin):
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
86 if cmd.match(line):
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
87 sys.stdout.write(cmd.sub(replace_str,line))
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
88 ]]>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
89 </configfile>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
90 </configfiles>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
91
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
92 <inputs>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
93 <param argument="--sc" falsevalue="" help="This option is required for MDA (single-cell) data." label="Single-cell?" name="sc" truevalue="--sc" type="boolean">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
94 <option value="false">No</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
95 <option value="true">Yes</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
96 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
97 <param argument="--only-assembler" checked="False" falsevalue="" label="Run only assembly? (without read error correction)" name="onlyassembler" truevalue="--only-assembler" type="boolean" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
98 <param argument="----careful" checked="True" falsevalue="" help="Tries to reduce number of mismatches and short indels. Also runs MismatchCorrector &#8211; a post processing tool, which uses BWA tool (comes with SPAdes)." label="Careful correction?" name="careful" truevalue="--careful" type="boolean" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
99 <conditional name="kmer_choice">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
100 <param checked="False" falsevalue="false" help="k-mer choices can be chosen by SPAdes instead of being entered manually" label="Automatically choose k-mer values" name="auto_kmer_choice" truevalue="true" type="boolean" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
101 <when value="false">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
102 <param help="Comma-separated list of k-mer sizes to be used (all values must be odd, less than 128, listed in ascending order, and smaller than the read length). The default value is 21,33,55." label="K-mers to use, separated by commas" name="kmers" type="text" value="21,33,55" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
103 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
104 <when value="true" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
105 </conditional>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
106 <conditional name="cov">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
107 <param label="Coverage Cutoff" name="state" type="select">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
108 <option value="off">Off</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
109 <option value="value">User Specific</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
110 <option value="auto">Auto</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
111 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
112 <when value="off" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
113 <when value="value">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
114 <param help="coverage cutoff value (a positive float number, or 'auto', or 'off') [default: 'off']" label="Coverage cutoff value" name="cutoff" type="float" value="" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
115 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
116 <when value="auto" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
117 </conditional>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
118 <param checked="False" falsevalue="" label="Libraries are IonTorrent reads?" name="iontorrent" truevalue="--iontorrent" type="boolean" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
119 <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">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
120 <param label="Library type" name="lib_type" type="select">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
121 <option value="paired_end">Paired-end / Single reads</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
122 <option value="mate_paired">Mate pairs</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
123 <option value="high_mate_paired">High Quality Mate pairs</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
124 <option value="nxmate_paired">Lucigen NxMate pairs</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
125 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
126 <param label="Orientation" name="orientation" type="select">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
127 <option selected="true" value="fr"><![CDATA[-> <- (fr)]]></option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
128 <option value="rf"><![CDATA[<- -> (rf)]]></option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
129 <option value="ff"><![CDATA[-> -> (ff)]]></option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
130 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
131 <repeat min="1" name="files" title="Files">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
132 <conditional name="file_type">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
133 <param label="Select file format" name="type" type="select">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
134 <option value="separate">Separate input files</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
135 <option value="interleaved">Interleaved files</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
136 <option value="unpaired">Unpaired/Single reads</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
137 <option value="paired-collection">Paired List Collection</option>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
138 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
139 <when value="separate">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
140 <param format="fastq" help="FASTQ format" label="Forward reads" name="fwd_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
141 <param format="fastq" help="FASTQ format" label="Reverse reads" name="rev_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
142 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
143 <when value="interleaved">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
144 <param format="fastq" help="FASTQ format" label="Interleaved paired reads" name="interleaved_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
145 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
146 <when value="unpaired">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
147 <param format="fastq" help="FASTQ format" label="Unpaired reads" name="unpaired_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
148 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
149 <when value="paired-collection">
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
150 <param collection_type="paired" format="fastq" help="FASTQ format" label="Paired-end reads collection" name="fastq_collection" optional="false" type="data_collection" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
151 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
152 </conditional>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
153 </repeat>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
154 </repeat>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
155 <param optional="true" format="fastq" label="PacBio CLR reads" multiple="true" name="pacbio_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
156 <param optional="true" format="fastq" label="Nanopore reads" multiple="true" name="nanopore_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
157 <param optional="true" format="fasta,fastq" label="Sanger reads" multiple="true" name="sanger_reads" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
158 <param optional="true" format="fasta,fastq" label="Trusted contigs" multiple="true" name="trusted_contigs" type="data" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
159 <param optional="true" format="fasta,fastq" label="Untrusted contigs" multiple="true" name="untrusted_contigs" type="data" />
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
160 <param name="contig_graph_out" type="boolean" checked="False" label="Output final assembly graph (contigs)?" help="Will output the final assembly graph (contigs) in fastg format for visualisation" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
161 <param name="scaffold_graph_out" type="boolean" checked="False" label="Output final assembly graph with scaffolds?" help="Will output the final assembly graph with scaffold information in gfa format for visualisation" />
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
162 </inputs>
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
163
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
164 <outputs>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
165 <data format="tabular" label="${tool.name} on ${on_string}: contig stats" name="out_contig_stats" >
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
166 <actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
167 <action name="column_names" type="metadata" default="name,length,coverage"/>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
168 </actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
169 </data>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
170 <data format="tabular" label="${tool.name} on ${on_string}: scaffold stats" name="out_scaffold_stats" >
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
171 <actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
172 <action name="column_names" type="metadata" default="name,length,coverage"/>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
173 </actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
174 </data>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
175 <data format="fasta" from_work_dir="contigs.fasta" label="${tool.name} on ${on_string}: contigs (fasta)" name="out_contigs" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
176 <data format="fasta" from_work_dir="scaffolds.fasta" label="${tool.name} on ${on_string}: scaffolds (fasta)" name="out_scaffolds" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
177 <data format="txt" from_work_dir="spades.log" label="${tool.name} on ${on_string}: log" name="out_log" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
178 <data format="txt" from_work_dir="assembly_graph.fastg" label="${tool.name} on ${on_string}: assembly graph" name="contig_graph">
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
179 <filter>contig_graph_out</filter>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
180 </data>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
181 <data format="txt" from_work_dir="assembly_graph_with_scaffolds.gfa" label="${tool.name} on ${on_string}: assembly graph with scaffolds" name="scaffold_graph">
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
182 <filter>scaffold_graph_out</filter>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
183 </data>
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
184 </outputs>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
185 <tests>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
186 <test> <!-- Test 1 - basic test with k=33 -->
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
187 <param name="sc" value="false" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
188 <param name="careful" value="false" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
189 <param name="kmers" value="33" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
190 <param name="lib_type" value="paired_end" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
191 <param ftype="fastq" name="fwd_reads" value="ecoli_1K_1.fq" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
192 <param ftype="fastq" name="rev_reads" value="ecoli_1K_2.fq" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
193 <output compare="re_match" file="kmer_33_output.fa" ftype="fasta" lines_diff="1" name="out_contigs" />
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
194 <output name="out_contig_stats">
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
195 <assert_contents>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
196 <has_text_matching expression="NODE_1\t1000"/>
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
197 </assert_contents>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
198 </output>
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
199 </test>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
200 <test> <!-- Test 2 - auto k -->
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
201 <param name="sc" value="false" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
202 <param name="careful" value="false" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
203 <param name="auto_kmer_choice" value="true" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
204 <param name="lib_type" value="paired_end" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
205 <param ftype="fastq" name="fwd_reads" value="ecoli_1K_1.fq" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
206 <param ftype="fastq" name="rev_reads" value="ecoli_1K_2.fq" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
207 <output compare="re_match" file="auto_kmer_output.fa" ftype="fasta" lines_diff="1" name="out_contigs" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
208 </test>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
209 <test> <!-- Test 3 - k=77 -->
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
210 <param name="sc" value="false" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
211 <param name="careful" value="false" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
212 <param name="kmers" value="77" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
213 <param name="lib_type" value="paired_end" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
214 <param ftype="fastq" name="fwd_reads" value="ecoli_1K_1.fq" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
215 <param ftype="fastq" name="rev_reads" value="ecoli_1K_2.fq" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
216 <output compare="re_match" file="kmer_77_output.fa" ftype="fasta" lines_diff="1" name="out_contigs" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
217 </test>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
218 <test> <!-- Test 4 - test for extra graph outputs -->
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
219 <param name="sc" value="false" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
220 <param name="careful" value="false" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
221 <param name="kmers" value="33" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
222 <param name="lib_type" value="paired_end" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
223 <param ftype="fastq" name="fwd_reads" value="ecoli_1K_1.fq" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
224 <param ftype="fastq" name="rev_reads" value="ecoli_1K_2.fq" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
225 <param name="contig_graph_out" value="true" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
226 <param name="scaffold_graph_out" value="true" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
227 <output compare="re_match" file="kmer_33_output.fa" ftype="fasta" lines_diff="1" name="out_contigs" />
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
228 <output name="out_contig_stats">
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
229 <assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
230 <has_text_matching expression="NODE_1\t1000"/>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
231 </assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
232 </output>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
233 <output name="contig_graph">
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
234 <assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
235 <has_text text=">EDGE_"/>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
236 </assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
237 </output>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
238 <output name="scaffold_graph">
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
239 <assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
240 <has_text text="NODE_"/>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
241 </assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
242 </output>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
243 </test>
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
244 </tests>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
245 <help>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
246 <![CDATA[
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
247 **What it does**
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
248
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
249 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.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
250
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
251 This wrapper runs SPAdes, collects the output, and throws away all the temporary files. It also produces a tab file with contig names, length and coverage.
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
252
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
253 **License**
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
254
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
255 SPAdes is developed by and copyrighted to Saint-Petersburg Academic University, and is released under GPLv2.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
256
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
257 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.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
258
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
259 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.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
260
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
261 You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
262
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
263 ** Acknowledgments **
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
264
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
265 Original wrapper developed by Lionel Guy.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
266
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
267 Anton Korobeynikov greatlty helped understanding how SPAdes work, and integrated handy features into SPAdes.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
268
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
269 Nicola Soranzo fixed various bugs.
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
270
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
271 Simon Gladman added fastg optional outputs.
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
272 ]]>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
273 </help>
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
274 <citations>
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
275 <citation type="doi">10.1089/cmb.2012.0021</citation>
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
276 </citations>
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
277 </tool>