annotate AlleleCall.xml @ 0:1ac58e449c87 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:27 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
1 <tool id="chewbbaca_allelecall" name="ChewBBACA AlleleCall" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
2 <description>Determine the allelic profiles of a set of genomes</description>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
3 <macros>
1ac58e449c87 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>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
5 </macros>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
6 <expand macro="requirements" />
1ac58e449c87 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[
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
8 #import re
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
9 mkdir 'input' &&
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
10 mkdir 'schema' &&
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
11 #for $file in $input_file
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
12 #set escaped_element_identifier = re.sub('[^\w\-]', '_', str($file.element_identifier))
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
13 ln -sf '$file' 'input/${escaped_element_identifier}.${file.ext}' &&
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
14 #end for
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
15 unzip '$input_schema' -d 'schema' &&
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
16 chewBBACA.py AlleleCall
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
17 #if $training_file:
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
18 --ptf '$training_file'
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
19 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
20 $cds_input
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
21 #if $genes_list:
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
22 --gl '$genes_list'
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
23 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
24 #if str($blast_score_ratio) != ""
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
25 --bsr $blast_score_ratio
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
26 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
27 #if str($minimum_length) != ""
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
28 --l $minimum_length
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
29 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
30 #if str($translation_table) != ""
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
31 --t $translation_table
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
32 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
33 #if str($size_threshold) != ""
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
34 --st $size_threshold
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
35 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
36 $no_inferred
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
37 --pm $prodigal_mode
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
38 --mode $mode
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
39 --force-continue
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
40 #if 'output_unclassified' in $output_selector:
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
41 --output-unclassified
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
42 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
43 #if 'output_missing' in $output_selector:
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
44 --output-missing
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
45 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
46 #if 'output_novel' in $output_selector:
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
47 --output-novel
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
48 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
49 #if 'hash_profile' in $output_selector:
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
50 ## It can use any hashing algorithm from hashlib but for simplicity we set it to md5
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
51 --hash-profile md5
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
52 #end if
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
53 -i 'input' -g 'schema/schema_seed/' -o 'output'
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
54 ]]></command>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
55 <inputs>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
56 <param format="fasta" name="input_file" type="data" multiple="true" label="Genome assemblies in FASTA format"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
57 <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."/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
58 <section name="advanced" title="Advanced options">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
59 <param argument="--genes-list" type="data" format="txt" label="Gene list" optional="true" />
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
60 <param argument="--training-file" type="data" format="binary" label="Prodigal training file" optional="true" help="By default, gets the training file from the schema"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
61 <param argument="--cds-input" type="boolean" truevalue="--cds-input" falsevalue="" checked="false" label="CDS input" optional="true"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
62 <param argument="--blast-score-ratio" type="float" min="0.0" max="1.0" value="" optional="true" label="BLAST Score Ratio value" />
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
63 <param argument="--minimum-length" type="integer" min="0" value="" optional="true" label="Minimum sequence length value"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
64 <param argument="--translation-table" type="integer" min="0" value="" optional="true" help="Must match the genetic code used to create the training file (default: uses value defined in schema config)." label="Genetic code used to predict genes and to translate coding sequences"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
65 <param argument="--size-threshold" type="float" min="0" value="" optional="true" label="CDS size variation threshold"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
66 <param argument="--no-inferred" type="boolean" truevalue="--no-inferred" falsevalue="" checked="false" optional="true" label="Add the sequences of inferred alleles (INF) to the schema" help="Use this parameter if the schema is being accessed by multiple processes/users simultaneously." />
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
67 <param argument="--prodigal-mode" type="select" optional="true" 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">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
68 <option value="single" selected="true">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
69 single
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
70 </option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
71 <option value="meta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
72 meta
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
73 </option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
74 </param>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
75 <param argument="--mode" type="select" label="Execution mode" optional="true">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
76 <option value="1">Only exact matches at DNA level</option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
77 <option value="2">Exact matches at DNA and Protein level </option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
78 <option value="3">Exact matches and minimizer-based clustering to find similar alleles based on BSR+0.1 </option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
79 <option value="4" selected="true">Exact matches and minimizer-based clustering to find similar alleles based on BSR+0.1 </option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
80 </param>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
81 </section>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
82 <section name="output" title="Output Options">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
83 <param name="output_selector" type="select" multiple="true" optional="true" display="checkboxes" label="Select / Deselect all">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
84 <option value="output_unclassified">Create a Fasta file with unclassified coding sequences. (--output-unclassified)</option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
85 <option value="output_missing">Create a Fasta file with coding sequences classified as NIPH, NIPHEM, ASM, ALM, PLOT3, PLOT5 and LOTSC. (--output-missing)</option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
86 <option value="output_novel">Create Fasta file with the novel alleles inferred during the allele calling. (--output-novel)</option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
87 <option value="hash_profile">Create TSV file with hashed allelic profiles. (--hash-profile) </option>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
88 </param>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
89 </section>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
90 </inputs>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
91 <outputs>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
92 <collection name="allelecall_results" type="list" label="${tool.name} on ${on_string}: AlleleCall Results">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
93 <discover_datasets pattern="(?P&lt;name&gt;.+)\.tsv$" format="tabular" directory="output"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
94 </collection>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
95 <collection name="allelcall_log" type="list" label="${tool.name} on ${on_string}: AlleleCall Logs">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
96 <discover_datasets pattern="(?P&lt;name&gt;.+)\.txt$" format="txt" directory="output"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
97 </collection>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
98 <data name="unclassified_fasta" format="fasta" from_work_dir="output/unclassified_sequences.fasta" label="${tool.name} on ${on_string}: Unclassified fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
99 <filter>output['output_selector'] and 'output_unclassified' in output['output_selector']</filter>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
100 </data>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
101 <data name="missing_fasta" format="fasta" from_work_dir="output/missing_classes.fasta" label="${tool.name} on ${on_string}: Missing fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
102 <filter>output['output_selector'] and 'output_missing' in output['output_selector']</filter>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
103 </data>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
104 <data name="novel_fasta" format="fasta" from_work_dir="output/novel_alleles.fasta" label="${tool.name} on ${on_string}: Novel fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
105 <filter>output['output_selector'] and 'output_novel' in output['output_selector']</filter>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
106 </data>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
107 </outputs>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
108 <tests>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
109 <test expect_num_outputs="4">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
110 <param name="input_file" value="GCA_000007265"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
111 <param name="input_schema" value="schema.zip"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
112 <param name="output_selector" value="output_unclassified,output_missing,hash_profile" />
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
113 <output_collection name="allelecall_results" type="list">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
114 <element name="cds_coordinates" file="cds_coordinates.tsv" compare="diff"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
115 <element name="loci_summary_stats" file="loci_summary_stats.tsv" compare="diff"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
116 <element name="paralogous_loci" ftype="tabular">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
117 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
118 <has_text_matching expression="Genome.*Loci.*CDS"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
119 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
120 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
121 <element name="results_alleles" ftype="tabular">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
122 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
123 <has_text_matching expression="1.*1.*NIPHEM.*1.*1"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
124 <has_text_matching expression="GCA_000007265.*1"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
125 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
126 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
127 <element name="results_alleles" file="results_alleles.tsv" compare="diff"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
128 <element name="results_alleles_hashed" ftype="tabular">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
129 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
130 <has_text_matching expression="FILE.*GCA-000007265-protein1.*GCA-000007265-protein10.*GCA-000007265-protein100"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
131 <has_text_matching expression="GCA_000007265.*308e7666834338d0530d925b2737f2c6.*4aece26d201d59a90947e3400c7abf3f.*ebea148832aa2ae2704d37ebd5123169"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
132 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
133 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
134 <element name="results_statistics" file="results_statistics.tsv" compare="diff"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
135 </output_collection>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
136 <output_collection name="allelcall_log" type="list">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
137 <element name="logging_info" ftype="txt">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
138 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
139 <has_text_matching expression="Used a BSR of: 0.6"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
140 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
141 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
142 </output_collection>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
143 <output name="unclassified_fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
144 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
145 <has_text_matching expression="GCA_000007265-protein15"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
146 <has_text_matching expression="ATGCACCACCTGTCACTTCTGCTCCGAAGAGAAAGCCTATCTCTAGGCCGGTCAGAAGGATGTCAAGACCTGGTAAGGTTCTTCGCGTTGCTTCGAATTAAACCACATGCTCCACCGCTTGTGCGGGCCCCCGTCAATTCCTTTGAGTTTCAACCTTGCGGTCGTACTCCCCAGGCGGAGTGCTTAATGCGTTAG"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
147 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
148 </output>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
149 <output name="missing_fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
150 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
151 <has_text_matching expression="1|GCA_000007265|GCA-000007265-protein16&amp;NIPHEM|GCA_000007265-protein16&amp;EXC"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
152 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
153 </output>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
154 </test>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
155 <test expect_num_outputs="4">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
156 <param name="input_file" value="GCA_000007265.fna"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
157 <param name="input_schema" value="schema.zip"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
158 <param name="output_selector" value="output_unclassified,output_missing,hash_profile" />
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
159 <output_collection name="allelecall_results" type="list">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
160 <element name="paralogous_loci" ftype="tabular">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
161 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
162 <has_text_matching expression="Genome.*Loci.*CDS"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
163 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
164 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
165 <element name="results_alleles" ftype="tabular">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
166 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
167 <has_text_matching expression="1.*1.*NIPHEM.*1.*1"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
168 <has_text_matching expression="GCA_000007265.*1"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
169 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
170 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
171 <element name="results_alleles_hashed" ftype="tabular">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
172 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
173 <has_text_matching expression="FILE.*GCA-000007265-protein1.*GCA-000007265-protein10.*GCA-000007265-protein100"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
174 <has_text_matching expression="GCA_000007265_fna.*308e7666834338d0530d925b2737f2c6.*4aece26d201d59a90947e3400c7abf3f.*ebea148832aa2ae2704d37ebd5123169"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
175 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
176 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
177 </output_collection>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
178 <output_collection name="allelcall_log" type="list">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
179 <element name="logging_info" ftype="txt">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
180 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
181 <has_text_matching expression="Used a BSR of: 0.6"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
182 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
183 </element>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
184 </output_collection>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
185 <output name="unclassified_fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
186 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
187 <has_text_matching expression="GCA_000007265_fna-protein83"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
188 <has_text_matching expression="ATGCACCACCTGTCACTTCTGCTCCGAAGAGAAAGCCTATCTCTAGGCCGGTCAGAAGGATGTCAAGACCTGGTAAGGTTCTTCGCGTTGCTTCGAATTAAACCACATGCTCCACCGCTTGTGCGGGCCCCCGTCAATTCCTTTGAGTTTCAACCTTGCGGTCGTACTCCCCAGGCGGAGTGCTTAATGCGTTAG"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
189 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
190 </output>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
191 <output name="missing_fasta">
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
192 <assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
193 <has_text_matching expression="1|GCA_000007265|GCA-000007265-protein16&amp;NIPHEM|GCA_000007265-protein16&amp;EXC"/>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
194 </assert_contents>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
195 </output>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
196 </test>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
197 </tests>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
198 <help>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
199 chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results.
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
200
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
201 In chewBBACA, by default, an allele needs to be a CDS defined by Prodigal_. To ensure reproducibility of the CDS prediction, the same Prodigal training file for each bacterial species should be used and provided as input.
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
202
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
203 .. class:: infomark
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
204
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
205 **Important**
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
206
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
207 Although the use of a training file is optional, it is highly recommended to ensure consistent results.
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
208
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
209 If the schema files are created by chewBBACA v2, please use the PrepExternalSchema module to convert the schema to a format fully compatible with chewBBACA v3.
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
210
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
211 By default, the AlleleCall module uses the Prodigal training file included in the schema’s directory and it is not necessary to pass a training file to the --ptf parameter.
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
212
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
213 .. class:: infomark
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
214
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
215 **Note**
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
216
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
217 If a text file that contains a list of full paths to loci FASTA files or loci IDs, one per line, is passed to the --genes-list parameter, the process will only perform allele calling for the loci in that list.
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
218
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
219 .. _Prodigal: https://github.com/hyattpd/Prodigal
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
220 </help>
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
221 <expand macro="citations" />
1ac58e449c87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff changeset
222 </tool>