annotate coreprofiler_allele_calling.xml @ 6:2b8a05bf028b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit adc61f2c22d06e320a8a3776d5255f14ddd94e78
author iuc
date Thu, 08 Jan 2026 10:29:52 +0000
parents 2cce87fd19ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
1 <tool id="coreprofiler_allele_calling" name="CoreProfiler allele_calling" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
2 <description>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
3 Calls cgMLST alleles from a bacterial genome using a reference scheme
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
4 </description>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
5 <macros>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
6 <import>macro.xml</import>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
7 </macros>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
8 <expand macro="biotools"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
9 <expand macro="requirements"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
10 <expand macro="version_command"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
11 <command detect_errors="aggressive"><![CDATA[
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
12 #import re
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
13
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
14 #set $input_files = []
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
15 #for $i, $input in enumerate($input_file):
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
16 #if str($input.ext).endswith('.gz'):
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
17 gunzip -c '$input' > input_${i}.fasta &&
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
18 #set $decompressed_file = 'input_' + str($i) + '.fasta'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
19 #silent $input_files.append($decompressed_file)
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
20 #else:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
21 #silent $input_files.append(str($input))
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
22 #end if
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
23 #end for
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
24
5
2cce87fd19ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 7f2587b3f86c5024c7588185712d1eced9bbb037
iuc
parents: 0
diff changeset
25 #set $scheme_path = str($input_scheme.fields.path) + '/' + str($input_scheme.fields.scheme_path)
2cce87fd19ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 7f2587b3f86c5024c7588185712d1eced9bbb037
iuc
parents: 0
diff changeset
26 #set $db_path = str($input_scheme.fields.path) + '/' + str($input_scheme.fields.db_path)
2cce87fd19ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 7f2587b3f86c5024c7588185712d1eced9bbb037
iuc
parents: 0
diff changeset
27
0
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
28 coreprofiler allele_calling
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
29 --query #echo ' '.join($input_files)
5
2cce87fd19ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 7f2587b3f86c5024c7588185712d1eced9bbb037
iuc
parents: 0
diff changeset
30 --scheme_dir '$scheme_path'
2cce87fd19ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 7f2587b3f86c5024c7588185712d1eced9bbb037
iuc
parents: 0
diff changeset
31 --blast_db_path '$db_path'
0
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
32 --num_threads "\${GALAXY_SLOTS:-1}"
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
33
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
34 ##Autotag
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
35 --autotag_word_size '$autotag_section.autotag_word_size'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
36
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
37 ##Scannew
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
38 --min_id_new_allele '$scannew_section.min_id_new_allele'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
39 --min_cov_new_allele '$scannew_section.min_cov_new_allele'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
40 --min_cov_incomplete '$scannew_section.min_cov_incomplete'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
41
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
42
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
43 #if str($scannew_section.detailed) == 'true':
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
44 --detailed
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
45 #end if
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
46 #if str($scannew_section.cds) == 'true':
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
47 -cds
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
48 #end if
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
49
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
50 #if "profiles_w_tmp_alleles_output" in $scannew_section.output_selection:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
51 --profiles_w_tmp_alleles profiles_w_tmp_alleles.json
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
52 #end if
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
53 #if "outfa_output" in $scannew_section.output_selection:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
54 --outfa '$outfa'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
55 #end if
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
56 #if "num_alleles_per_locus_output" in $scannew_section.output_selection:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
57 --num_alleles_per_locus '$num_alleles_per_locus'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
58 #end if
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
59
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
60 -out '$output_file'
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
61
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
62 ]]></command>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
63 <inputs>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
64 <param name="input_file" type="data" format="fasta,fasta.gz" multiple="true" label="Genome assemblies in FASTA/FASTA.GZ format" help="Provide one or more genome assembly files in FASTA/FASTA.GZ format." />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
65 <param name="input_scheme" type="select" label="Reference allele scheme" help="Select a pre-installed reference allele scheme. If the desired scheme is not listed, please contact your Galaxy administrator.">
6
2b8a05bf028b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit adc61f2c22d06e320a8a3776d5255f14ddd94e78
iuc
parents: 5
diff changeset
66 <options from_data_table="coreprofiler_versioned_scheme">
0
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
67 <validator message="No reference allele scheme is available" type="no_options" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
68 </options>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
69 </param>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
70 <section name="autotag_section" title="Autotag Parameters" expanded="true">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
71 <param argument="--autotag_word_size" type="integer" label="Autotag Word Size" help="Word size for autotag BLASTn, defined as 'min length of the shortest allele - 1'. Default is 31." value="31" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
72 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
73 <section name="scannew_section" title="Scannew Parameters" expanded="true">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
74 <param argument="--min_id_new_allele" type="integer" label="Minimum identity for new alleles" help="Minimum identity percentage to consider an allele as a new one. Default is 90." value="90" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
75 <param argument="--min_cov_new_allele" type="integer" label="Minimum coverage for new alleles" help="Minimum coverage percentage to consider an allele as a new one. Default is 90." value="90" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
76 <param argument="--min_cov_incomplete" type="integer" label="Minimum coverage for incomplete alleles" help="Minimum coverage percentage to consider an allele as incomplete. Only used with the '--detailed' option. Default is 70." value="70" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
77 <param argument="--detailed" type="boolean" checked="true" label="Include detailed information on incomplete alleles" help="If enabled, incomplete alleles will be labeled as 'incomplete' instead of just a '-'. Default is on." truevalue="true" falsevalue="" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
78 <param argument="-cds" type="boolean" checked="true" label="Extract new alleles within CDS" help="If enabled, new alleles will only be extracted if they are located within coding sequences (CDS regions). Default is on." truevalue="true" falsevalue="" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
79 <param name="output_selection" type="select" display="checkboxes" multiple="true" label="Supplementary output files">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
80 <option value="profiles_w_tmp_alleles_output" selected="true">JSON file describing files with temporary alleles</option>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
81 <option value="outfa_output" selected="true">FASTA file containing sequences of newly detected alleles (if any)</option>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
82 <option value="num_alleles_per_locus_output" selected="true">TSV file containing the number of alleles per locus of a given scheme</option>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
83 </param>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
84 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
85 </inputs>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
86 <outputs>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
87 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}: Allele calling report" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
88 <data name="profiles_w_tmp_alleles" format="json" from_work_dir="profiles_w_tmp_alleles.json" label="${tool.name} on ${on_string}: Info about files with temporary alleles" >
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
89 <filter>scannew_section['output_selection'] and "profiles_w_tmp_alleles_output" in scannew_section['output_selection']</filter>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
90 </data>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
91 <data name="outfa" format="fasta" label="${tool.name} on ${on_string}: Newly detected alleles" >
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
92 <filter>scannew_section['output_selection'] and "outfa_output" in scannew_section['output_selection']</filter>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
93 </data>
5
2cce87fd19ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 7f2587b3f86c5024c7588185712d1eced9bbb037
iuc
parents: 0
diff changeset
94 <data name="num_alleles_per_locus" format="tsv" label="${tool.name} on ${on_string}: Number of alleles per locus of a given scheme" >
0
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
95 <filter>scannew_section['output_selection'] and "num_alleles_per_locus_output" in scannew_section['output_selection']</filter>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
96 </data>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
97 </outputs>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
98 <tests>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
99 <test expect_num_outputs="3"> <!-- TEST_1 -->
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
100 <param name="input_file" ftype="fasta" location="https://zenodo.org/records/15854523/files/10_04A025_hennart2022.fas" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
101 <param name="input_scheme" value="coreprofiler_downloaded_20250625_klebsiella_3_scgMLST634_632_loci_bigsdb" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
102 <section name="autotag_section">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
103 <param name="autotag_word_size" value="31" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
104 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
105 <section name="scannew_section">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
106 <param name="min_id_new_allele" value="90"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
107 <param name="min_cov_new_allele" value="90"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
108 <param name="min_cov_incomplete" value="70"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
109 <param name="detailed" value="False"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
110 <param name="cds" value="False"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
111 <param name="output_selection" value="profiles_w_tmp_alleles_output,outfa_output"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
112 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
113 <output name="output_file" ftype="tabular">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
114 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
115 <has_text_matching expression="accC_S_6db3bfc0871923e1aedb4998b3c93b37" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
116 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
117 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
118 <output name="profiles_w_tmp_alleles" ftype="json">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
119 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
120 <has_text_matching expression="tmp_loci" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
121 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
122 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
123 <output name="outfa" ftype="fasta">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
124 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
125 <has_text_matching expression="accD_S_2e603343825da09506bdc8ea287f5584" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
126 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
127 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
128 </test>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
129 <test expect_num_outputs="3"> <!-- TEST_2 with gz fasta file -->
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
130 <param name="input_file" ftype="fasta.gz" location="https://zenodo.org/records/16271909/files/10_04A025_hennart2022.fas.gz" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
131 <param name="input_scheme" value="coreprofiler_downloaded_20250625_klebsiella_3_scgMLST634_632_loci_bigsdb" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
132 <section name="autotag_section">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
133 <param name="autotag_word_size" value="31" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
134 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
135 <section name="scannew_section">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
136 <param name="min_id_new_allele" value="90"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
137 <param name="min_cov_new_allele" value="90"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
138 <param name="min_cov_incomplete" value="70"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
139 <param name="detailed" value="False"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
140 <param name="cds" value="False"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
141 <param name="output_selection" value="profiles_w_tmp_alleles_output,outfa_output"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
142 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
143 <output name="output_file" ftype="tabular">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
144 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
145 <has_text_matching expression="accC_S_6db3bfc0871923e1aedb4998b3c93b37" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
146 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
147 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
148 <output name="profiles_w_tmp_alleles" ftype="json">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
149 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
150 <has_text_matching expression="tmp_loci" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
151 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
152 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
153 <output name="outfa" ftype="fasta">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
154 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
155 <has_text_matching expression="accD_S_2e603343825da09506bdc8ea287f5584" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
156 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
157 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
158 </test>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
159 <test expect_num_outputs="3"> <!-- TEST_3 multiple files with fasta.gz and fasta files-->
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
160 <param name="input_file" location="https://zenodo.org/records/16271909/files/10_04A025_hennart2022.fas.gz,https://zenodo.org/records/15854523/files/10_04A025_hennart2022.fas,https://zenodo.org/records/16271909/files/10_04A025_hennart2022.fas.gz" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
161 <param name="input_scheme" value="coreprofiler_downloaded_20250625_klebsiella_3_scgMLST634_632_loci_bigsdb" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
162 <section name="autotag_section">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
163 <param name="autotag_word_size" value="31" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
164 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
165 <section name="scannew_section">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
166 <param name="min_id_new_allele" value="90"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
167 <param name="min_cov_new_allele" value="90"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
168 <param name="min_cov_incomplete" value="70"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
169 <param name="detailed" value="False"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
170 <param name="cds" value="False"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
171 <param name="output_selection" value="profiles_w_tmp_alleles_output,outfa_output"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
172 </section>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
173 <output name="output_file" ftype="tabular">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
174 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
175 <has_text_matching expression="accC_S_6db3bfc0871923e1aedb4998b3c93b37" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
176 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
177 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
178 <output name="profiles_w_tmp_alleles" ftype="json">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
179 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
180 <has_text_matching expression="tmp_loci" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
181 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
182 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
183 <output name="outfa" ftype="fasta">
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
184 <assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
185 <has_text_matching expression="accD_S_2e603343825da09506bdc8ea287f5584" />
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
186 </assert_contents>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
187 </output>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
188 </test>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
189 </tests>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
190 <help><![CDATA[
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
191 CoreProfiler allele_calling
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
192 ===========================
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
193
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
194 *CoreProfiler allele_calling* performs cgMLST profiling by identifying alleles present in a bacterial genome assembly based on a reference allele scheme.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
195
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
196 It works in two steps:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
197
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
198 1. **Autotag** (exact matches on reference database):
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
199
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
200 This step runs BLASTn with 100% identity, no gaps, and parameters optimized for speed.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
201 The output is parsed, and only results with 100% coverage are kept.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
202
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
203 2. **Scannew** (detection of new alleles):
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
204
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
205 In this step, loci with no exact match from the autotag step are selected. A BLAST database is created for those loci files, and a looser BLASTn search is performed.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
206
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
207 The best hit is kept for each locus and classified as follows:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
208 * If identity > 90% and coverage > 90%, the locus is considered a new allele.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
209 * If identity > 90% and coverage between 70% and 90%, the allele is present but incomplete ("X").
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
210 * If identity < 90% or coverage < 70%, the allele is considered missing ("-").
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
211
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
212
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
213 Usage
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
214 -----
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
215
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
216 1. Select your genome contigs (in FASTA format).
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
217 2. Select a pre-installed reference allele scheme. This requires you to specify the specific organism you are using.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
218 3. Change the parameters (or not) to perform allele matching and detection.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
219
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
220 * **autotag**: Finds exact allele matches using BLASTn with 100% identity and coverage.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
221 * **scannew**: Detects potential new or incomplete alleles through relaxed BLASTn searches.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
222
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
223 4. Run the tool.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
224
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
225 Input
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
226 -----
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
227
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
228 Genomes Assembly
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
229 ````````````````
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
230
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
231 The input genome assembly must be in FASTA format. This is the sequence that will be scanned for matching alleles.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
232
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
233
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
234 Reference Database
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
235 ``````````````````
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
236
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
237 The reference database is a a pre-installed scheme of known alleles and loci used to identify alleles in the provided genome. Ensure you specify the appropriate reference database for the organism or group under study. If the desired scheme is not listed, please contact your Galaxy administrator.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
238
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
239
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
240 Output
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
241 ------
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
242
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
243 The `allele_calling` command produces a tabular profile listing the identified alleles for each locus, including new or missing alleles when applicable.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
244
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
245 Supplementary output files
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
246 ``````````````````````````
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
247
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
248 The **scannew** step in CoreProfiler provides three additional output files to offer more detailed insights into the analysis:
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
249
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
250 * `--outfa`: FASTA file containing the sequences of new alleles detected during the analysis.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
251 * `--profiles_w_tmp_alleles`: JSON file providing detailed information about files containing temporary alleles.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
252 * `--num_alleles_per_locus`: TSV file listing the number of alleles detected for each locus in a given scheme.
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
253
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
254 ]]></help>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
255 <expand macro="citations"/>
41b933d366e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/coreprofiler commit 9f0bad8ce7a9a0056a9b5a15a9a2d466565548fb
iuc
parents:
diff changeset
256 </tool>