annotate ExtractCgMLST.xml @ 0:ad1b30369cdd draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
author iuc
date Wed, 25 Sep 2024 14:12:35 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
1 <tool id="chewbbaca_extractcgmlst" name="chewBBACA ExtractCgMLST" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
2 <description>Determine the set of loci that constitute the core genome</description>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
3 <macros>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
5 </macros>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
6 <expand macro="requirements" />
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
8 chewBBACA.py ExtractCgMLST
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
9 --t $threshold
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
10 #if $genes2remove:
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
11 --r '$genes2remove'
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
12 #end if
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
13 #if $genomes2remove:
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
14 --g '$genomes2remove'
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
15 #end if
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
16 -i '$input_file' -o 'output'
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
17 ]]></command>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
18 <inputs>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
19 <param argument="--input-file" type="data" label="Allelic Profiles" format="tabular"/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
20 <section name="advanced" title="Advanced options">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
21 <param argument="--genomes2remove" type="data" format="txt" label="Genomes/rows to remove from the matrix" optional="true" help="One genome identifier per line"/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
22 <param argument="--threshold" type="text" value="0.95 0.99 1" label="threshold" help="Genes that constitute the core genome must be in a proportion of genomes that is at least equal to this value. Users can provide multiple values as a space-separated list.">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
23 <validator type="regex">[ .0-9]+</validator>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
24 </param>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
25 <param argument="--genes2remove" type="data" format="tabular" label="List of genes to exclude from analysis" optional="true" help="the list of genes listed in the &quot;paralogous_counts.tsv&quot; file created by the AlleleCall process."/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
26 </section>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
27 </inputs>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
28 <outputs>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
29 <collection name="output_collection" type="list" format="html,tsv,txt" label="${tool.name} on ${on_string}">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
30 <discover_datasets pattern="__name_and_ext__" directory="output"/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
31 </collection>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
32 </outputs>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
33 <tests>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
34 <test>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
35 <param name="input_file" value="results_alleles.tsv"/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
36 <output_collection name="output_collection" type="list">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
37 <element name="missing_loci_stats">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
38 <assert_contents>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
39 <has_text_matching expression="GCA_000007265"/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
40 </assert_contents>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
41 </element>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
42 <element name="presence_absence">
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
43 <assert_contents>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
44 <has_text_matching expression="GCA_000007265"/>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
45 </assert_contents>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
46 </element>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
47 </output_collection>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
48 </test>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
49 </tests>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
50 <help>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
51 chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results.
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
52
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
53 cgMLST schemas are defined as the set of loci that are present in all strains under analysis or, due to sequencing/assembly limitations, >95% of strains analyzed. In order to have a robust definition of a cgMLST schema for a given bacterial species, a set of representative strains of the diversity of a given species should be selected.
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
54
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
55 .. class:: infomark
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
56
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
57 **Note**
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
58
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
59 The user can define a **space-separated** list of values for --threshold
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
60 </help>
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
61 <expand macro="citations" />
ad1b30369cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
62 </tool>