annotate megahit_wrapper.xml @ 3:7ec0eb46cc42 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
author iuc
date Mon, 14 May 2018 06:11:17 -0400
parents 331e25f95bf5
children 130301d9c09d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
2 <tool id="megahit" name="MEGAHIT" version="@VERSION@.3">
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
3 <description>for metagenomics assembly</description>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
4 <macros>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
5 <token name="@VERSION@">1.1.2</token>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
6 </macros>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
7 <requirements>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
8 <requirement type="package" version="@VERSION@">megahit</requirement>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
9 </requirements>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
10 <version_command>megahit --version</version_command>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
12 megahit
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
13 #if $input_option.choice == 'paired'
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
14 -1 '${input_option.fastq_input1}'
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
15 -2 '${input_option.fastq_input2}'
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
16 #else if $input_option.choice == 'paired_collection'
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
17
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
18 #if $input_option.batchmode.processmode == 'merge':
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
19 -1 ${ ','.join(['"%s"' % x.forward for x in $input_option.batchmode.pair_input_list]) }
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
20 -2 ${ ','.join(['"%s"' % x.reverse for x in $input_option.batchmode.pair_input_list]) }
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
21 #else:
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
22 -1 '${input_option.batchmode.pair_input.forward}'
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
23 -2 '${input_option.batchmode.pair_input.reverse}'
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
24 #end if
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
25 #else
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
26 -r '${input_option.single_files}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
27 #end if
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
28 ##basic assembly
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
29 --min-count '${basic_section.min_count}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
30 --k-min '${basic_section.k_min}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
31 --k-max '${basic_section.k_max}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
32 --k-step '${basic_section.k_step}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
33 --min-contig-len '${basic_section.min_contig_len}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
34 ##advanced assembly
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
35 ${advanced_section.nomercy}
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
36 --bubble-level '${advanced_section.bubble_level}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
37 --merge-level '${advanced_section.merge_level}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
38 --prune-level '${advanced_section.prune_level}'
1
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
39 --prune-depth '${advanced_section.prune_depth}'
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
40 --low-local-ratio '${advanced_section.low_local_ratio}'
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
41 ${advanced_section.nolocal}
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
42 ${advanced_section.kmin1pass}
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
43 && cat megahit_out/log
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
44 ]]></command>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
45 <inputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
46 <conditional name="input_option">
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
47 <param name="choice" type="select" label="Select your input option">
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
48 <option value="single" selected="true">Single</option>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
49 <option value="paired">Paired-end</option>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
50 <option value="paired_collection">Paired-end collection</option>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
51 </param>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
52 <when value="single">
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
53 <param name="single_files" argument="-r" type="data" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz" multiple="true" label="Single-end file(s)" help="FASTQ/FASTA/FASTQ.GZ files accepted" />
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
54 </when>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
55 <when value="paired">
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
56 <param name="fastq_input1" argument="-1" type="data" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz" multiple="true" label="Mate 1 input reads"/>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
57 <param name="fastq_input2" argument="-2" type="data" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz" multiple="true" label="Mate 2 input reads"/>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
58 </when>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
59 <when value="paired_collection">
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
60 <conditional name="batchmode">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
61 <param name="processmode" type="select" label="Run in batch mode?" help="Selecting individual mode will generate one assembly dataset for each fastq pair-end dataset. Selecting the merge option will produce one assembly dataset for all input fastq pair-end datasets" display="radio">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
62 <option value="individual" selected="true">Run individually</option>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
63 <option value="merge">Merge all fastq pair-end</option>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
64 </param>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
65 <when value="individual">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
66 <param name="pair_input" type="data_collection" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz" collection_type="paired" label="Select a paired collection"/>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
67 </when>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
68 <when value="merge">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
69 <param name="pair_input_list" type="data_collection" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz" collection_type="list:paired" label="Select a paired collection"/>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
70 </when>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
71 </conditional>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
72 </when>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
73 </conditional>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
74 <section name="basic_section" title="Basic assembly options" expanded="True">
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
75 <param name="min_contig_len" argument="--min-contig-len" type="integer" value="200" label="minimum length of contigs to output" />
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
76 <param name="min_count" argument="--min-count" type="integer" value="2" label="minimum multiplicity for filtering (k_min+1)-mers"/>
1
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
77 <param name="k_min" argument="--k-min" type="integer" value="21" label="minimum kmer size" max="255" help="must be odd number"/>
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
78 <param name="k_max" argument="--k-max" type="integer" value="141" label="maximum kmer size" max="255" help="must be odd number"/>
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
79 <param name="k_step" argument="--k-step" type="integer" value="12" label="increment of kmer size of each iteration" max="28" help="must be even number"/>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
80 </section>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
81 <section name="advanced_section" title="Advanced assembly options" expanded="False">
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
82 <param name="nomercy" type="boolean" checked="false" truevalue="--no-mercy" falsevalue="" label="do not add mercy kmers" />
1
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
83 <param name="bubble_level" argument="--bubble-level" type="integer" value="2" min="0" max="2" label="intensity of bubble merging (0-2), 0 to disable" />
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
84 <param name="merge_level" argument="--merge-level" type="text" label="merge complex bubbles of length " value="20,0.95" />
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
85 <param name="prune_level" argument="--prune-level" type="integer" value="2" min="0" max="3" label="strength of low depth pruning" />
9ec09d997274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit a548ae243797050890b7b65cdcced2799f098623
iuc
parents: 0
diff changeset
86 <param name="prune_depth" argument="--prune-depth" type="integer" value="2" min="0" label="remove unitigs with avg kmer depth less than this value" />
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
87 <param name="low_local_ratio" argument="--low-local-ratio" type="float" value="0.2" label="ratio threshold to define low local coverage contigs" />
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
88 <param name="nolocal" type="boolean" checked="false" truevalue="--no-local" falsevalue="" label="disable local assembly" />
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
89 <param name="kmin1pass" type="boolean" checked="false" truevalue="--kmin-1pass" falsevalue="" label="use 1pass mode to build SdBG of k_min" />
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
90 </section>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
91 </inputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
92 <outputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
93 <data format="fasta" name="output" from_work_dir="megahit_out/final.contigs.fa" label="Assembly with ${tool.name} on ${on_string}" />
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
94 </outputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
95 <tests>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
96 <test>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
97 <conditional name="input_option">
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
98 <param name="choice" value="single"/>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
99 <param name="single_files" value="refExample.fa" ftype="fasta"/>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
100 </conditional>
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
101 <output name="output">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
102 <assert_contents>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
103 <has_line_matching expression=">k21_1 flag=3 multi=1.0486 len=576" />
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
104 </assert_contents>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
105 </output>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
106 </test>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
107 <test>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
108 <conditional name="input_option">
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
109 <param name="choice" value="paired"/>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
110 <param name="fastq_input1" value="paired-fq1.fa"/>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
111 <param name="fastq_input2" value="paired-fq2.fa"/>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
112 </conditional>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
113 <output name="output" file="paired_result.fa"/>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
114 </test>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
115 <test>
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
116 <conditional name="input_option">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
117 <param name="choice" value="paired_collection"/>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
118 <conditional name="batchmode">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
119 <param name="processmode" value="merge"/>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
120 <param name="pair_input_list">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
121 <collection type="list:paired">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
122 <element name="Pair1">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
123 <collection type="paired">
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
124 <element name="forward" value="paired-fq1.fa" ftype="fasta"/>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
125 <element name="reverse" value="paired-fq2.fa" ftype="fasta"/>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
126 </collection>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
127 </element>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
128 </collection>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
129 </param>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
130 </conditional>
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
131 </conditional>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
132 <output name="output" file="paired_result.fa"/>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
133 </test>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
134 </tests>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
135 <help><![CDATA[
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
136
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
137 **What it does**
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
138
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
139 MEGAHIT is a single node assembler for large and complex metagenomics NGS reads, such as soil. It makes use of succinct de Bruijn graph (SdBG) to achieve low memory assembly. MEGAHIT can optionally utilize a CUDA-enabled GPU to accelerate its SdBG contstruction. The GPU-accelerated version of MEGAHIT has been tested on NVIDIA GTX680 (4G memory) and Tesla K40c (12G memory) with CUDA 5.5, 6.0 and 6.5.
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
140
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
141 --------
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
142
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
143 **Project links:**
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
144
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
145 https://github.com/voutcn/megahit
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
146
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
147
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
148 ]]></help>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
149 <citations>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
150 <citation type="doi">10.1093/bioinformatics/btv033</citation>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
151 </citations>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
152 </tool>