annotate legsta.xml @ 2:0411fca1d681 draft default tip

planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
author iuc
date Tue, 12 Mar 2024 11:16:20 +0000
parents 579f1cabfe79
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
0411fca1d681 planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
iuc
parents: 1
diff changeset
1 <tool id="legsta" name="legsta" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
0
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
2 <description>Legionella pneumophila sequence based typing</description>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
3
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
4 <macros>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
5 <import>macros.xml</import>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
6 </macros>
2
0411fca1d681 planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
iuc
parents: 1
diff changeset
7 <xrefs>
0411fca1d681 planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
iuc
parents: 1
diff changeset
8 <xref type="bio.tools">legsta</xref>
0411fca1d681 planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
iuc
parents: 1
diff changeset
9 </xrefs>
0
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
10 <expand macro="requirements"/>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
11
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
1
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
13 #import re
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
14 #set safe_names=[]
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
15
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
16 #for $i in $contigs
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
17 #set safe_name=re.sub('[^\s\w\-.]', '_', str($i.element_identifier))
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
18 $safe_names.append($safe_name)
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
19 ln -s '$i' '$safe_name';
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
20 #end for
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
21
0
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
22 legsta
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
23
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
24 $noheader
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
25 $csv
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
26
1
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
27 #for $safe_name in $safe_names
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
28 '$safe_name'
0
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
29 #end for
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
30
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
31 > '$output'
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
32 ]]></command>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
33
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
34 <inputs>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
35 <param type="data" name="contigs" format="genbank,embl,gff,gff3,fasta,fasta.gz,fastq,fastq.gz,clustal,stockholm" multiple="true" label="Contigs" help="One or more input files in FASTA, FASTQ, Genbank, EMBL, Clustal, Stockholm or GFF format." />
2
0411fca1d681 planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
iuc
parents: 1
diff changeset
36 <param argument="--noheader" type="boolean" truevalue="--noheader" falsevalue="" label="Remove table header" help="Removes the table header from the output (ie. FILE SBT flaA ...)" />
0411fca1d681 planemo upload for repository https://github.com/tseemann/legsta commit ba53da012895c122e1fb7576c68d18c1a70320b4
iuc
parents: 1
diff changeset
37 <param argument="--csv" type="boolean" truevalue="--csv" falsevalue="" label="CSV output" help="Prints the output in comma-separated value format instead of tab-separated value format." />
0
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
38 </inputs>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
39
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
40 <outputs>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
41 <data name="output" format="tabular">
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
42 <change_format>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
43 <when input="csv" value="--csv" format="csv" />
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
44 </change_format>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
45 </data>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
46 </outputs>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
47
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
48 <tests>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
49 <test>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
50 <param name="contigs" ftype="fasta" value="NC_006368.fna.bz2"/>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
51 <param name="csv" value="true"/>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
52 <output name="output">
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
53 <assert_contents>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
54 <has_text text="SBT,flaA,pilE,asd,mip,mompS,proA,neuA" />
1
579f1cabfe79 "planemo upload for repository https://github.com/tseemann/legsta commit 4e41978ca2530441bd5abf07a37ab9e8eedfce6c"
iuc
parents: 0
diff changeset
55 <has_text text="NC_006368.fna.bz2,1,1,4,3,1,1,1,1" />
0
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
56 </assert_contents>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
57 </output>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
58 </test>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
59 </tests>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
60
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
61 <help>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
62 In silico sequence based typing (SBT) of Legionella pneumophila.
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
63
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
64 The purpose of the Legionella pneumophila SBT scheme is to provide a rapid and easily comparable method for the epidemiological typing of clinical and environmental isolates of Legionella pneumophila in outbreak investigations.
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
65 </help>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
66
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
67 <citations>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
68 <citation type="bibtex">
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
69 @misc{githublegsta,
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
70 author = {Seemann, Torsten and Da Silva, Anders Goncalves, and Buultjens, Andrew, and Kwong, Jason},
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
71 title = {legsta},
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
72 publisher = {GitHub},
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
73 journal = {GitHub repository},
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
74 url = {https://github.com/tseemann/legsta},
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
75 }</citation>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
76 </citations>
b469f6d53d06 "planemo upload for repository https://github.com/tseemann/legsta commit 19e59e87fedc1e6a85e946e3be15d165c16f4275"
iuc
parents:
diff changeset
77 </tool>