annotate macros.xml @ 5:201302fa7651 draft default tip

"planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
author dfornika
date Thu, 30 Jan 2020 01:20:57 +0000
parents 61750fb74b71
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
1 <macros>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
2 <xml name="requirements">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
3 <requirements>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
4 <requirement type="package" version="@VERSION@">snippy</requirement>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
5 <requirement type="package" version="1.32">tar</requirement>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
6 <yield />
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
7 </requirements>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
8 </xml>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
9
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
10 <xml name="version_command">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
11 <version_command><![CDATA[snippy --version]]></version_command>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
12 </xml>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
13
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
14 <token name="@REFERENCE_SOURCE_FILE@">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
15 <![CDATA[
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
16 #if $reference_source.reference_source_selector == 'history'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
17 #if $reference_source.ref_file.is_of_type("fasta")
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
18 ln -sf '$reference_source.ref_file' 'ref.fna' &&
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
19 #elif $reference_source.ref_file.is_of_type("genbank")
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
20 ln -sf '$reference_source.ref_file' 'ref.gbk' &&
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
21 #end if
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
22 #elif $reference_source.reference_source_selector == 'cached'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
23 ln -sf '$reference_source.ref_file.fields.path' 'ref.fna' &&
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
24 #end if]]>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
25 </token>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
26
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
27 <token name="@REFERENCE_COMMAND@">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
28 <![CDATA[
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
29 #if $reference_source.reference_source_selector == 'history'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
30 #if $reference_source.ref_file.is_of_type("fasta")
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
31 --ref 'ref.fna'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
32 #elif $reference_source.ref_file.is_of_type("genbank")
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
33 --ref 'ref.gbk'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
34 #end if
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
35 #elif $reference_source.reference_source_selector == 'cached'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
36 --ref 'ref.fna'
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
37 #end if
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
38 ]]>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
39 </token>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
40
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
41 <xml name="reference_selector">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
42 <conditional name="reference_source">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
43 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options. See `Indexes` section of help below. If you would like to perform self-mapping select `history` here, then choose your input file as reference.">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
44 <option value="cached">Use a built-in genome index</option>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
45 <option value="history">Use a genome from history and build index</option>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
46 </param>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
47 <when value="cached">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
48 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
49 <options from_data_table="all_fasta">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
50 <validator type="no_options" message="No reference genomes are available" />
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
51 </options>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
52 </param>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
53 </when>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
54 <when value="history">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
55 <param name="ref_file" type="data" format="fasta,genbank" label="Use the following dataset as the reference sequence" help="You can upload a FASTA or FASTQ sequence to the history and use it as reference" />
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
56 </when>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
57 </conditional>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
58 </xml>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
59
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
60 <token name="@VERSION@">4.4.5</token>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
61
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
62 <xml name="citations">
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
63 <citations>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
64 <citation type="bibtex">@UNPUBLISHED{Seemann2013,
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
65 author = "Seemann T",
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
66 title = "snippy: fast bacterial variant calling from NGS reads",
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
67 year = "2015",
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
68 note = "https://github.com/tseemann/snippy",
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
69 url = "https://github.com/tseemann/snippy"}</citation>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
70 </citations>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
71 </xml>
61750fb74b71 "planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/snippy_clean commit 66a9f18802686a105b392e73e82c0078d0cdf2a4"
dfornika
parents:
diff changeset
72 </macros>