annotate concoct.xml @ 6:16672a3c9b65 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 6bcf71ac8fae2a84117069dc00b3c4cac6d20fa5
author iuc
date Sat, 26 Aug 2023 02:42:23 +0000
parents 28e8d2bd6aba
children eae7ee167917
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>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
7 <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
8 ## 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
9 #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
10 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
11 #else:
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
12 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
13 #end if
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
14
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
15 mkdir outdir &&
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
16 concoct
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
17 --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
18 --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
19 --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
20 --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
21 --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
22 --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
23 --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
24 --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
25 --basename 'outdir/'
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
26 --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
27 --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
28 $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
29 $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
30 --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
31 $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
32 ]]></command>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
33 <inputs>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
34 <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
35 <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
36 <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
37 <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
38 <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
39 <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
40 <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
41 <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
42 <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
43 <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
44 <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
45 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
46 <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
47 <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
48 <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
49 <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
50 </section>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
51 </inputs>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
52 <outputs>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
53 <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
54 <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
55 <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
56 </data>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
57 <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
58 <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
59 </outputs>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
60 <tests>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
61 <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
62 <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
63 <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
64 <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
65 <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
66 <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
67 <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
68 <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
69 <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
70 <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
71 <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
72 <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
73 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
74 <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
75 <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
76 <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
77 <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
78 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
79 <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
80 <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
81 <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
82 <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
83 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
84 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
85 <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
86 <assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
87 <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
88 <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
89 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
90 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
91 <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
92 <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
93 <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
94 <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
95 </assert_contents>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
96 </output>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
97 <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
98 <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
99 <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
100 <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
101 </assert_contents>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
102 </output>
3
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
103 </test>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
104 <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
105 <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
106 <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
107 <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
108 <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
109 <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
110 <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
111 <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
112 <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
113 <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
114 <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
115 <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
116 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
117 <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
118 <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
119 <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
120 <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
121 </section>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
122 <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
123 <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
124 <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
125 <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
126 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
127 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
128 <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
129 <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
130 <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
131 <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
132 </assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
133 </output>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
134 <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
135 <assert_contents>
3842ef1b2f34 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
136 <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
137 <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
138 </assert_contents>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
139 </output>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
140 </test>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
141 </tests>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
142 <help><![CDATA[
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
143 **What it does**
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
144
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
145 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
146 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
147 (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
148
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
149 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
150 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
151 fasta format.
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
152
1
031f84cb2fd3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 40a09cbfd6052f7b0295946621db1bdf58228b09"
iuc
parents: 0
diff changeset
153 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
154
1
031f84cb2fd3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 40a09cbfd6052f7b0295946621db1bdf58228b09"
iuc
parents: 0
diff changeset
155 @HELP_OVERVIEW@
0
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
156 ]]></help>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
157 <expand macro="citations"/>
06c0eb033025 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
158 </tool>