Mercurial > repos > galaxy-australia > metawrapmg_binning
annotate metawrapmg_binning.xml @ 0:024ea3c4c29f draft
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
author | galaxy-australia |
---|---|
date | Mon, 30 Jan 2023 22:28:33 +0000 |
parents | |
children | 2a8bc1d26d06 |
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[ |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
9 ## set memory usage |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
10 if [ -n "\$GALAXY_MEMORY_MB" ] ; then |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
11 GALAXY_MEMORY_GB=\$((GALAXY_MEMORY_MB / 1024)) ; |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
12 fi ; |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
13 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
14 ################## |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
15 ## SET UP FILES ## |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
16 ################## |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
17 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
18 ## should always be FASTA |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
19 #set mg_fn = 'metagenome.' + str($metagenome.ext) |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
20 ln -s '$metagenome' $mg_fn |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
21 && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
22 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
23 ## Only FASTQ. Separate files for each sample. Metawrap checks for |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
24 ## files named _1.fastq and _2.fastq. |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
25 #set input1_fn = 'reads_1.fastq' |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
26 ln -s '$input_1' $input1_fn |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
27 && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
28 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
29 #set input2_fn = 'reads_2.fastq' |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
30 ln -s '$input_2' $input2_fn |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
31 && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
32 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
33 ##################### |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
34 ## INITIAL BINNING ## |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
35 ##################### |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
36 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
37 metawrap binning |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
38 --metabat2 --maxbin2 --concoct |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
39 -a '$mg_fn' |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
40 -m \${GALAXY_MEMORY_GB:-16} |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
41 -o INITIAL_BINNING |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
42 -t \${GALAXY_SLOTS:-4} |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
43 '$input1_fn' |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
44 '$input2_fn' |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
45 && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
46 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
47 ## Check which binning programs produced bins |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
48 bin_dirs=(INITIAL_BINNING/concoct_bins INITIAL_BINNING/maxbin2_bins INITIAL_BINNING/metabat2_bins) && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
49 switches=('-A' '-B' '-C') && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
50 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
51 i=0 && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
52 bin_string="" && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
53 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
54 for dir in "\${bin_dirs[@]}" ; do |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
55 if find "\${dir}" -mindepth 1 -maxdepth 1 | read; then |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
56 bin_string="\${bin_string} \${switches[\$i]} \${dir}" ; |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
57 i+=1 ; |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
58 fi |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
59 done && |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
60 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
61 #################### |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
62 ## 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
|
63 #################### |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
64 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
65 ## The checkm database is included in the conda package. |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
66 ## Requires metawrap-mg_1.3.0--hdfd78af_1 or later. See |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
67 ## https://github.com/bioconda/bioconda-recipes/pull/38299. |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
68 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
69 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
|
70 -t \${GALAXY_SLOTS:-4} |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
71 -m \${GALAXY_MEMORY_GB:-16} |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
72 -c $binning.c |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
73 -x $binning.x |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
74 -o 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
|
75 ## Only run bin_refinement on bins with contigs |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
76 \${bin_string} |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
77 ]]></command> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
78 <inputs> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
79 <param name="metagenome" format="fasta" type="data" label="Metagenome" help="Metagenome co-assembly for binning" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
80 <param name="input_1" format="fastqsanger" type="data" label="Read 1" help="Original reads that were used for the assembly: read 1." /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
81 <param name="input_2" format="fastqsanger" type="data" label="Read 2" help="Original reads that were used for the assembly: read 2." /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
82 <section name="binning" title="Binning parameters" expanded="false"> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
83 <param argument='-c' type="integer" value="70" min="50" max="100" label="Percent completion" help="Minimum % completion of bins" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
84 <param argument='-x' type="integer" value="10" min="0" max="100" label="Percent contamination" help="Maximum % contamination of bins that is acceptable" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
85 </section> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
86 </inputs> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
87 <outputs> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
88 <!-- 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
|
89 <collection name="metawrap_bins" type="list" label="MetaWRAP on ${on_string}: bins"> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
90 <discover_datasets pattern="metawrap_\d+_\d+_bins/(?P<designation>.+)\.fa" format="fasta" directory="BIN_REFINEMENT" recurse="true" match_relative_path="true" visible="false" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
91 </collection> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
92 <!-- 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
|
93 <collection name="metawrap_figures" type="list" label="MetaWRAP on ${on_string}: 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
|
94 <discover_datasets pattern="__designation_and_ext__" directory="BIN_REFINEMENT/figures" visible="false" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
95 </collection> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
96 <!-- 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
|
97 <collection name="metawrap_stats" type="list" label="MetaWRAP on ${on_string}: stat files"> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
98 <discover_datasets pattern="(?P<designation>.+)\.stats" format="tabular" directory="BIN_REFINEMENT" visible="false" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
99 </collection> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
100 <!-- 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
|
101 <collection name="metawrap_contigs" type="list" label="MetaWRAP on ${on_string}: contig assignments"> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
102 <discover_datasets pattern="(?P<designation>.+)\.contigs" format="tabular" directory="BIN_REFINEMENT" visible="false" /> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
103 </collection> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
104 </outputs> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
105 <tests> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
106 <!-- 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
|
107 <test> |
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="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
|
109 <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
|
110 <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
|
111 <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
|
112 <param name="x" value="15"/> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
113 <!-- this is the main output, but it's too large to test --> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
114 <!-- <output_collection name="metawrap_bins" 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
|
115 <element name="bin.1" file="test02.fa" ftype="fasta"/> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
116 </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
|
117 <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
|
118 <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
|
119 </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
|
120 <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
|
121 <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
|
122 </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
|
123 </test> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
124 </tests> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
125 <help><![CDATA[ |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
126 MetaWRAP |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
127 -------- |
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 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
|
130 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
|
131 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
|
132 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
|
133 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
|
134 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
|
135 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
|
136 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
137 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
|
138 ~~~~~~~~~~~~~~~~~~~~~~~ |
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 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
|
141 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
|
142 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
|
143 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
|
144 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
|
145 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
|
146 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
|
147 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
|
148 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
|
149 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
|
150 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
|
151 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
|
152 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
|
153 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
|
154 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
155 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
|
156 ~~~~~~~~~~~~~~~~~~~~~~~ |
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 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
|
159 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
|
160 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
|
161 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
|
162 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
|
163 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
|
164 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
|
165 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
|
166 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
|
167 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
|
168 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
|
169 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
|
170 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
|
171 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
|
172 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
|
173 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
|
174 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
|
175 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
|
176 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
|
177 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
|
178 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
|
179 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
|
180 |
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 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
|
184 `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
|
185 |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
186 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
|
187 ]]></help> |
024ea3c4c29f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/metawrapmg commit e8f404630d1b01ef5f110369f0cc6eac03d2d2d7
galaxy-australia
parents:
diff
changeset
|
188 <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
|
189 </tool> |