annotate macro.xml @ 0:d783eb846f59 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
author iuc
date Sat, 13 Jan 2018 09:02:58 -0500
parents
children 84f769706f7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
2 <macros>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
3 <xml name="requirements">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
4 <requirements>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
5 <requirement type="package" version="0.5.6">mykrobe</requirement>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
6 </requirements>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
7 </xml>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
8
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
9 <token name="@select_inputs@">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
10 <![CDATA[
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
11 #set $name='sample'
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
12 #set $type='fastq'
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
13 ## Adding sample name, indicate specie and inputs fastq(s) files
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
14 #if $data_type.type == "paired":
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
15
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
16 ln -s '$data_type.fastq_input1' sample_1.fastq &&
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
17 ln -s '$data_type.fastq_input2' sample_2.fastq &&
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
18
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
19
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
20 #elif $data_type.type == "collection":
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
21 #set $name=str($data_type.fastq_input1.name)
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
22 ln -s '$data_type.fastq_input1.forward' '$data_type.fastq_input1.name'_1.fastq &&
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
23 ln -s '$data_type.fastq_input1.reverse' '$data_type.fastq_input1.name'_2.fastq &&
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
24
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
25 #elif $data_type.type == "single":
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
26
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
27
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
28 #if $data_type.fastq_input1.is_of_type('fastqsanger') or $data_type.fastq_input1.is_of_type('fastq'):
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
29 ln -s '$data_type.fastq_input1' sample.fastq &&
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
30
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
31 #end if
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
32
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
33 #if $data_type.fastq_input1.is_of_type('bam'):
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
34 ln -s '$data_type.fastq_input1' sample.bam &&
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
35 #set $type='bam'
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
36 #end if
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
37
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
38 #end if
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
39 ]]>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
40 </token>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
41
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
42 <xml name="inputs">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
43 <conditional name="data_type">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
44 <param name="type" type="select" label="Specify the read type.">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
45 <option value="single">Single-end Data</option>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
46 <option value="paired">Paired-end Data</option>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
47 <option value="collection">Collection Paired-end Data</option>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
48 </param>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
49 <when value="single">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
50 <param name="fastq_input1" type="data" format="fastqsanger, fastq,fasta,bam" label="Single end read file(s)"/>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
51 </when>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
52 <when value="paired">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
53 <param name="fastq_input1" type="data" format="fastqsanger, fastq" label="Forward paired-end read file"/>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
54 <param name="fastq_input2" type="data" format="fastqsanger, fastq" label="Reverse paired-end read file"/>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
55 </when>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
56 <when value="collection">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
57 <param name="fastq_input1" type="data_collection" label="Paired-end reads collection" optional="false" format="fastqsanger, fastq" collection_type="paired" />
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
58 </when>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
59 </conditional>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
60 </xml>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
61
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
62 <token name="@ATTRIBUTION@">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
63 <![CDATA[
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
64
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
65 **MyKrobe predict - Antibiotic resistance predictions**
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
66
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
67 Rapid antibiotic-resistance predictions from genome sequence data for Staphylococcus aureus and Mycobacterium tuberculosis
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
68 using Bruijn graph.
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
69 ]]>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
70 </token>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
71
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
72 <xml name="citation">
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
73 <citations>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
74 <citation type="doi">10.1038/ncomms10063</citation>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
75 </citations>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
76 </xml>
d783eb846f59 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit deb581240339f3198dc23019e4445e8983ffa6ab
iuc
parents:
diff changeset
77 </macros>