annotate spades.xml @ 8:884dc0264950 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 681797a4ef698cba492fd19c57c10f7c807e885e
author iuc
date Fri, 21 Sep 2018 17:42:09 -0400
parents 9006e5836729
children 24fffa4fee40
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
884dc0264950 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 681797a4ef698cba492fd19c57c10f7c807e885e
iuc
parents: 7
diff changeset
1 <tool id="spades" name="SPAdes" version="3.11.1+galaxy1">
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:" />
8
884dc0264950 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 681797a4ef698cba492fd19c57c10f7c807e885e
iuc
parents: 7
diff changeset
8 <regex match="The reads contain too many k-mers to fit into available memory"
884dc0264950 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 681797a4ef698cba492fd19c57c10f7c807e885e
iuc
parents: 7
diff changeset
9 source="stdout"
884dc0264950 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 681797a4ef698cba492fd19c57c10f7c807e885e
iuc
parents: 7
diff changeset
10 level="fatal_oom"
884dc0264950 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 681797a4ef698cba492fd19c57c10f7c807e885e
iuc
parents: 7
diff changeset
11 description="Out of memory error occurred" />
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 </stdio>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
13 <command>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
14 <![CDATA[
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
15 ## 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
16 spades.py -o . --disable-gzip-output $sc $onlyassembler $careful -t \${GALAXY_SLOTS:-16}
4
35cb17bd8bf9 planemo upload commit ba4e93c036a072d6aac883bc1aba55e26256498c
nml
parents: 3
diff changeset
17 #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
18 -k "$kmer_choice.kmers"
3
6dff6ed33cd7 planemo upload commit b8b20b735c418c2f2086a6aa48a7e36e34f80753
nml
parents: 2
diff changeset
19 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
20 #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
21 --cov-cutoff 'auto'
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
22 #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
23 --cov-cutoff '$cov.cutoff'
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
24 #end if
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
25 $iontorrent
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
26 ## 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
27 #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
28 #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
29 #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
30 #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
31 #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
32 #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
33 #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
34 #else:
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
35 #set prefix = 'hqmp'
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
36 #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
37 --$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
38 #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
39 #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
40 --$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
41 --$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
42 #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
43 --$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
44 #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
45 --$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
46 #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
47 --$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
48 --$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
49 #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
50 #end for
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
51 #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
52 #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
53 #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
54 --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
55 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
56 #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
57 #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
58 #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
59 --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
60 #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
61 #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
62 #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
63 #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
64 --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
65 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
66 #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
67 #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
68 #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
69 --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
70 #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
71 #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
72 #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
73 #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
74 --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
75 #end if
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
76 #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
77 && 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
78 && 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
79 ]]>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
80 </command>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
81
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
82 <configfiles>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
83 <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
84 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
85 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
86 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
87 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
88 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
89 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
90 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
91 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
92 ]]>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
93 </configfile>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
94 </configfiles>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
95
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
96 <inputs>
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="--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
98 <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
99 <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
100 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
101 <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
102 <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
103 <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
104 <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
105 <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
106 <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
107 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
108 <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
109 </conditional>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
110 <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
111 <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
112 <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
113 <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
114 <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
115 </param>
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="off" />
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
117 <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
118 <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
119 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
120 <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
121 </conditional>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
122 <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
123 <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
124 <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
125 <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
126 <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
127 <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
128 <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
129 </param>
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 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
131 <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
132 <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
133 <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
134 </param>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
135 <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
136 <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
137 <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
138 <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
139 <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
140 <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
141 <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
142 </param>
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="separate">
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="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
145 <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
146 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
147 <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
148 <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
149 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
150 <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
151 <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
152 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
153 <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
154 <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
155 </when>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
156 </conditional>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
157 </repeat>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
158 </repeat>
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="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
160 <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
161 <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
162 <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
163 <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
164 <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
165 <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
166 </inputs>
6
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
167
5
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
168 <outputs>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
169 <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
170 <actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
171 <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
172 </actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
173 </data>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
174 <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
175 <actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
176 <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
177 </actions>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
178 </data>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
179 <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
180 <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
181 <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
182 <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
183 <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
184 </data>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
185 <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
186 <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
187 </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
188 </outputs>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
189 <tests>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
190 <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
191 <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
192 <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
193 <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
194 <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
195 <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
196 <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
197 <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
198 <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
199 <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
200 <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
201 </assert_contents>
65c2d63fcbe6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents: 5
diff changeset
202 </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
203 </test>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
204 <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
205 <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
206 <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
207 <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
208 <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
209 <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
210 <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
211 <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
212 </test>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
213 <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
214 <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
215 <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
216 <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
217 <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
218 <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
219 <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
220 <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
221 </test>
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
222 <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
223 <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
224 <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
225 <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
226 <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
227 <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
228 <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
229 <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
230 <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
231 <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
232 <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
233 <assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
234 <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
235 </assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
236 </output>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
237 <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
238 <assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
239 <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
240 </assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
241 </output>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
242 <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
243 <assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
244 <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
245 </assert_contents>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
246 </output>
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
247 </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
248 </tests>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
249 <help>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
250 <![CDATA[
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
251 **What it does**
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
252
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
253 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
254
7
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
255 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
256
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
257 **License**
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
258
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
259 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
260
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
261 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
262
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
263 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
264
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
265 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
266
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
267 ** Acknowledgments **
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
268
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
269 Original wrapper developed by Lionel Guy.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
270
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
271 Anton Korobeynikov greatlty helped understanding how SPAdes work, and integrated handy features into SPAdes.
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
272
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
273 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
274
9006e5836729 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit cde78013f2df8cc06372d73f6332f7ab1f120a25
iuc
parents: 6
diff changeset
275 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
276 ]]>
909c315b656d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents: 4
diff changeset
277 </help>
0
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
278 <citations>
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
279 <citation type="doi">10.1089/cmb.2012.0021</citation>
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
280 </citations>
009c00203195 planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff changeset
281 </tool>