annotate binning_refiner.xml @ 2:1b18b36bad5e draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit abc55471e49aa53eac3e1e90b98a8889736f2f80
author iuc
date Wed, 01 Nov 2023 08:49:44 +0000
parents 1c8d0916f97f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
1 <tool id="bin_refiner" name="Binning refiner" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
2 <description>refines metagenome bins</description>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
3 <macros>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
5 </macros>
2
1b18b36bad5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit abc55471e49aa53eac3e1e90b98a8889736f2f80
iuc
parents: 1
diff changeset
6 <expand macro="biotools"/>
0
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
9 #import re
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
10
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
11 ## Binning refiner prepends the -p param value
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
12 ## (which we set to be the string 'refined' in
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
13 ## the command line) to a hard-coded string (i.e.,
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
14 ## '_Binning_refiner_outputs') to set the base
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
15 ## output directory.
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
16
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
17 ## Binning_refiner requires 2 levels of directories
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
18 ## for the input bins.
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
19 mkdir -p input_bin_dir/bins &&
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
20 #for $f in $input_bins:
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
21 #set identifier = re.sub('[^\s\w\-]', '_', str($f.element_identifier))
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
22 #set file_name = $identifier + '.' + $f.ext
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
23 ## Binning_refiner doesn't handle gzipped files.
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
24 #if $f.ext.endswith(".gz")
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
25 gunzip -c '${f}' > 'input_bin_dir/bins/${file_name}' &&
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
26 #else:
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
27 ln -s '${f}' 'input_bin_dir/bins/${file_name}' &&
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
28 #end if
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
29 #end for
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
30
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
31 Binning_refiner
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
32 -i input_bin_dir
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
33 -p 'refined'
1
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
34 -m $m
0
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
35 && mv 'refined_Binning_refiner_outputs/refined_contigs.txt' '$output_refined_contigs'
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
36 && mv 'refined_Binning_refiner_outputs/refined_sources_and_length.txt' '$output_sources_and_length'
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
37 ]]></command>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
38 <inputs>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
39 <param name="input_bins" format="fasta,fasta.gz" type="data" multiple="true" label="Binned fasta files"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
40 <param argument="-m" type="integer" value="512" label="Minimum size (Kbp) of refined bin" help="Bins smaller than this will be eliminated"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
41 </inputs>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
42 <outputs>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
43 <collection name="output_refined_bins" type="list" label="${tool.name} on ${on_string}: (refined bins)">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
44 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.fasta" format="fasta" directory="refined_Binning_refiner_outputs/refined_refined_bins"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
45 </collection>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
46 <data name="output_refined_contigs" format="tabular" label="${tool.name} on ${on_string} (refined contigs)"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
47 <data name="output_sources_and_length" format="tabular" label="${tool.name} on ${on_string} (sources and length)"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
48 </outputs>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
49 <tests>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
50 <test expect_num_outputs="3">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
51 <param name="input_bins" value="MetaBAT_17.fa.gz,MetaBAT_18.fa.gz,MetaBAT_19.fa.gz,MetaBAT_20.fa.gz,MetaBAT_21.fa.gz,MetaBAT_22.fa.gz,MetaBAT_23.fa.gz,Concoct_1.fa.gz,Concoct_3.fa.gz,Concoct_8.fa.gz" ftype="fasta.gz"/>
1
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
52 <param name="m" value="256"/>
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
53 <output_collection name="output_refined_bins" type="list" count="8">
0
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
54 <element name="refined_1" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
55 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
56 <has_size value="1320640"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
57 <has_text text=">scaffold_2064"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
58 <has_n_lines n="21765"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
59 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
60 </element>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
61 <element name="refined_2" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
62 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
63 <has_size value="941488"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
64 <has_text text=">scaffold_1301"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
65 <has_n_lines n="15461"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
66 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
67 </element>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
68 <element name="refined_3" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
69 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
70 <has_size value="883642"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
71 <has_text text=">scaffold_262"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
72 <has_n_lines n="14495"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
73 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
74 </element>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
75 <element name="refined_4" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
76 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
77 <has_size value="758509"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
78 <has_text text=">scaffold_923"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
79 <has_n_lines n="12484"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
80 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
81 </element>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
82 <element name="refined_5" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
83 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
84 <has_size value="722197"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
85 <has_text text=">scaffold_232"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
86 <has_n_lines n="11849"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
87 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
88 </element>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
89 <element name="refined_6" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
90 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
91 <has_size value="637342"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
92 <has_text text=">scaffold_259"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
93 <has_n_lines n="10460"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
94 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
95 </element>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
96 <element name="refined_7" ftype="fasta">
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
97 <assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
98 <has_size value="560996"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
99 <has_text text=">scaffold_1510"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
100 <has_n_lines n="9219"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
101 </assert_contents>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
102 </element>
1
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
103 <element name="refined_8" ftype="fasta">
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
104 <assert_contents>
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
105 <has_size value="276224"/>
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
106 <has_text text=">scaffold_955"/>
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
107 <has_n_lines n="4554"/>
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
108 </assert_contents>
1c8d0916f97f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 05bd671a4765eb97583bac21729b26bec808adcd"
iuc
parents: 0
diff changeset
109 </element>
0
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
110 </output_collection>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
111 <output name="output_refined_contigs" file="output_refined_contigs.tabular" ftype="tabular"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
112 <output name="output_sources_and_length" file="output_sources_and_length.tabular" ftype="tabular"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
113 </test>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
114 </tests>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
115 <help><![CDATA[
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
116 **What it does**
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
117
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
118 Reconciles the outputs of different binning programs with the aim to improve the quality of genome bins,
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
119 especially with respect to contamination levels.
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
120
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
121 The tool accepts one or more fasta datasets (i.e., bins) that were produced by metagenome binning tools
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
122 (CONCOCT MaxBin2, MetaBAT2 and others).
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
123
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
124 All refined bins larger than the specified "Minimum size (Kbp) of refined bin" will be output as a dataset
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
125 collection of fasta files. Additional outputs include a tabular dataset containing the id of the contigs
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
126 in each refined bin (refined contigs) and another tabular dataset containing the size of each refined bin
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
127 and the origin of its contigs (sources and length).
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
128
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
129 **More information**
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
130
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
131 https://github.com/songweizhi/Binning_refiner
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
132
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
133 ]]></help>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
134 <expand macro="citations"/>
f350d182f786 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binning_refiner/ commit 591fef692e8efeb65c5214e6512aeaaf66201b26"
iuc
parents:
diff changeset
135 </tool>