annotate concoct.xml @ 7:eae7ee167917 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 86e1afebec29c10ef1e31196b23c24fde2d086da
author iuc
date Sun, 12 Nov 2023 14:30:52 +0000
parents 16672a3c9b65
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
1 <tool id="concoct" name="CONCOCT" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
2 <description>for metagenome binning</description>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
3 <macros>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
5 </macros>
7
eae7ee167917 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 86e1afebec29c10ef1e31196b23c24fde2d086da
iuc
parents: 6
diff changeset
6 <expand macro="biotools"/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
9 ## CONCOCT doesn't handle gzipped files.
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
10 #if $composition_file.ext.endswith(".gz")
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
11 gunzip -c '$composition_file' > 'composition_file.fa' &&
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
12 #else:
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
13 ln -s '$composition_file' 'composition_file.fa' &&
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
14 #end if
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
15
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
16 mkdir outdir &&
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
17 concoct
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
18 --coverage_file '$coverage_file'
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
19 --composition_file 'composition_file.fa'
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
20 --clusters $advanced.clusters
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
21 --kmer_length $advanced.kmer_length
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
22 --threads \${GALAXY_SLOTS:-4}
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
23 --length_threshold $advanced.length_threshold
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
24 --read_length $advanced.read_length
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
25 --total_percentage_pca $advanced.total_percentage_pca
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
26 --basename 'outdir/'
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
27 --seed $advanced.seed
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
28 --iterations $advanced.iterations
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
29 $advanced.no_cov_normalization
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
30 $output.no_total_coverage
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
31 --no_original_data
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
32 $output.converge_out
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
33 ]]></command>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
34 <inputs>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
35 <param argument="--coverage_file" type="data" format="tabular" label="Coverage file" help="Table where each row correspond to a contig, and each column correspond to a sample. The values are the average coverage for this contig in that sample"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
36 <param argument="--composition_file" type="data" format="fasta,fasta.gz" label="Composition file with sequences" help="It is named the composition file since it is used to calculate the kmer composition (the genomic signature) of each contig."/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
37 <section name="advanced" title="Advanced options">
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
38 <param argument="--clusters" type="integer" min="0" value="400" label="Maximum number of clusters for the Variational Gaussian Mixture Model (VGMM) algorithm"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
39 <param argument="--kmer_length" type="integer" min="0" value="4" label="Kmer length"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
40 <param argument="--length_threshold" type="integer" min="0" value="1000" label="Sequence length threshold" help="Contigs shorter than this value will not be included"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
41 <param argument="--read_length" type="integer" min="0" value="100" label="Read length for coverage"/>
6
16672a3c9b65 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 6bcf71ac8fae2a84117069dc00b3c4cac6d20fa5
iuc
parents: 4
diff changeset
42 <param argument="--total_percentage_pca" type="integer" min="0" value="90" label="Percentage of variance explained by the principal components for the combined data"/>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
43 <param argument="--seed" type="integer" min="0" value="1" label="Seed for clustering" help="Zero value will use random seed"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
44 <param argument="--iterations" type="integer" min="0" value="500" label="Maximum number of iterations for the Variational Bayes Gaussian Mixture Models (VBGMM)"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
45 <param argument="--no_cov_normalization" type="boolean" truevalue="--no_cov_normalization" falsevalue="" checked="false" label="Skip normalization and only do log transorm of the coverage?" help="By default, the coverage is normalized for samples, then normalized for contigs and finally log transformed. By setting this flag you skip the normalization and only do log transorm of the coverage."/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
46 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
47 <section name="output" title="Output">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
48 <param argument="--no_total_coverage" type="boolean" truevalue="--no_total_coverage" falsevalue="" checked="false" label="Eliminate the total coverage column from the coverage data matrix?" help="By default, total coverage is included, independently of coverage normalization but previous to log transformation. Use this tag to escape this behaviour."/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
49 <param argument="--converge_out" type="boolean" truevalue="--converge_out" falsevalue="" checked="false" label="Write convergence information to files?"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
50 <param name="log" type="boolean" checked="false" label="Output process log file?"/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
51 </section>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
52 </inputs>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
53 <outputs>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
54 <data name="output_clustering" format="csv" from_work_dir="outdir/clustering_gt*" label="${tool.name} on ${on_string}: Clusters"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
55 <data name="process_log" format="txt" from_work_dir="outdir/log.txt" label="${tool.name} on ${on_string}: Log">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
56 <filter>output['log']</filter>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
57 </data>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
58 <data name="output_pca_components" format="csv" from_work_dir="outdir/PCA_components_data_gt*" label="${tool.name} on ${on_string}: PCA components"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
59 <data name="output_pca_transformed" format="csv" from_work_dir="outdir/PCA_transformed_data_gt*" label="${tool.name} on ${on_string}: PCA transformed clusters"/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
60 </outputs>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
61 <tests>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
62 <test expect_num_outputs="4">
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
63 <param name="coverage_file" value="coverage" ftype="tabular"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
64 <param name="composition_file" value="composition.fa" ftype="fasta"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
65 <section name="advanced">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
66 <param name="clusters" value="400"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
67 <param name="kmer_length" value="4"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
68 <param name="length_threshold" value="1000"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
69 <param name="read_length" value="100"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
70 <param name="total_percentage_pca" value="100"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
71 <param name="seed" value="1"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
72 <param name="iterations" value="500"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
73 <param name="no_cov_normalization" value=""/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
74 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
75 <section name="output">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
76 <param name="no_total_coverage" value=""/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
77 <param name="converge_out" value=""/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
78 <param name="log" value="true"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
79 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
80 <output name="process_log" ftype="txt" compare="contains">
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
81 <assert_contents>
4
28e8d2bd6aba planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit e59b5a00326e0a3bba00c1232a35cbf40a77a7be
iuc
parents: 3
diff changeset
82 <has_size value="786" delta="4"/>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
83 <has_text text="CONCOCT Finished"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
84 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
85 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
86 <output name="output_pca_components" ftype="csv">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
87 <assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
88 <has_size value="362924" delta="10"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
89 <has_text text="-5.90697200e-02"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
90 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
91 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
92 <output name="output_pca_transformed" ftype="csv">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
93 <assert_contents>
6
16672a3c9b65 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 6bcf71ac8fae2a84117069dc00b3c4cac6d20fa5
iuc
parents: 4
diff changeset
94 <has_size value="834200" delta="50"/>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
95 <has_text text="contig-21000001"/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
96 </assert_contents>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
97 </output>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
98 <output name="output_clustering" ftype="csv">
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
99 <assert_contents>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
100 <has_size value="6923" delta="10"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
101 <has_text text="contig-21000001,"/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
102 </assert_contents>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
103 </output>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
104 </test>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
105 <test expect_num_outputs="3">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
106 <param name="coverage_file" value="coverage" ftype="tabular"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
107 <param name="composition_file" value="composition.fa.gz" ftype="fasta.gz"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
108 <section name="advanced">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
109 <param name="clusters" value="400"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
110 <param name="kmer_length" value="4"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
111 <param name="length_threshold" value="1000"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
112 <param name="read_length" value="100"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
113 <param name="total_percentage_pca" value="100"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
114 <param name="seed" value="1"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
115 <param name="iterations" value="500"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
116 <param name="no_cov_normalization" value=""/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
117 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
118 <section name="output">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
119 <param name="no_total_coverage" value=""/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
120 <param name="converge_out" value=""/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
121 <param name="log" value="false"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
122 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
123 <output name="output_pca_components" ftype="csv">
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
124 <assert_contents>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
125 <has_size value="362924" delta="10"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
126 <has_text text="-5.90697200e-02"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
127 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
128 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
129 <output name="output_pca_transformed" ftype="csv">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
130 <assert_contents>
6
16672a3c9b65 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 6bcf71ac8fae2a84117069dc00b3c4cac6d20fa5
iuc
parents: 4
diff changeset
131 <has_size value="834200" delta="50"/>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
132 <has_text text="contig-21000001"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
133 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
134 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
135 <output name="output_clustering" ftype="csv">
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
136 <assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
137 <has_size value="6923" delta="10"/>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
138 <has_text text="contig-21000001,"/>
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
139 </assert_contents>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
140 </output>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
141 </test>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
142 </tests>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
143 <help><![CDATA[
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
144 **What it does**
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
145
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
146 CONCOCT (Clustering cONtigs with COverage and ComposiTion) performs unsupervised binning of metagenomic contigs by
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
147 using nucleotide composition - kmer frequencies - and coverage data for multiple samples. CONCOCT can accurately
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
148 (up to species level) bin metagenomic contigs.
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
149
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
150 The tool accepts 2 inputs; a tabular file where each row corresponds to a contig and each column corresponds to a
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
151 sample (the values are the average coverage for this contig in that sample) and a file containing sequences in
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
152 fasta format.
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
153
1
031f84cb2fd3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 40a09cbfd6052f7b0295946621db1bdf58228b09"
iuc
parents: 0
diff changeset
154 Three outputs are produced; clustering of the > 1000 kmer count, the PCA transformed matrix and the PCA components.
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
155
1
031f84cb2fd3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 40a09cbfd6052f7b0295946621db1bdf58228b09"
iuc
parents: 0
diff changeset
156 @HELP_OVERVIEW@
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
157 ]]></help>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
158 <expand macro="citations"/>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
159 </tool>