annotate megahit_wrapper.xml @ 8:e1475fcac99c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
author iuc
date Thu, 13 Feb 2025 19:36:06 +0000
parents d27f770bf397
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
1 <tool id="megahit" name="MEGAHIT" version="@TOOL_VERSION@+galaxy2">
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
2 <description>for metagenomics assembly</description>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
3 <macros>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
4 <token name="@TOOL_VERSION@">1.2.9</token>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
5 </macros>
6
00f89dc38847 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 5
diff changeset
6 <xrefs>
00f89dc38847 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 5
diff changeset
7 <xref type="bio.tools">megahit</xref>
00f89dc38847 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 5
diff changeset
8 </xrefs>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
9 <requirements>
7
d27f770bf397 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit f311029d3c60675994e8f1a341bf2968a2ed9c10"
iuc
parents: 6
diff changeset
10 <requirement type="package" version="@TOOL_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
11 </requirements>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
12 <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
13 <command detect_errors="exit_code"><![CDATA[
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
14 if [[ -n "\$GALAXY_MEMORY_MB" ]]; then
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
15 MEMORY="-m \$((GALAXY_MEMORY_MB * 1024))";
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
16 fi;
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
17
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
18 megahit
5
b2a905087e9c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 4277f95c11b67fae2007521af6473af5d09b7f1f"
iuc
parents: 4
diff changeset
19 --num-cpu-threads \${GALAXY_SLOTS:-4}
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
20 #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
21 -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
22 -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
23 #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
24
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
25 #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
26 -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
27 -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
28 #else:
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
29 -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
30 -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
31 #end if
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
32 #else if $input_option.choice == 'interleaved'
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
33 --12 '${input_option.interleaved_file}'
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
34 #else
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
35 -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
36 #end if
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
37 ##basic assembly
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
38 --min-count '${basic_section.min_count}'
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
39 #if $basic_section.k_mer.k_mer_method == "klist_method":
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
40 --k-list '${basic_section.k_mer.k_list}'
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
41 #else:
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
42 --k-step '${basic_section.k_mer.k_step}'
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
43 --k-min '${basic_section.k_mer.k_min}'
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
44 --k-max '${basic_section.k_mer.k_max}'
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
45 #end if
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
46 ##advanced assembly
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
47 ${advanced_section.nomercy}
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
48 --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
49 --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
50 --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
51 --prune-depth '${advanced_section.prune_depth}'
7
d27f770bf397 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit f311029d3c60675994e8f1a341bf2968a2ed9c10"
iuc
parents: 6
diff changeset
52 --disconnect-ratio '${advanced_section.disconnect_ratio}'
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
53 --low-local-ratio '${advanced_section.low_local_ratio}'
7
d27f770bf397 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit f311029d3c60675994e8f1a341bf2968a2ed9c10"
iuc
parents: 6
diff changeset
54 --cleaning-rounds '${advanced_section.cleaning_rounds}'
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
55 ${advanced_section.nolocal}
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
56 ${advanced_section.kmin1pass}
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
57 --min-contig-len '${output_section.min_contig_len}'
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
58 \$MEMORY
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
59 ]]></command>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
60 <inputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
61 <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
62 <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
63 <option value="single" selected="true">Single</option>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
64 <option value="interleaved">Interleaved-paired-end</option>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
65 <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
66 <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
67 </param>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
68 <when value="single">
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
69 <param name="single_files" argument="-r" type="data" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz,fastq.bz2" multiple="true" label="Single-end file(s)" help="Accepts fasta (.fasta, .fa) and fastq (.fastq) formats as well as gzip (.gz) and gzip2 (.bz2) files" />
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
70 </when>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
71 <when value="interleaved">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
72 <param name="interleaved_file" argument="--12" type="data" format="fastq,fastqsanger,fasta,fastq.gz,fastqsanger.gz,fastq.bz2" multiple="true" label="Interleaved-paired-end file(s)" help="Accepts fasta (.fasta, .fa) and fastq (.fastq) formats as well as gzip (.gz) and gzip2 (.bz2) files" />
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
73 </when>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
74 <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
75 <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
76 <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
77 </when>
2
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
78 <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
79 <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
80 <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
81 <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
82 <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
83 </param>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
84 <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
85 <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
86 </when>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
87 <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
88 <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
89 </when>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
90 </conditional>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
91 </when>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
92 </conditional>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
93 <section name="basic_section" title="Basic assembly options" expanded="True">
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
94 <param argument="--min-count" type="integer" value="2" label="minimum multiplicity for filtering (k_min+1)-mers" help="(kmin+1)-mer with multiplicity lower than d (default 2, specified by --min-count option) will be discarded. You should be cautious to set d less than 2, which will lead to a much larger and noisy graph. We recommend using the default value 2 for metagenomics assembly. If you want to use MEGAHIT to do generic assemblies, please change this value according to the sequencing depth. (recommend --min-count 3 for >40x)."/>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
95 <conditional name="k_mer">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
96 <param name="k_mer_method" type="select" label="K-mer specification method">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
97 <option value="klist_method">Specify list</option>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
98 <option value="klim_method">Specify min, max, and step values</option>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
99 </param>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
100 <when value="klist_method">
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
101 <param argument="--k-list" type="text" value="21,29,39,59,79,99,119,141" label="Comma-separated list of kmer size" help="all must be odd, in the range 15-255, and with increments &lt;= 28"/>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
102 </when>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
103 <when value="klim_method">
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
104 <param argument="--k-min" type="integer" value="21" label="Minimum kmer size" max="255" help="Must be odd number. For ultra complex metagenomics data such as soil, a larger kmin, say 27, is recommended to reduce the complexity of the de Bruijn graph. Quality trimming is also recommended. For high-depth generic data, large --k-min (25 to 31) is recommended. Smaller --k-step, say 10, is more friendly to low-coverage datasets."/>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
105 <param argument="--k-max" type="integer" value="141" label="Maximum kmer size" max="255" help="must be odd number"/>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
106 <param argument="--k-step" type="integer" value="12" label="Increment of kmer size of each iteration" max="28" help="must be even number"/>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
107 </when>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
108 </conditional>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
109 </section>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
110 <section name="advanced_section" title="Advanced assembly options" expanded="False">
7
d27f770bf397 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit f311029d3c60675994e8f1a341bf2968a2ed9c10"
iuc
parents: 6
diff changeset
111 <param name="nomercy" type="boolean" checked="false" truevalue="--no-mercy" falsevalue="" label="Do not add mercy kmers" help="Mercy kmers are specially designed for metagenomics assembly to recover low coverage sequences. For generic dataset >= 30x, MEGAHIT may generate better results with no mercy kmers." />
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
112 <param argument="--bubble-level" type="integer" value="2" min="0" max="2" label="Intensity of bubble merging (0-2), 0 to disable" />
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
113 <param argument="--merge-level" type="text" value="20,0.95" label="Merge complex bubbles of length" />
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
114 <param argument="--prune-level" type="integer" value="2" min="0" max="3" label="Strength of low depth pruning" />
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
115 <param argument="--prune-depth" type="integer" value="2" min="0" label="Remove unitigs with avg kmer depth less than this value" />
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
116 <param argument="--disconnect-ratio" type="float" value="0.1" label="Disconnect unitigs if its depth is less than this ratio times the total depth of itself and its siblings" />
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
117 <param argument="--low-local-ratio" type="float" value="0.2" label="Remove unitigs if its depth is less than this ratio times the average depth of the neighborhoods" />
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
118 <param argument="--cleaning-rounds" type="integer" value="5" label="Number of rounds for graph cleanning" />
7
d27f770bf397 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit f311029d3c60675994e8f1a341bf2968a2ed9c10"
iuc
parents: 6
diff changeset
119 <param name="nolocal" type="boolean" checked="false" truevalue="--no-local" falsevalue="" label="Disable local assembly" />
d27f770bf397 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit f311029d3c60675994e8f1a341bf2968a2ed9c10"
iuc
parents: 6
diff changeset
120 <param name="kmin1pass" type="boolean" checked="false" truevalue="--kmin-1pass" falsevalue="" label="Use 1pass mode to build SdBG of k_min" />
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
121 </section>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
122 <section name="output_section" title="Output options" expanded="True">
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
123 <param argument="--min-contig-len" type="integer" value="200" label="Minimum length of contigs to output" />
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
124 <param name="show_intermediate_contigs" type="boolean" checked="false" label="Return intermediate contigs?"/>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
125 <param name="log_file" type="boolean" label="Generate a log file" help="Generates a log file, which can be used as MultiQC input"/>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
126 </section>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
127 </inputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
128 <outputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
129 <data format="fasta" name="output" from_work_dir="megahit_out/final.contigs.fa" label="Assembly with ${tool.name} on ${on_string}" />
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
130 <collection name="intermediate_contigs" type="list" label="Intermediate contigs from ${tool.name} on ${on_string}">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
131 <filter>output_section['show_intermediate_contigs']</filter>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
132 <discover_datasets pattern="(?P&lt;designation&gt;.*\d)\.contigs\.fa$" ext="fasta" directory="megahit_out/intermediate_contigs" />
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
133 </collection>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
134 <data name="log_output" format="txt" label="${tool.name} on ${on_string} (Log file)" from_work_dir="megahit_out/log">
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
135 <filter>output_section['log_file']</filter>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
136 </data>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
137 </outputs>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
138 <tests>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
139 <test expect_num_outputs="2">
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
140 <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
141 <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
142 <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
143 </conditional>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
144 <param name="log_file" value="true"/>
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
145 <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
146 <assert_contents>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
147 <has_line_matching expression=">k21_0 flag=3 multi=1.0505 len=576" />
3
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
148 </assert_contents>
7ec0eb46cc42 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit aaac63680661511b90969309434043ce946d6501
iuc
parents: 2
diff changeset
149 </output>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
150 <output name="log_output">
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
151 <assert_contents>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
152 <has_text text="- MEGAHIT v"/>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
153 <has_text text="- Build graph for k = 21"/>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
154 <has_text text="- Assemble contigs from SdBG for k = 21"/>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
155 <has_text text="- Local assembly for k = 21"/>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
156 </assert_contents>
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
157 </output>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
158 </test>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
159 <test expect_num_outputs="1">
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
160 <conditional name="input_option">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
161 <param name="choice" value="interleaved"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
162 <param name="interleaved_file" value="interleaved-fq.fa"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
163 </conditional>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
164 <output name="output" file="interleaved_result.fa"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
165 </test>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
166 <test expect_num_outputs="1">
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
167 <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
168 <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
169 <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
170 <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
171 </conditional>
331e25f95bf5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 253c8001abdb4530aeca8c79eb25103d0e422f9c
iuc
parents: 1
diff changeset
172 <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
173 </test>
8
e1475fcac99c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit acac4f9e3f82cc7248177b97d1cbabbf58d24cf6
iuc
parents: 7
diff changeset
174 <test expect_num_outputs="1">
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
175 <conditional name="input_option">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
176 <param name="choice" value="paired_collection"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
177 <conditional name="batchmode">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
178 <param name="processmode" value="merge"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
179 <param name="pair_input_list">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
180 <collection type="list:paired">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
181 <element name="Pair1">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
182 <collection type="paired">
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
183 <element name="forward" value="paired-fq1.fa" ftype="fasta"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
184 <element name="reverse" value="paired-fq2.fa" ftype="fasta"/>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
185 </collection>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
186 </element>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
187 </collection>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
188 </param>
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
189 </conditional>
0
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
190 </conditional>
4
130301d9c09d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit d44d890566efb82b4ce8a9ed2903b0902f3884ca
iuc
parents: 3
diff changeset
191 <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
192 </test>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
193 </tests>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
194 <help><![CDATA[
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
195
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
196 **What it does**
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
197
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
198 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
199
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
200 --------
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
201
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
202 **Project links:**
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
203
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
204 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
205
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
206
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
207 ]]></help>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
208 <citations>
fc282b8cf3b5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 7da69f4b449643fd80cfb824251642b4e8638b44
iuc
parents:
diff changeset
209 <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
210 </citations>
5
b2a905087e9c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megahit commit 4277f95c11b67fae2007521af6473af5d09b7f1f"
iuc
parents: 4
diff changeset
211 </tool>