annotate metawrapmg_binning.xml @ 2:2a8bc1d26d06 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
author iuc
date Thu, 11 Apr 2024 21:56:14 +0000
parents 024ea3c4c29f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
1 <tool id="metawrapmg_binning" name="MetaWRAP" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
2 <description>metagenome binning pipeline</description>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
3 <macros>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
4 <import>macros.xml</import>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
5 </macros>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
6 <expand macro="xrefs"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
7 <expand macro="requirements"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
9 ## set memory usage
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
10 if [ -n "\${GALAXY_MEMORY_MB}" ] ; then
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
11 export GALAXY_MEMORY_GB="\$((GALAXY_MEMORY_MB / 1024))" ;
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
12 fi ;
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
13
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
14 ##################
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
15 ## SET UP FILES ##
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
16 ##################
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
17
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
18 ## only plain FASTA and FASTQ
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
19 ln -s '$metagenome' metagenome.fasta
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
20 &&
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
21 ## Metawrap checks for files named _1.fastq and _2.fastq.
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
22 ln -s '$input_1' reads_1.fastq
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
23 &&
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
24 ln -s '$input_2' reads_2.fastq
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
25 &&
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
26
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
27 #####################
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
28 ## INITIAL BINNING ##
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
29 #####################
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
30
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
31 metawrap binning
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
32 --metabat2 --maxbin2 --concoct
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
33 -a metagenome.fasta
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
34 -m "\${GALAXY_MEMORY_GB:-16}"
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
35 -o INITIAL_BINNING
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
36 -t "\${GALAXY_SLOTS:-4}"
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
37 reads_1.fastq
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
38 reads_2.fastq
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
39 &&
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
40
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
41 ## Check which binning programs produced bins
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
42 bin_dirs=(INITIAL_BINNING/concoct_bins INITIAL_BINNING/maxbin2_bins INITIAL_BINNING/metabat2_bins) &&
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
43 switches=('-A' '-B' '-C') &&
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
44
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
45 i=0 &&
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
46 bin_string="" &&
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
47
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
48 for dir in "\${bin_dirs[@]}" ; do
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
49 if [ "\$(find "\$dir" -mindepth 1 -maxdepth 1 -exec echo found \;)" ]; then
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
50 bin_string+=" \${switches[\$i]} \$dir" ;
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
51 ((i++)) ;
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
52 fi
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
53 done &&
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
54
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
55 ####################
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
56 ## BIN REFINEMENT ##
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
57 ####################
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
58
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
59 ## The checkm database is in the conda package, see
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
60 ## https://github.com/bioconda/bioconda-recipes/pull/38299.
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
61
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
62 metawrap bin_refinement
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
63 -t "\${GALAXY_SLOTS:-4}"
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
64 -m "\${GALAXY_MEMORY_GB:-16}"
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
65 '$hidden_quick'
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
66 -c '${binning.c}'
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
67 -x '${binning.x}'
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
68 -o BIN_REFINEMENT
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
69 ## Only run bin_refinement on bins with contigs
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
70 "\${bin_string}"
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
71 ]]></command>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
72 <inputs>
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
73 <param name="metagenome" format="fasta" type="data" label="Metagenome" help="Metagenome co-assembly for binning"/>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
74 <param name="input_1" format="fastqsanger" type="data" label="Read 1" help="Original reads that were used for the assembly: read 1."/>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
75 <param name="input_2" format="fastqsanger" type="data" label="Read 2" help="Original reads that were used for the assembly: read 2."/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
76 <section name="binning" title="Binning parameters" expanded="false">
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
77 <param argument="-c" type="integer" value="70" min="50" max="100" label="Percent completion" help="Minimum % completion of bins"/>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
78 <param argument="-x" type="integer" value="10" min="0" max="100" label="Percent contamination" help="Maximum % contamination of bins that is acceptable"/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
79 </section>
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
80 <!-- the pplacer component requires 40 GB per thread. Skip pplacer for
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
81 testing by setting this to "quick" -->
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
82 <param name="hidden_quick" type="hidden" value=""/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
83 </inputs>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
84 <outputs>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
85 <!-- contigs binned into fasta files -->
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
86 <collection name="metawrap_bins" type="list" label="MetaWRAP on ${on_string}: bins">
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
87 <discover_datasets pattern="metawrap_\d+_\d+_bins/(?P&lt;designation&gt;.+)\.fa" format="fasta" directory="BIN_REFINEMENT" recurse="true" match_relative_path="true"/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
88 </collection>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
89 <!-- summary figures -->
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
90 <collection name="metawrap_figures" type="list" label="MetaWRAP on ${on_string}: summary figures">
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
91 <discover_datasets pattern="__designation_and_ext__" directory="BIN_REFINEMENT/figures"/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
92 </collection>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
93 <!-- statistics on binning -->
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
94 <collection name="metawrap_stats" type="list" label="MetaWRAP on ${on_string}: stat files">
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
95 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.stats" format="tabular" directory="BIN_REFINEMENT"/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
96 </collection>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
97 <!-- which contig went into which bin -->
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
98 <collection name="metawrap_contigs" type="list" label="MetaWRAP on ${on_string}: contig assignments">
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
99 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.contigs" format="tabular" directory="BIN_REFINEMENT"/>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
100 </collection>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
101 </outputs>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
102 <tests>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
103 <!-- 01: basic function -->
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
104 <test>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
105 <param name="metagenome" value="subset.fasta.gz"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
106 <param name="input_1" value="mapped_reads.r1.fastq.gz"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
107 <param name="input_2" value="mapped_reads.r2.fastq.gz"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
108 <param name="c" value="60"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
109 <param name="x" value="15"/>
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
110 <param name="hidden_quick" value="--quick"/>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
111 <output_collection name="metawrap_bins" type="list">
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
112 <element name="bin.1" ftype="fasta">
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
113 <assert_contents>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
114 <has_text text="NODE_2_length_"/>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
115 </assert_contents>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
116 </element>
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
117 </output_collection>
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
118 <output_collection name="metawrap_stats" type="list">
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
119 <element name="metawrap_60_15_bins" file="test02.stats" ftype="tabular"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
120 </output_collection>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
121 <output_collection name="metawrap_contigs" type="list">
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
122 <element name="metawrap_60_15_bins" file="test02.contigs" ftype="tabular"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
123 </output_collection>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
124 </test>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
125 </tests>
2
2a8bc1d26d06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metawrapmg commit 26fe7d23c5c3981c9b737109e5db799cc5d23932
iuc
parents: 0
diff changeset
126 <help><![CDATA[
0
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
127 MetaWRAP
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
128 --------
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
129
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
130 MetaWRAP aims to be an easy-to-use metagenomic wrapper suite that
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
131 accomplishes the core tasks of metagenomic analysis. Additionally,
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
132 metaWRAP takes bin extraction and analysis to the next level. metaWRAP
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
133 is meant to be a fast and simple approach before you delve deeper into
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
134 parameterization of your analysis. MetaWRAP can be applied to a variety
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
135 of environments, including gut, water, and soil microbiomes (see
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
136 metaWRAP paper for benchmarks).
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
137
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
138 MetaWRAP binning module
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
139 ~~~~~~~~~~~~~~~~~~~~~~~
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
140
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
141 The metaWRAP::Binning module is meant to be a convenient wrapper around
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
142 three metagenomic binning software: MaxBin2, metaBAT2, and CONCOCT.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
143 First the metagenomic assembly is indexed with bwa-index, and then
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
144 paired end reads from any number of samples are aligned to it. The
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
145 alignments are sorted and compressed with samtools, and library insert
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
146 size statistics are also gathered at the same time (insert size average
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
147 and standard deviation). metaBAT2’s jgi_summarize_bam_contig_depths
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
148 function is used to generate contig adundance table, and it is then
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
149 converted into the correct format for each of the three binners to take
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
150 as input. After MaxBin2, metaBAT2, and CONCOCT finish binning the
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
151 contigs with default settings, the final bins folders are created with
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
152 formatted bin fasta files. CheckM’s lineage_wf function is used to
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
153 predict essential genes and estimate the completion and contamination of
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
154 each bin.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
155
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
156 MetaWRAP bin refinement
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
157 ~~~~~~~~~~~~~~~~~~~~~~~
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
158
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
159 The metaWRAP::Bin_refinement module utilizes a hybrid approach to take
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
160 in two or three bin sets that were obtained with different software and
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
161 produces a consolidated, improved bin set. First, binning_refiner is
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
162 used to create hybridized bins from every possible combination of sets.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
163 If there were three bin sets: A, B, and C, then the following hybrid
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
164 sets will be produced with binning_refiner: AB, BC, AC, and ABC. CheckM
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
165 is then run to evaluate the completion and contamination of the bins in
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
166 each of the 7 bin sets (3 originals, 4 hybridized). The bins sets are
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
167 then iteratively compared to each other, and each pair is consolidated
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
168 into an improved bin set. To do this, the same bin is identified within
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
169 the two bin sets based on a minimum of 80% overlap in genome length, and
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
170 the better bin is determined based on which bin has the higher score.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
171 The scoring function is S=Completion-5*Contamination. After all bin sets
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
172 are incorporated into the consolidated bin collection, a de-replication
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
173 function removes any duplicate contigs. If a contig is present in more
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
174 than one bin, it is removed from all but the best bin (based on scoring
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
175 function). CheckM is then run on the final bin set and a final report
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
176 file is generated showing the completion, contamination, and other
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
177 statistics generated by CheckM for each bin. Completion and
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
178 contamination rank plots are also generated to evaluate the success of
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
179 the Bin_refinement module, and compare its output to the quality of the
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
180 original bins.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
181
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
182 --------------
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
183
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
184 MetaWRAP’s home page is
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
185 `bxlab/metaWRAP <https://github.com/bxlab/metaWRAP>`__.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
186
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
187 This tool was wrapped by the Galaxy Australia team.
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
188 ]]></help>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
189 <expand macro="citations"/>
024ea3c4c29f planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff changeset
190 </tool>