annotate concoct.xml @ 6:337ba922753a draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 6bcf71ac8fae2a84117069dc00b3c4cac6d20fa5
author iuc
date Sat, 26 Aug 2023 02:41:24 +0000
parents d9600883e676
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bf23c688912a "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
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
3 <macros>
bf23c688912a "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>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
5 </macros>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
bf23c688912a "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[
bf23c688912a "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.
bf23c688912a "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
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
11 #else:
3
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
13 #end if
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
14
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
15 mkdir outdir &&
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
16 concoct
3
4338452cbfb9 "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'
4338452cbfb9 "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'
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "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}
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
25 --basename 'outdir/'
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "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
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
32 ]]></command>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
33 <inputs>
3
4338452cbfb9 "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"/>
4338452cbfb9 "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
bf23c688912a "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
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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
337ba922753a 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
4338452cbfb9 "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"/>
4338452cbfb9 "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)"/>
4338452cbfb9 "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."/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
45 </section>
4338452cbfb9 "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">
4338452cbfb9 "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."/>
4338452cbfb9 "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?"/>
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
50 </section>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
51 </inputs>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
52 <outputs>
3
4338452cbfb9 "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"/>
4338452cbfb9 "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">
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
56 </data>
3
4338452cbfb9 "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"/>
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
59 </outputs>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
60 <tests>
bf23c688912a "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
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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">
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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=""/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
73 </section>
4338452cbfb9 "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">
4338452cbfb9 "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=""/>
4338452cbfb9 "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=""/>
4338452cbfb9 "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"/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
78 </section>
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
80 <assert_contents>
4
d9600883e676 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
4338452cbfb9 "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"/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
83 </assert_contents>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
84 </output>
4338452cbfb9 "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">
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
86 <assert_contents>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
89 </assert_contents>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
90 </output>
4338452cbfb9 "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">
4338452cbfb9 "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
337ba922753a 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
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
95 </assert_contents>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
96 </output>
3
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
98 <assert_contents>
3
4338452cbfb9 "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"/>
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
101 </assert_contents>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
102 </output>
3
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
103 </test>
4338452cbfb9 "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">
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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">
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "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=""/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
116 </section>
4338452cbfb9 "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">
4338452cbfb9 "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=""/>
4338452cbfb9 "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=""/>
4338452cbfb9 "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"/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
121 </section>
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
123 <assert_contents>
3
4338452cbfb9 "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"/>
4338452cbfb9 "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"/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
126 </assert_contents>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
127 </output>
4338452cbfb9 "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">
4338452cbfb9 "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
337ba922753a 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
4338452cbfb9 "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"/>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
132 </assert_contents>
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
133 </output>
4338452cbfb9 "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">
4338452cbfb9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 1a79c139165648b969d82530784cea3fc8f2d2c0"
iuc
parents: 2
diff changeset
135 <assert_contents>
4338452cbfb9 "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"/>
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
138 </assert_contents>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
139 </output>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
140 </test>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
141 </tests>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
142 <help><![CDATA[
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
143 **What it does**
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
144
bf23c688912a "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
bf23c688912a "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
4338452cbfb9 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
148
bf23c688912a "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
bf23c688912a "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
151 fasta format.
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
152
1
1f4286d836a3 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
154
1
1f4286d836a3 "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
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
156 ]]></help>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
157 <expand macro="citations"/>
bf23c688912a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/concoct commit 49b42f61ff37c3c33dd15c195e5705e1db066c37"
iuc
parents:
diff changeset
158 </tool>