Mercurial > repos > iuc > metabat2_jgi_summarize_bam_contig_depths
annotate jgi_summarize_bam_contig_depths.xml @ 1:1592150e38d2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
author | iuc |
---|---|
date | Fri, 29 Jul 2022 12:37:53 +0000 |
parents | d27a4ed006ee |
children | a4441f35f17b |
rev | line source |
---|---|
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
1 <tool id="metabat2_jgi_summarize_bam_contig_depths" name="Calculate contig depths" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
2 <description>for MetaBAT2</description> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
3 <macros> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
5 <xml name="use_reference"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
6 <param name="use_reference" type="select" label="Select a reference genome?"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
7 <option value="no" selected="true">No</option> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
8 <option value="yes">Yes</option> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
9 </param> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
10 </xml> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
11 <xml name="reference_source"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
12 <param name="reference_source" type="select" label="Choose the source for the reference genome"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
13 <option value="cached" selected="true">locally cached</option> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
14 <option value="history">from history</option> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
15 </param> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
16 </xml> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
17 <xml name="referenceFasta"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
18 <param argument="--referenceFasta" type="data" format="fasta,fasta.gz" label="Using reference genome" help="Must be the reference used to map the input bam files"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
19 </xml> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
20 <xml name="gcWindow"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
21 <param argument="--gcWindow" type="integer" value ="100" label="Sliding window size for GC calculations"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
22 </xml> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
23 </macros> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
24 <expand macro="requirements"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
25 <command detect_errors="exit_code"><![CDATA[ |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
26 jgi_summarize_bam_contig_depths |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
27 --outputDepth '$outputDepth' |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
28 --percentIdentity $advanced.percentIdentity |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
29 #if $advanced.output_paired_contigs |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
30 --pairedContigs '$outputPairedContigs' |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
31 #end if |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
32 $advanced.noIntraDepthVariance |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
33 $advanced.showDepth |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
34 --minMapQual $advanced.minMapQual |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
35 --weightMapQual $advanced.weightMapQual |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
36 $advanced.includeEdgeBases |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
37 --maxEdgeBases $advanced.maxEdgeBases |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
38 #if str($mode.use_reference_cond.use_reference) == 'yes' |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
39 #if str($mode.use_reference_cond.reference_cond.reference_source) == 'cached' |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
40 --referenceFasta '$mode.use_reference_cond.reference_cond.referenceFasta.fields.path' |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
41 #else |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
42 --referenceFasta '$mode.use_reference_cond.reference_cond.referenceFasta' |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
43 #end if |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
44 --outputGC '$outputGC' |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
45 --gcWindow $mode.use_reference_cond.gcWindow |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
46 --outputReadStats '$outputReadStats' |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
47 --outputKmers '$outputKmers' |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
48 #end if |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
49 --shredLength $shredding.shredLength |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
50 --shredDepth $shredding.shredDepth |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
51 --minContigLength $shredding.minContigLength |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
52 --minContigDepth $shredding.minContigDepth |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
53 #if $mode.type == 'individual' |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
54 '$mode.bam_indiv_input' |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
55 #else |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
56 #for $bam_input in $mode.bam_co_inputs |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
57 '$bam_input' |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
58 #end for |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
59 #end if |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
60 ]]></command> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
61 <inputs> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
62 <conditional name="mode"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
63 <param name="type" type="select" label="Mode to process BAM files"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
64 <option value="individual">One by one</option> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
65 <option value="co">Together</option> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
66 </param> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
67 <when value="individual"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
68 <param name="bam_indiv_input" type="data" format="bam" label="Sorted bam files"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
69 <conditional name="use_reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
70 <expand macro="use_reference"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
71 <when value="no"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
72 <when value="yes"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
73 <conditional name="reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
74 <expand macro="reference_source"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
75 <when value="cached"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
76 <param argument="--referenceFasta" type="select" label="Using reference genome"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
77 <options from_data_table="fasta_indexes"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
78 <filter type="data_meta" column="1" key="dbkey" ref="bam_indiv_input"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
79 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected BAM file(s)"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
80 </options> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
81 </param> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
82 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
83 <when value="history"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
84 <expand macro="referenceFasta"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
85 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
86 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
87 <expand macro="gcWindow"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
88 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
89 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
90 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
91 <when value="co"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
92 <param name="bam_co_inputs" type="data" format="bam" multiple="true" label="Sorted bam files"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
93 <conditional name="use_reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
94 <expand macro="use_reference"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
95 <when value="no"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
96 <when value="yes"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
97 <conditional name="reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
98 <expand macro="reference_source"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
99 <when value="cached"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
100 <param argument="--referenceFasta" type="select" label="Using reference genome"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
101 <options from_data_table="fasta_indexes"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
102 <filter type="data_meta" column="1" key="dbkey" ref="bam_co_inputs"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
103 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected BAM file(s)"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
104 </options> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
105 </param> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
106 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
107 <when value="history"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
108 <expand macro="referenceFasta"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
109 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
110 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
111 <expand macro="gcWindow"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
112 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
113 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
114 </when> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
115 </conditional> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
116 <section name="advanced" title="Advanced options"> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
117 <param argument="--percentIdentity" type="integer" value="97" label="Minimum end-to-end percent identity of qualifying reads"/> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
118 <param name="output_paired_contigs" type="boolean" checked="false" label="Output the sparse matrix of contigs which paired reads span?"/> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
119 <param argument="--noIntraDepthVariance" type="boolean" truevalue="--noIntraDepthVariance" falsevalue="" checked="false" label="Remove variance from mean depth along the contig?"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
120 <param argument="--showDepth" type="boolean" truevalue="--showDepth" falsevalue="" checked="false" label="Output a depth file per bam for each contig base?"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
121 <param argument="--minMapQual" type="integer" value="0" label="Minimum mapping quality necessary to count a read as mapped"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
122 <param argument="--weightMapQual" type="float" value="0.0" label="Weight per-base depth based on the MQ of the read" help="Zero value disables"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
123 <param argument="--includeEdgeBases" type="boolean" truevalue="--includeEdgeBases" falsevalue="" checked="false" label="Include 1-readlength edges when calculating depth and variance?"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
124 <param argument="--maxEdgeBases" type="integer" value="75" label="Maximum length when calculating depth and variance" help="Ignored when including 1-readlength edges when calculating depth and variance"/> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
125 |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
126 </section> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
127 <section name="shredding" title="Options to control shredding contigs that are under-represented by the reads"> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
128 <param argument="--shredLength" type="integer" value="16000" label="Maximum length of the shreds"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
129 <param argument="--shredDepth" type="integer" value="5" label="Depth to generate overlapping shreds"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
130 <param argument="--minContigLength" type="integer" value="1" label="Mimimum length of contig to include for mapping and shredding"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
131 <param argument="--minContigDepth" type="float" value="0.0" label="Minimum depth along the contig at which to break the contig"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
132 </section> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
133 </inputs> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
134 <outputs> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
135 <data name="outputDepth" format="tabular" label="${tool.name} on ${on_string}: Depth matrix"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
136 <data name="outputPairedContigs" format="fasta" label="${tool.name} on ${on_string}: Paired contigs"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
137 <filter>advanced["output_paired_contigs"]</filter> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
138 </data> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
139 <data name="outputGC" format="tabular" label="${tool.name} on ${on_string}: GC coverage histogram"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
140 <filter>mode["use_reference_cond"]["use_reference"] == 'yes'</filter> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
141 </data> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
142 <data name="outputReadStats" format="tabular" label="${tool.name} on ${on_string}: Read statistics"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
143 <filter>mode["use_reference_cond"]["use_reference"] == 'yes'</filter> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
144 </data> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
145 <data name="outputKmers" format="tabular" label="${tool.name} on ${on_string}: Perfect kmer counts"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
146 <filter>mode["use_reference_cond"]["use_reference"] == 'yes'</filter> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
147 </data> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
148 </outputs> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
149 <tests> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
150 <!-- Single input, default settings --> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
151 <test expect_num_outputs="1"> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
152 <conditional name="mode"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
153 <param name="type" value="individual"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
154 <param name="bam_indiv_input" value="input1.bam" ftype="bam"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
155 </conditional> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
156 <output name="outputDepth" file="jgi_output1.tabular" ftype="tabular" compare="contains"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
157 </test> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
158 <!-- Multiple inputs, default settings --> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
159 <test expect_num_outputs="1"> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
160 <conditional name="mode"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
161 <param name="type" value="co"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
162 <param name="bam_co_inputs" value="input1.bam,input1.bam" ftype="bam"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
163 </conditional> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
164 <output name="outputDepth" file="jgi_output2.tabular" ftype="tabular" compare="contains"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
165 </test> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
166 <!-- Single input, output paired contigs, reference from history --> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
167 <test expect_num_outputs="5"> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
168 <conditional name="mode"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
169 <param name="type" value="individual"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
170 <param name="bam_indiv_input" value="input2.bam" ftype="bam" dbkey="89"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
171 <conditional name="use_reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
172 <param name="use_reference" value="yes"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
173 <conditional name="reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
174 <param name="reference_source" value="history"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
175 <param name="referenceFasta" value="NC_002945v4.fasta" ftype="fasta"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
176 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
177 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
178 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
179 <section name="advanced"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
180 <param name="output_paired_contigs" value="true"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
181 </section> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
182 <output name="outputDepth" file="jgi_output_depth1.tabular" ftype="tabular" compare="contains"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
183 <output name="outputPairedContigs" file="jgi_output_paired_contigs1.fasta" ftype="fasta"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
184 <output name="outputGC" file="jgi_output_gc1.tabular" ftype="tabular"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
185 <output name="outputReadStats" file="jgi_output_read_stats1.tabular" ftype="tabular"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
186 <output name="outputKmers" file="jgi_output_kmers1.tabular" ftype="tabular"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
187 </test> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
188 <!-- Single input, output paired contigs, cached reference --> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
189 <test expect_num_outputs="5"> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
190 <conditional name="mode"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
191 <param name="type" value="individual"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
192 <param name="bam_indiv_input" value="input2.bam" ftype="bam" dbkey="89"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
193 <conditional name="use_reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
194 <param name="use_reference" value="yes"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
195 <conditional name="reference_cond"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
196 <param name="reference_source" value="cached"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
197 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
198 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
199 </conditional> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
200 <section name="advanced"> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
201 <param name="output_paired_contigs" value="true"/> |
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
202 </section> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
203 <output name="outputDepth" file="jgi_output_depth1.tabular" ftype="tabular" compare="contains"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
204 <output name="outputPairedContigs" file="jgi_output_paired_contigs1.fasta" ftype="fasta"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
205 <output name="outputGC" file="jgi_output_gc1.tabular" ftype="tabular"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
206 <output name="outputReadStats" file="jgi_output_read_stats1.tabular" ftype="tabular"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
207 <output name="outputKmers" file="jgi_output_kmers1.tabular" ftype="tabular"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
208 </test> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
209 </tests> |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
210 <help><![CDATA[ |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
211 **What it does** |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
212 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
213 Calculates coverage depth for each sequence in one or more selected BAM files, producing a tabular file (for each input) |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
214 having mean and variance of base coverage depth that can be used as one of the inputs for the MetaBAT2 metagenome binning |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
215 tool. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
216 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
217 The algorithm used for calculating the coverage depth is adjusted by a few factors to improve the fidelity of the metrics |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
218 when correlating abundance coverage in the binning stage. By default the following adjustments are applied. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
219 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
220 **Edge bases are ignored** |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
221 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
222 Edge bases are not counted as coverage, by the lesser of 1 AverageReadLength or (--maxEdgeBases=75). This is because most |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
223 mappers can not reliably place a read that would extend off the edge of a sequence, and coverage depth tends to drop towards |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
224 0 at the edge of a contig or scaffold. Use --includeEdgeBases to include the coverage in this region. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
225 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
226 **Reads with high mapping errors are skipped** |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
227 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
228 Reads that map imperfectly are excluded when the %ID of the mapping drops below a threshold (--percentIdentity=97). |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
229 MetaBAT2 is designed to resolve strain variation and mapping reads with low %ID indicate that the read actually came from |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
230 a different strain/species. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
231 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
232 %ID is calculated from the CIGAR string and/or NM/MD fields and == 100 * MatchedBases / (MatchedBases + Substituions + |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
233 Insertions + Deletions). This ensures that clips, insertions, deletions and mismatches are excluded from the coverage count. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
234 Only the read bases that exactly match the reference are counted as coverage. This generally has a small effect, except in |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
235 the case of long reads from PacBio and Nanopore. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
236 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
237 **More information** |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
238 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
239 https://bitbucket.org/berkeleylab/metabat/src/master/ |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
240 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
241 **Options** |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
242 |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
243 * **Select a reference genome** - optionally select the reference genome that was used to map the input bam file(s) and 3 additional outputs will be produced; gc coverage histogram, read statistics and perfect kmer counts. |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
244 |
1
1592150e38d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit f239f2bb562330c955c19c328935793d6f1f2aa7
iuc
parents:
0
diff
changeset
|
245 ]]></help> |
0
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
246 <expand macro="citations"/> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
247 </tool> |
d27a4ed006ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metabat2/ commit 4baddc43c4fdbe9fa7fe056bc3f9213de01516dd"
iuc
parents:
diff
changeset
|
248 |