comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:3561eccb9e5d
1 <tool id="chewbbaca_prepexternalschema" name="chewBBACA PrepExternalSchema" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>Adapt an external schema to be used with chewBBACA</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="exit_code"><![CDATA[
8 unzip '$input_schema' -d 'schema' &&
9 chewBBACA.py PrepExternalSchema
10 #if $training_file:
11 --ptf '$training_file'
12 #end if
13 #if $genes_list:
14 --gl '$genes_list'
15 #end if
16 @COMMON_INPUT@
17 $size_filter
18 -g 'schema/' -o 'schema_seed' &&
19 zip -r PExternalschema_seed.zip 'schema_seed'
20 ]]></command>
21 <inputs>
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."/>
23 <section name="advanced" title="Advanced options">
24 <param argument="--training-file" type="data" format="binary" label="Prodigal training file" optional="true" />
25 <param argument="--genes-list" type="data" format="txt" label="Gene list" optional="true" />
26 <param argument="--minimum-length" type="integer" min="0" value="0" label="Minimum sequence length value"/>
27 <expand macro="common_param" />
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" />
29 </section>
30 </inputs>
31 <outputs>
32 <data format="zip" name="schema" from_work_dir="PExternalschema_seed.zip" label="${tool.name} on ${on_string}: PrepExternal Schema files"/>
33 </outputs>
34 <tests>
35 <test expect_num_outputs="1">
36 <param name="input_schema" value="PrepExternal_test.zip"/>
37 <param name="size_filter" value="false"/>
38 <output name="schema">
39 <assert_contents>
40 <has_archive_member path="schema_seed/.*\.fasta" n="204"/>
41 <has_archive_member path="schema_seed/short/.*\.fasta" n="102"/>
42 <has_archive_member path="schema_seed/\.schema_config"/>
43 </assert_contents>
44 </output>
45 </test>
46 </tests>
47 <help>
48
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.
50
51 The PrepExternalSchema module enables the adaptation of external schemas so that it is possible to use those schemas with chewBBACA.
52
53 </help>
54 <expand macro="citations" />
55 </tool>