annotate CreateSchema.xml @ 0:1fc5ac7a8dce 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:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
1 <tool id="chewbbaca_createschema" name="chewBBACA CreateSchema" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
2 <description>Create a gene-by-gene schema</description>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
3 <macros>
1fc5ac7a8dce 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>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
5 </macros>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
6 <expand macro="requirements" />
1fc5ac7a8dce 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[
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
8 #import re
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
9 mkdir 'input' &&
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
10 #for $file in $input_file
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
11 #set escaped_element_identifier = re.sub('[^\w\-]', '_', str($file.element_identifier))
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
12 ln -sf '$file' 'input/${escaped_element_identifier}.${file.ext}' &&
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
13 #end for
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
14 chewBBACA.py CreateSchema
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
15 #if $training_file:
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
16 --ptf '$training_file'
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
17 #end if
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
18 $cds_input
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
19 @COMMON_INPUT@
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
20 --pm $prodigal_mode
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
21 -i 'input' -o 'output' &&
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
22 cd 'output/' &&
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
23 zip -r schema_seed.zip 'schema_seed'
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
24 ]]></command>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
25 <inputs>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
26 <param format="fasta" name="input_file" type="data" multiple="True" label="Genome assemblies in FASTA format"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
27 <section name="advanced" title="Advanced options">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
28 <param argument="--training-file" type="data" format="binary" label="Prodigal training file" optional="true" />
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
29 <param argument="--cds-input" type="boolean" truevalue="--cds-input" falsevalue="" checked="false" label="CDS input" optional="true"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
30 <param argument="--minimum-length" type="integer" min="0" value="201" label="Minimum sequence length value"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
31 <expand macro="common_param" />
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
32 <param argument="--prodigal-mode" type="select" label="Prodigal Mode" help="&quot;single&quot; for finished genomes, reasonable quality draft genomes and big viruses. &quot;meta&quot; for metagenomes, low quality draft genomes, small viruses, and small plasmids">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
33 <option value="single" selected="true">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
34 single
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
35 </option>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
36 <option value="meta">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
37 meta
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
38 </option>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
39 </param>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
40 </section>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
41 <section name="output" title="Output options">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
42 <param name="show_cds_invalid" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Output invalid CDS file?"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
43 <param name="show_cds_coord" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Output CDS coordinates File?"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
44 </section>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
45 </inputs>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
46 <outputs>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
47 <data format="zip" name="schema" from_work_dir="output/schema_seed.zip" label="${tool.name} on ${on_string}: Schema files"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
48 <data format="txt" name="txt_file" from_work_dir="output/invalid_cds.txt" label="${tool.name} on ${on_string}: Invalid CDS">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
49 <filter>output['show_cds_invalid']</filter>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
50 </data>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
51 <data format="tabular" name="tsv_file" from_work_dir="output/cds_coordinates.tsv" label="${tool.name} on ${on_string}: CDS coordinates">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
52 <filter>output['show_cds_coord']</filter>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
53 </data>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
54 </outputs>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
55 <tests>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
56 <test expect_num_outputs="1">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
57 <param name="input_file" value="GCA_000007265.fna"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
58 <output name="schema">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
59 <assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
60 <has_archive_member path="schema_seed/.*\.fasta" n="204"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
61 <has_archive_member path="schema_seed/short/.*\.fasta" n="102"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
62 <has_archive_member path="schema_seed/\.schema_config"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
63 </assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
64 </output>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
65 </test>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
66 <test expect_num_outputs="1">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
67 <param name="input_file" value="GCA_000007265"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
68 <output name="schema">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
69 <assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
70 <has_archive_member path="schema_seed/.*\.fasta" n="204"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
71 <has_archive_member path="schema_seed/short/.*\.fasta" n="102"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
72 <has_archive_member path="schema_seed/\.schema_config"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
73 </assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
74 </output>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
75 </test>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
76 <test expect_num_outputs="1">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
77 <param name="input_file" value="GCA_000007265.fna"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
78 <param name="training_file" value="Streptococcus_agalactiae.trn"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
79 <output name="schema">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
80 <assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
81 <has_archive_member path="schema_seed/.*\.fasta" n="198"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
82 <has_archive_member path="schema_seed/short/.*\.fasta" n="99"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
83 <has_archive_member path="schema_seed/\.schema_config"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
84 </assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
85 </output>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
86 </test>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
87 <test expect_num_outputs="1">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
88 <param name="input_file" value="CDS_Str_agalactiae.fasta"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
89 <param name="cds_input" value="true"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
90 <output name="schema">
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
91 <assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
92 <has_archive_member path="schema_seed/CDS-Str-agalactiae-fasta-protein1.fasta"/>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
93 </assert_contents>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
94 </output>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
95 </test>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
96 </tests>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
97 <help>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
98
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
99 chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
100
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
101 A Schema is a pre-defined set of loci that is used in MLST analyses. Traditional MLST schemas relied in 7 loci that were internal fragments of housekeeping genes and each locus was defined by its amplification by a pair of primers yielding a fragment of a defined size.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
102
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
103 In genomic analyses, schemas are a set of loci that are:
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
104
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
105 - Present in the majority of strains for core genome (cg) MLST schemas, typically a threshold of presence in 95% of the strains is used in schema creation. The assumption is that in each strain up to 5% of loci may not be identified due to sequencing coverage problems, assembly problems or other issues related to the use of draft genome assemblies.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
106 - Present in at least one of the analyzed strains in the schema creation for pan genome/whole genome (pg/wg) MLST schemas.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
107 - Present in less than 95% of the strains for accessory genome (ag) MLST schemas.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
108
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
109 .. class:: infomark
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
110
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
111 **Note**
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
112
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
113 These definitions are always operational in nature, in the sense that the analyses are performed on a limited number of strains representing part of the biological diversity of a given species or genus and are always dependent on the definition of thresholds.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
114
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
115 .. class:: infomark
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
116
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
117 **Important**
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
118
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
119 The use of a prodigal training file for schema creation is highly recommended.
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
120
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
121 .. class:: infomark
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
122
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
123 **Important**
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
124
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
125 If you provide the **--cds-input** parameter, chewBBACA assumes that the input FASTA files contain coding sequences and skips the gene prediction step with Prodigal. To avoid issues related with the format of the sequence headers, chewBBACA renames the sequence headers based on the unique basename prefix determined for each input file and on the order of the coding sequences (e.g.: coding sequences inside a file named GCF_000007125.1_ASM712v1_cds_from_genomic.fna are renamed to GCF_000007125-protein1, GCF_000007125-protein2, …, GCF_000007125-proteinN).
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
126
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
127 </help>
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
128 <expand macro="citations" />
1fc5ac7a8dce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
129 </tool>