annotate index.xml @ 1:dff5f0dd17eb draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 92f047d518d90d1a296747511277f397224f4c60
author iuc
date Mon, 25 Aug 2025 20:30:57 +0000
parents 47189346d00d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
2 <tool name="index" id="metasbt_index" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="@PROFILE@" license="MIT">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
3 <description>genomes with Sequence Bloom Trees or update an existing database</description>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
4
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
5 <macros>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
6 <import>macros.xml</import>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
7 </macros>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
8 <expand macro="creator"/>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
9 <expand macro="requirements"/>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
10
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
12 #set input_dir = "./genomes"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
13
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
14 mkdir -p "${input_dir}" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
15
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
16 #for $genome in $genomes:
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
17 genome_name="\$(echo '${genome.element_identifier}' | sed 's/[^[:alnum:]_.-]/_/g')" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
18 target_fna="${input_dir}/\${genome_name}.fna" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
19
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
20 #if $genome.ext.endswith("gz"):
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
21 gzip -dc '${genome}' > "\${target_fna}" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
22 #else
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
23 ln -s '${genome}' "\${target_fna}" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
24 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
25
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
26 echo -e "\${target_fna}" >> "./genomes.txt" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
27 #end for
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
28
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
29 #if $advanced.index_update_conditional.index_update_option == "false":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
30 while IFS=$'\t' read -r genome_name genome_taxonomy; do
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
31 genome_name="\$(echo '\${genome_name}' | sed 's/[^[:alnum:]_.-]/_/g')" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
32 genome_taxonomy="\$(echo '\${genome_taxonomy}' | sed 's/[^[:alnum:]_.-|]/_/g')" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
33
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
34 if [ -f "${input_dir}/\${genome_name}.fna" ]; then
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
35 echo -e "${input_dir}/\${genome_name}.fna\t\${genome_taxonomy}" >> "${input_dir}/genomes.tsv";
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
36 fi
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
37 done < '${taxonomies}' &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
38
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
39 metasbt index --workdir "."
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
40 --database "Database"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
41 --references "${input_dir}/genomes.tsv"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
42 --nproc "\${GALAXY_SLOTS:-4}"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
43 --pack
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
44
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
45 #if $advanced.index_update_conditional.bfs_selection.bfs_auto == "false":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
46 --filter-size '${advanced.index_update_conditional.bfs_selection.bfs_size}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
47 #else:
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
48 --increase-filter-size '${advanced.index_update_conditional.bfs_selection.bfs_size_increase}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
49 --min-kmer-occurrences '${advanced.index_update_conditional.bfs_selection.min_kmer_occurrences}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
50 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
51
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
52 #if $advanced.index_update_conditional.kmers_selection.kmers_auto == "false":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
53 --kmer-size '${advanced.index_update_conditional.kmers_selection.kmer_len}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
54 #else:
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
55 --limit-kmer-size '${advanced.index_update_conditional.kmers_selection.max_kmer_len}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
56 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
57
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
58 #if $advanced.dereplication_selection.dereplication == "true":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
59 --dereplicate '${advanced.dereplication_update_conditional.distance_threshold}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
60 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
61
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
62 #if $advanced.quality_control_selection.quality_control == "true":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
63 --completeness '${advanced.quality_control_selection.completeness}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
64 --contamination '${advanced.quality_control_selection.contamination}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
65 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
66
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
67 &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
68 #else:
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
69 #if $advanced.index_update_conditional.database_selection.source == "cvmfs":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
70 ln -s '${advanced.index_update_conditional.database_selection.db_tarball.fields.path}' "./MetaSBT-Database.tar.gz" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
71 #else:
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
72 ln -s '${advanced.index_update_conditional.database_selection.db_tarball}' "./MetaSBT-Database.tar.gz" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
73 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
74
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
75 metasbt unpack --workdir "."
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
76 --database "Database"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
77 --tarball "./MetaSBT-Database.tar.gz" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
78
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
79 rm "./MetaSBT-Database.tar.gz" &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
80
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
81 metasbt update --workdir "."
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
82 --database "Database"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
83 --genomes "./genomes.txt"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
84 --nproc "\${GALAXY_SLOTS:-4}"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
85 --pack
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
86
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
87 #if $advanced.dereplication_selection.dereplication == "true":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
88 --dereplicate '${advanced.dereplication_selection.distance_threshold}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
89 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
90
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
91 #if $advanced.quality_control_selection.quality_control == "true":
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
92 --completeness '${advanced.quality_control_selection.completeness}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
93 --contamination '${advanced.quality_control_selection.contamination}'
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
94 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
95
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
96 &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
97 #end if
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
98
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
99 tail -n +3 "./Database/clusters.tsv" > clusters.tsv &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
100 tail -n +3 "./Database/genomes.tsv" > genomes.tsv &&
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
101
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
102 mv ./MetaSBT-Database*.tar.gz MetaSBT-Database.tar.gz
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
103 ]]></command>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
104
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
105 <inputs>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
106 <!-- Input genomes -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
107 <param name="genomes" format="fasta,fasta.gz" multiple="true" type="data"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
108 label="Input genomes"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
109 help="Select a set of input genomes." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
110
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
111 <!-- Optional file with mapping betweek input file names and their taxonomic label -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
112 <param name="taxonomies" format="tsv" multiple="false" type="data" optional="true"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
113 label="Input table with taxonomic labels"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
114 help="Optional two-columns table with the input file names and their full taxonomic labels. This is not required in case the input files are not reference genomes." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
115
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
116 <!-- Advanced options -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
117 <section name="advanced" expanded="true"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
118 title="Advanced options"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
119 help="Access advanced options to customize k-mer length, bloom filter size, and other settings.">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
120
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
121 <!-- Show different options in case of index or update -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
122 <conditional name="index_update_conditional">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
123 <param name="index_update_option" type="select"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
124 label="MetaSBT database"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
125 help="When enabled, most of the advanced options are inherited from an already existing database and cannot be modified.">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
126 <option value="true">Update a MetaSBT database</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
127 <option value="false" selected="true">Build your own MetaSBT database from scratch</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
128 </param>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
129
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
130 <when value="false">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
131 <!-- Index -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
132 <!-- Estimate a k-mer length -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
133 <conditional name="kmers_selection">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
134 <!-- Enable k-mer length estimation -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
135 <param name="kmers_auto" type="select"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
136 label="K-mer length"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
137 help="Automatically estimate a proper k-mer length for the input set of genomes with Kitsune.">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
138 <option value="true" selected="true">Estimate a proper k-mer length for your set of genomes</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
139 <option value="false">Set a k-mer length</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
140 </param>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
141
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
142 <when value="true">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
143 <!-- Limit k-mer length -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
144 <param name="max_kmer_len" type="integer" value="9" min="8" max="128"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
145 label="Max k-mer length"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
146 help="Limit the length of k-mers for the estimation of the best k-mer length with Kitsune." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
147 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
148
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
149 <when value="false">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
150 <!-- K-mer length -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
151 <param name="kmer_len" type="integer" value="21" min="8" max="128"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
152 label="Set a k-mer length"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
153 help="Set the length of k-mers." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
154 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
155 </conditional>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
156
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
157 <!-- Estimate the bloom filter size -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
158 <conditional name="bfs_selection">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
159 <!-- Enable bloom filter size estimation -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
160 <param name="bfs_auto" type="select"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
161 label="Bloom filter size"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
162 help="Automatically estimate the most appropriate bloom filter size that better fits with the input set of genomes with ntCard.">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
163 <option value="true" selected="true">Estimate the bloom filter size</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
164 <option value="false">Set a bloom filter size</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
165 </param>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
166
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
167 <when value="true">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
168 <!-- Increment the estimated bloom filter size -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
169 <param name="bfs_size_increase" type="float" value="5" min="0" max="100"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
170 label="Increment the bloom filter size"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
171 help="Increment the estimated bloom filter size by this percentage in case you are planning to update the database with new genomes in future." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
172
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
173 <!-- Minimum number of occurrences of k-mers computed with ntCard -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
174 <param name="min_kmer_occurrences" type="integer" value="1" min="1"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
175 label="Minimum k-mer occurrences"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
176 help="Minimum number of occurrences of k-mers to be considered for the estimation of the bloom filter size and for building the bloom filter sketches." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
177 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
178
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
179 <when value="false">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
180 <!-- Bloom filter size -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
181 <param name="bfs_size" type="integer" value="10000"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
182 label="Set a bloom filter size"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
183 help="Set a bloom filter size for building genome or sequence sketches." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
184 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
185 </conditional>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
186 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
187
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
188 <when value="true">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
189 <expand macro="database"/>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
190 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
191 </conditional>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
192
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
193 <conditional name="dereplication_selection">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
194 <!-- Enable the dereplication of input genomes -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
195 <param name="dereplication" type="select"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
196 label="Dereplication"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
197 help="Enable the dereplication of input genomes based on their ANI distance.">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
198 <option value="true">Dereplicate the input genomes</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
199 <option value="false" selected="true">Do not dereplicate the input genomes</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
200 </param>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
201
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
202 <when value="true">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
203 <!-- ANI distance threshold -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
204 <param name="distance_threshold" type="float" value="0.01" min="0.0" max="1.0"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
205 label="Distance threshold"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
206 help="Set a threshold based on the ANI distance of the sketch representation of the input genomes versus themselves and the other genomes in the database (in case of an update)." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
207 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
208
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
209 <when value="false" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
210 </conditional>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
211
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
212 <conditional name="quality_control_selection">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
213 <!-- Enable the quality control of input genomes -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
214 <param name="quality_control" type="select"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
215 label="Quality Control"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
216 help="Filter out genomes based on their completeness and contamination.">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
217 <option value="true">Enable the quality control of input genomes</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
218 <option value="false" selected="true">Do not assess for the quality of genomes</option>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
219 </param>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
220
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
221 <when value="true">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
222 <!-- Completeness -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
223 <param name="completeness" type="float" value="90.0" min="0.0" max="100.0"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
224 label="Completeness threshold"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
225 help="Set a threshold on the completeness and discard everything below this threshold." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
226
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
227 <!-- Contamination -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
228 <param name="contamination" type="float" value="5.0" min="0.0" max="100.0"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
229 label="Contamination threshold"
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
230 help="Set a threshold on the contamination and discard everything above this threshold." />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
231 </when>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
232
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
233 <when value="false" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
234 </conditional>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
235 </section>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
236 </inputs>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
237
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
238 <outputs>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
239 <!-- Table with known and unknown clusters -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
240 <data format="tabular" name="clusters_table" label="${tool.name} on ${on_string}: clusters" from_work_dir="clusters.tsv">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
241 <actions>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
242 <action name="column_names" type="metadata" default="Cluster,Level,Bloom Filter Density,Number of Reference Genomes,Number of MAGs,List of Reference Genomes,List of MAGs,Cluster Centroid,Known,Assigned Taxonomy,Internal Taxonomy,Minimum pair-wise ANI,Maximum pair-wise ANI" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
243 <action name="column_types" type="metadata" default="str,str,float,int,int,str,str,str,str,str,str,float,float" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
244 </actions>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
245 </data>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
246
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
247 <!-- Table with list of genomes and their assignments -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
248 <data format="tabular" name="genomes_table" label="${tool.name} on ${on_string}: genomes" from_work_dir="genomes.tsv">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
249 <actions>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
250 <action name="column_names" type="metadata" default="Genome,Type,Assigned Taxonomy,Internal Taxonomy" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
251 <action name="column_types" type="metadata" default="str,str,str,str" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
252 </actions>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
253 </data>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
254
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
255 <!-- Database as compressed tarball -->
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
256 <data format="tar" name="database" label="${tool.name} on ${on_string}: database" from_work_dir="MetaSBT-Database.tar.gz" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
257 </outputs>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
258
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
259 <tests>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
260 <test expect_num_outputs="3">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
261 <param name="genomes" value="genome_1.fna.gz,genome_2.fna.gz,genome_3.fna.gz,genome_4.fna.gz,genome_5.fna.gz,genome_6.fna.gz" ftype="fasta.gz" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
262
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
263 <param name="advanced|index_update_conditional|index_update_option" value="true" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
264 <param name="advanced|index_update_conditional|database_selection|source" value="history" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
265 <param name="advanced|index_update_conditional|database_selection|db_tarball" ftype="tar" value="MetaSBT-Test-20250620.1.tar.gz" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
266
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
267 <output name="clusters_table" ftype="tabular">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
268 <assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
269 <has_text text="k__Viruses|p__Nucleocytoviricota|c__Pokkesviricetes|o__Chitovirales|f__Poxviridae|g__Orthopoxvirus|s__Monkeypox_virus" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
270 </assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
271 </output>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
272
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
273 <output name="genomes_table" ftype="tabular">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
274 <assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
275 <has_text text="genome_1" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
276 <has_text text="genome_2" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
277 <has_text text="genome_3" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
278 <has_text text="genome_4" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
279 </assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
280 </output>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
281
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
282 <output name="database" ftype="tar">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
283 <assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
284 <has_size value="468556" delta="10000"/>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
285 </assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
286 </output>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
287 </test>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
288
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
289 <test expect_num_outputs="3">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
290 <param name="genomes" value="genome_1.fna.gz,genome_2.fna.gz,genome_3.fna.gz,genome_4.fna.gz,genome_5.fna.gz,genome_6.fna.gz" ftype="fasta.gz" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
291
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
292 <param name="advanced|index_update_conditional|index_update_option" value="true" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
293 <param name="advanced|index_update_conditional|database_selection|source" value="cvmfs" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
294 <param name="advanced|index_update_conditional|database_selection|db_tarball" value="test_db" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
295
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
296 <output name="clusters_table" ftype="tabular">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
297 <assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
298 <has_text text="k__Viruses|p__Nucleocytoviricota|c__Pokkesviricetes|o__Chitovirales|f__Poxviridae|g__Orthopoxvirus|s__Monkeypox_virus" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
299 </assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
300 </output>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
301
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
302 <output name="genomes_table" ftype="tabular">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
303 <assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
304 <has_text text="genome_1" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
305 <has_text text="genome_2" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
306 <has_text text="genome_3" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
307 <has_text text="genome_4" />
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
308 </assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
309 </output>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
310
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
311 <output name="database" ftype="tar">
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
312 <assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
313 <has_size value="468556" delta="10000"/>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
314 </assert_contents>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
315 </output>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
316 </test>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
317 </tests>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
318
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
319 <help>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
320 <![CDATA[
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
321 **What it does**
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
322
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
323 MetaSBT is a scalable framework for the characterization of known and still unknown microbial genomes with Sequence Bloom Trees.
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
324 This tool act as an interface to the `index` and `update` subroutines of MetaSBT for the generation and update of new or predefined public databases.
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
325
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
326 -----
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
327
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
328 .. class:: infomark
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
329
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
330 Please visit the official GitHub repository_ for additional information about MetaSBT.
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
331 Public MetaSBT Databases are available at the official MetaSBT-DBs_ repository.
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
332
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
333 .. _repository: https://github.com/cumbof/MetaSBT
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
334 .. _MetaSBT-DBs: https://github.com/cumbof/MetaSBT-DBs
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
335 ]]>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
336 </help>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
337
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
338 <expand macro="citations"/>
47189346d00d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/metasbt commit 5509a3fab8eb49e931a5fde335dd7030e16737f5
iuc
parents:
diff changeset
339 </tool>