annotate binette.xml @ 0:70b492856e17 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
author iuc
date Mon, 20 Jan 2025 16:19:35 +0000
parents
children 6641160f2053
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
1 <tool id="binette" name="Binette" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
2 <description>Binning refinement tool</description>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
3 <macros>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.0.5</token>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
6 <token name="@PROFILE@">24.1</token>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
7 </macros>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
8 <requirements>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
9 <requirement type="package" version="@TOOL_VERSION@">binette</requirement>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
10 </requirements>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
11 <command detect_errors="exit_code">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
12 <![CDATA[
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
13 mkdir -p 'input' 'output' &&
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
14
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
15 #for $i, $file in enumerate($contig2bin_tables):
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
16 ln -s '$file' 'input/bin_table_${i}.tsv' &&
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
17 #end for
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
18
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
19 ln -s '$contigs' 'input_contigs.fasta' &&
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
20 #if $database_type.is_select == 'his':
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
21 ln -s '$checkm2_db' 'input_database.dmnd' &&
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
22 #end if
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
23
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
24 #if $proteins:
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
25 ln -s '$proteins' 'input_proteins.fasta' &&
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
26 #end if
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
27
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
28 binette
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
29 -b input/*.tsv
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
30 -c 'input_contigs.fasta'
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
31 #if $proteins:
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
32 -p 'input_proteins.fasta'
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
33 #end if
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
34 -m ${min_completeness}
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
35 -t "\${GALAXY_SLOTS:-1}"
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
36 -o 'output/'
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
37 -w ${contamination_weight}
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
38 #if $database_type.is_select == 'his':
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
39 --checkm2_db 'input_database.dmnd'
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
40 #else
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
41 --checkm2_db '$datamanager.fields.path'
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
42 #end if
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
43
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
44 ]]>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
45 </command>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
46 <inputs>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
47 <param argument="--contig2bin_tables" type="data" multiple="true" min="2" format="tabular" label="Input contig table"
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
48 help="Input at least 2 different contig tables. Look into the help section at the bottom for more information!"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
49 <param argument="--contigs" type="data" format="fasta,fasta.gz" label="Input contig file"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
50 <param argument="--proteins" type="data" format="fasta,fasta.gz" optional="true" label="Input FASTA file in Prodigal format (>contigID_geneID)"
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
51 help="If this file is provided all predicted genes contained in this file will be skipped. A example for this format is in the help section"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
52 <param argument="--min_completeness" type="integer" min="0" max="100" value="40" label="Set minimus completeness"
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
53 help="Threshold for bins for the final bin selection"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
54 <param argument="--contamination_weight" type="integer" value="2" label="Set contamination weight"
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
55 help="This weight is used for the scoring the bins. A low weight favor complete bins over low contaminated bins"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
56 <conditional name="database_type">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
57 <param name="is_select" type="select" label="Select if database should be used either via file or cached database">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
58 <option value="cached">cached database</option>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
59 <option value="his">History</option>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
60 </param>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
61 <when value="his">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
62 <param argument="--checkm2_db" type="data" format="dmnd" label="Input CheckM2 diamond database"
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
63 help="When a CheckM2 diamond database should be used download and input it here."/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
64 </when>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
65 <when value="cached">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
66 <param name="datamanager" type="select" label="Select reference genome" help="Checkm2 Diamond database">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
67 <options from_data_table="checkm2">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
68 <filter type="sort_by" column="2"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
69 </options>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
70 <validator type="no_options" message="No databases are available for this version of Checkm2. Please contact the Galaxy administrators to request one be installed."/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
71 </param>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
72 </when>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
73 </conditional>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
74 </inputs>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
75 <outputs>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
76 <collection name="bins" type="list" label="${tool.name} on ${on_string}: Bins">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
77 <discover_datasets pattern="((?P&lt;designation&gt;.*)\.fa)" format="fasta" directory="output/final_bins"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
78 </collection>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
79 <collection name="quality" type="list" label="${tool.name} on ${on_string}: Quality Report">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
80 <discover_datasets pattern="((?P&lt;designation&gt;.*)\.tsv)" format="tabular" directory="output/input_bins_quality_reports"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
81 </collection>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
82 <data name="final" format="tabular" from_work_dir="output/final_bins_quality_reports.tsv" label="${tool.name} on ${on_string}: Final Quality Report"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
83 </outputs>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
84 <tests>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
85 <test expect_num_outputs="3">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
86 <param name="contig2bin_tables" ftype="tabular" value="A.binning,B.binning,C.binning"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
87 <param name="contigs" value="all_contig.fasta.gz" ftype="fasta.gz"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
88 <param name="min_completeness" value="5"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
89 <param name="contamination_weight" value="0"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
90 <conditional name="database_type">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
91 <param name="is_select" value="his"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
92 <param name="checkm2_db" value="checkm2_tiny_db.dmnd"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
93 </conditional>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
94 <output name="final" ftype="tabular">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
95 <assert_contents>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
96 <has_text text="binC"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
97 <has_text text="50"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
98 <has_text text="9"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
99 </assert_contents>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
100 </output>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
101 <output_collection name="bins" count="4"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
102 </test>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
103 <test expect_num_outputs="3">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
104 <param name="contig2bin_tables" ftype="tabular" value="A.binning,B.binning,C.binning"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
105 <param name="contigs" value="all_contig.fasta.gz" ftype="fasta.gz"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
106 <param name="min_completeness" value="40"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
107 <param name="contamination_weight" value="2"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
108 <conditional name="database_type">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
109 <param name="is_select" value="cached"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
110 <param name="datamanager" value="test_db"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
111 </conditional>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
112 <param name="proteins" ftype="fasta.gz" value="proteins.fasta.gz"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
113 <output name="final" ftype="tabular">
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
114 <assert_contents>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
115 <has_text text="binC"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
116 <has_text text="50"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
117 <has_text text="40"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
118 </assert_contents>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
119 </output>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
120 <output_collection name="bins" count="4"/>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
121 </test>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
122 </tests>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
123 <help>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
124 <![CDATA[
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
125
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
126 .. class:: infomark
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
127
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
128 **What does Binette**
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
129
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
130 Binette is a fast and accurate binning refinement tool to constructs high quality MAGs from the output of multiple binning tools.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
131
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
132 **Inputs**
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
133
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
134 - At least 2 different contig tables.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
135
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
136 .. class:: infomark
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
137
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
138 The contig tables can be generate by the tool *Converts genome bins in fasta format*. This tool only need the bins which where created by any binner as input.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
139
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
140 - The contig file
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
141
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
142 .. class:: infomark
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
143
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
144 This file should contain all reads used to create the bins. The format of this file should be either fasta or fasta.gz.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
145
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
146 - A CheckM2 diamond database
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
147
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
148 .. class::infomark
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
149
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
150 This database can be download with using the CheckM2 package and the followed command: *checkm2 database --download --path <checkm2/database/>* or it is possible to use a database cached on Galaxy.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
151
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
152
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
153 - An optional (fasta/fasta.gz) file with predicted genes
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
154
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
155 .. class:: infomark
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
156
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
157 This file, in a fasta format, is generate with the tool *Prodigal*
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
158
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
159 Example:
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
160
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
161 ::
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
162
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
163 >Chlamydia_trachomatis_part1_1 # 1 # 1776 # 1 # ID=1_1;partial=10;start_type=Edge;rbs_motif=None;rbs_spacer=None;gc_cont=0.466
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
164 MSIRGVGGNGNSRIPSHNGDGSNRRSQNTKGNNKVEDRVCSLYSSRSNENRESPYAVVDV
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
165 SSMIESTPTSGETTRASRGVFSRFQRGLVRIADKVRRAVQCAWSSVSTSRSSATRAAESG
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
166 SSSRTARGASSGYREYSPSAARGLRLMFTDFWRTRVLRQTSPMAGVFGNLDVNEARLMAA
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
167 YTSECADHLEAKELAGPDGVAAAREIAKRWEKRVRDLQDKGAARKLLNDPLGRRTPNYQS
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
168 KNPGEYTVGNSMFYDGPQVANLQNVDTGFWLDMSNLSDVVLSREIQTGLRARATLEESMP
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
169 MLENLEERFRRLQETCDAARTEIEESGWTRESASRMEGDEAQGPSRAQQAFQSFVNECNS
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
170 IEFSFGSFGEHVRVLCARVSRGLAAAGEAIRRCFSCCKGSTHRYAPRDDLSPEGASLAET
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
171 LARFADDMGIERGADGTYDIPLVDDWRRGVPSIEGEGSDSIYEIMMPIYEVMNMDLETRR
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
172 SFAVQQGHYQDPRASDYDLPRASDYDLPRSPYPTPPLPPRYQLQNMDVEAGFREAVYASF
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
173 VAGMYNYVVTQPQERIPNSQQVEGILRDMLTNGSQTFRDLMKRWNREVDRE*
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
174
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
175 **Outputs**
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
176
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
177 - A collection (list) with all the selected bins in fasta format.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
178
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
179 - A final quality report file containing quality information about the final selected bins.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
180
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
181 - A collection (list) storing quality reports for the input bin sets, with files following the same structure as the final quality report file.
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
182
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
183 ]]>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
184 </help>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
185 <citations>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
186 <citation type="doi">10.21105/joss.06782</citation>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
187 </citations>
70b492856e17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/binette/ commit 59b031eff1c156122720281e42b0eaa8d3724c57
iuc
parents:
diff changeset
188 </tool>