comparison PrepExternalSchema.xml @ 0:6f7cfce9494d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 89daebdb9c3d599b3dbac4eb357fb87d2f92e62b
author iuc
date Sat, 13 Apr 2024 22:28:01 +0000
parents
children 0b73dd40d83f
comparison
equal deleted inserted replaced
-1:000000000000 0:6f7cfce9494d
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 mkdir 'schema' &&
9 unzip '$input_schema' -d 'schema' &&
10 chewBBACA.py PrepExternalSchema
11 #if $training_file:
12 --ptf '$training_file'
13 #end if
14 #if $genes_list:
15 --gl '$genes_list'
16 #end if
17 @COMMON_INPUT@
18 $size_filter
19 -g 'schema/schema_seed/' -o 'schema_seed' &&
20 zip -r PExternalschema_seed.zip 'schema_seed'
21 ]]></command>
22 <inputs>
23 <param format="zip" name="input_schema" type="data" label="Schema Files in zip format" help="The schema directory contains the loci FASTA files and a folder named 'short' that contains the FASTA files with the loci representative alleles."/>
24 <section name="advanced" title="Advanced options">
25 <param argument="--training-file" type="data" format="binary" label="Prodigal training file" optional="true" />
26 <param argument="--genes-list" type="data" format="txt" label="Gene list" optional="true" />
27 <param argument="--minimum-length" type="integer" min="0" value="0" label="Minimum sequence length value"/>
28 <expand macro="common_param" />
29 <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" />
30 </section>
31 </inputs>
32 <outputs>
33 <data format="zip" name="schema" from_work_dir="PExternalschema_seed.zip" label="${tool.name} on ${on_string}: PrepExternal Schema files"/>
34 </outputs>
35 <tests>
36 <test expect_num_outputs="1">
37 <param name="input_schema" value="GCA_000007265.1_ASM726v1_schema_seed.zip"/>
38 <param name="size_filter" value="false"/>
39 <output name="schema">
40 <assert_contents>
41 <has_archive_member path="schema_seed/.*\.fasta" n="204"/>
42 <has_archive_member path="schema_seed/short/.*\.fasta" n="102"/>
43 <has_archive_member path="schema_seed/\.schema_config"/>
44 </assert_contents>
45 </output>
46 </test>
47 </tests>
48 <help>
49
50 chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results.
51
52 The PrepExternalSchema module enables the adaptation of external schemas so that it is possible to use those schemas with chewBBACA.
53
54 </help>
55 <expand macro="citations" />
56 </tool>