annotate PrepExternalSchema.xml @ 0:3561eccb9e5d 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:13:01 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
1 <tool id="chewbbaca_prepexternalschema" name="chewBBACA PrepExternalSchema" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
2 <description>Adapt an external schema to be used with chewBBACA</description>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
3 <macros>
3561eccb9e5d 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>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
5 </macros>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
6 <expand macro="requirements" />
3561eccb9e5d 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[
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
8 unzip '$input_schema' -d 'schema' &&
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
9 chewBBACA.py PrepExternalSchema
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
10 #if $training_file:
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
11 --ptf '$training_file'
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
12 #end if
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
13 #if $genes_list:
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
14 --gl '$genes_list'
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
15 #end if
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
16 @COMMON_INPUT@
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
17 $size_filter
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
18 -g 'schema/' -o 'schema_seed' &&
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
19 zip -r PExternalschema_seed.zip 'schema_seed'
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
20 ]]></command>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
21 <inputs>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
22 <param format="zip" name="input_schema" type="data" label="Schema Files in zip format" help="The schema directory contains the loci FASTA files and the schema must contain one FASTA file per gene/locus."/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
23 <section name="advanced" title="Advanced options">
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
24 <param argument="--training-file" type="data" format="binary" label="Prodigal training file" optional="true" />
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
25 <param argument="--genes-list" type="data" format="txt" label="Gene list" optional="true" />
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
26 <param argument="--minimum-length" type="integer" min="0" value="0" label="Minimum sequence length value"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
27 <expand macro="common_param" />
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
28 <param argument="--size-filter" type="boolean" truevalue="--size-filter" falsevalue="" checked="false" label="Size filter" help="Apply the minimum length and size threshold values to filter out alleles during schema adaptation" />
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
29 </section>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
30 </inputs>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
31 <outputs>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
32 <data format="zip" name="schema" from_work_dir="PExternalschema_seed.zip" label="${tool.name} on ${on_string}: PrepExternal Schema files"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
33 </outputs>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
34 <tests>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
35 <test expect_num_outputs="1">
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
36 <param name="input_schema" value="PrepExternal_test.zip"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
37 <param name="size_filter" value="false"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
38 <output name="schema">
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
39 <assert_contents>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
40 <has_archive_member path="schema_seed/.*\.fasta" n="204"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
41 <has_archive_member path="schema_seed/short/.*\.fasta" n="102"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
42 <has_archive_member path="schema_seed/\.schema_config"/>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
43 </assert_contents>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
44 </output>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
45 </test>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
46 </tests>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
47 <help>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
48
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
49 chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results.
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
50
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
51 The PrepExternalSchema module enables the adaptation of external schemas so that it is possible to use those schemas with chewBBACA.
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
52
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
53 </help>
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
54 <expand macro="citations" />
3561eccb9e5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
55 </tool>