Mercurial > repos > nml > spades
annotate spades.xml @ 6:65c2d63fcbe6 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
author | iuc |
---|---|
date | Sat, 13 May 2017 15:51:58 -0400 |
parents | 909c315b656d |
children | 9006e5836729 |
rev | line source |
---|---|
5
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
1 <tool id="spades" name="SPAdes" version="3.9.0"> |
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> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
4 <requirement type="package" version="3.9.0">spades</requirement> |
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> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
77 <inputs> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
78 <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
|
79 <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
|
80 <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
|
81 </param> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
82 <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
|
83 <param argument="----careful" checked="True" falsevalue="" help="Tries to reduce number of mismatches and short indels. Also runs MismatchCorrector – 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
|
84 <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
|
85 <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
|
86 <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
|
87 <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
|
88 </when> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
89 <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
|
90 </conditional> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
91 <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
|
92 <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
|
93 <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
|
94 <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
|
95 <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
|
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 <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
|
98 <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
|
99 <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
|
100 </when> |
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="auto" /> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
102 </conditional> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
103 <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
|
104 <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
|
105 <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
|
106 <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
|
107 <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
|
108 <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
|
109 <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
|
110 </param> |
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="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
|
112 <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
|
113 <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
|
114 <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
|
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 <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
|
117 <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
|
118 <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
|
119 <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
|
120 <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
|
121 <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
|
122 <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
|
123 </param> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
124 <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
|
125 <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
|
126 <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
|
127 </when> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
128 <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
|
129 <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
|
130 </when> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
131 <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
|
132 <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
|
133 </when> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
134 <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
|
135 <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
|
136 </when> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
137 </conditional> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
138 </repeat> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
139 </repeat> |
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 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
|
141 <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
|
142 <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
|
143 <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
|
144 <param optional="true" format="fasta,fastq" label="Untrusted contigs" multiple="true" name="untrusted_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
|
145 </inputs> |
6
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
146 <configfiles> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
147 <configfile name="write_tsv_script"><![CDATA[#!/usr/bin/env python |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
148 import sys,re |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
149 search_str = r'^>(NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*).*\$' |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
150 replace_str = r'\1_\2\t\3\t\4' |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
151 cmd = re.compile(search_str) |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
152 sys.stdout.write('#name\tlength\tcoverage\n') |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
153 for i,line in enumerate(sys.stdin): |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
154 if cmd.match(line): |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
155 sys.stdout.write(cmd.sub(replace_str,line)) |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
156 ]]> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
157 </configfile> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
158 </configfiles> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
159 |
5
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
160 <outputs> |
6
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
161 <data format="tabular" label="SPAdes contig stats" 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
|
162 <actions> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
163 <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
|
164 </actions> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
165 </data> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
166 <data format="tabular" label="SPAdes scaffold stats" name="out_scaffold_stats" > |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
167 <actions> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
168 <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
|
169 </actions> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
170 </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
|
171 <data format="fasta" from_work_dir="contigs.fasta" label="SPAdes contigs (fasta)" 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
|
172 <data format="fasta" from_work_dir="scaffolds.fasta" label="SPAdes scaffolds (fasta)" name="out_scaffolds" /> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
173 <data format="txt" from_work_dir="spades.log" label="SPAdes log" name="out_log" /> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
174 </outputs> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
175 <tests> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
176 <test> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
177 <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
|
178 <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
|
179 <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
|
180 <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
|
181 <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
|
182 <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
|
183 <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
|
184 <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
|
185 <assert_contents> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
186 <has_text_matching expression="NODE_1\t1000\t225"/> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
187 </assert_contents> |
65c2d63fcbe6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 6704655441902c44ee5c782578fe4c487cff6340
iuc
parents:
5
diff
changeset
|
188 </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
|
189 </test> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
190 <test> |
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="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
|
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="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
|
198 </test> |
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> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
200 <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
|
201 <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
|
202 <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
|
203 <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
|
204 <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
|
205 <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
|
206 <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
|
207 </test> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
208 </tests> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
209 <help> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
210 <![CDATA[ |
0
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
211 **What it does** |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
212 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
213 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
|
214 |
5
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
215 This wrapper runs SPAdes 3.9, 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
|
216 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
217 **License** |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
218 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
219 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
|
220 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
221 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
|
222 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
223 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
|
224 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
225 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
|
226 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
227 ** Acknowledgments ** |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
228 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
229 Original wrapper developed by Lionel Guy. |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
230 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
231 Anton Korobeynikov greatlty helped understanding how SPAdes work, and integrated handy features into SPAdes. |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
232 |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
233 Nicola Soranzo fixed various bugs. |
5
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
234 ]]> |
909c315b656d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit 9d484642914b581ce35f254466b849d3c4c2c06c-dirty
iuc
parents:
4
diff
changeset
|
235 </help> |
0
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
236 <citations> |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
237 <citation type="doi">10.1089/cmb.2012.0021</citation> |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
238 </citations> |
009c00203195
planemo upload commit 3fd243b12e91a3fe71083376f40e85647c8b892b-dirty
nml
parents:
diff
changeset
|
239 </tool> |