annotate lorikeet.xml @ 0:d35cc8e07d00 draft

planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
author iuc
date Tue, 08 May 2018 04:23:01 -0400
parents
children f9c37d0b3002
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
1 <tool id="lorikeet_spoligotype" name="lorikeet spoligotyping" version="@TOOL_VERSION@+galaxy0" profile="17.01">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
2 <description>M. tuberculosis DNA fingerprinting</description>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
3
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
4 <macros>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
5 <token name="@TOOL_VERSION@">17</token>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
6 </macros>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
7
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
8 <requirements>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
9 <requirement type="package" version="@TOOL_VERSION@">lorikeet</requirement>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
10 </requirements>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
11
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
13 #set $input_file = 'input.' + $input.extension
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
14 ln -s '${input}' $input_file &&
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
15 lorikeet spoligotype
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
16 -o '${output_txt}'
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
17 $input_file
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
18 #if $spacer_source.source_type == 'file':
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
19 -s '${spacer_source.spacer}'
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
20 #end if
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
21 ]]>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
22 </command>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
23 <inputs>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
24 <param name="input" label="Input sequences" type="data" format="bam" help="Reads of sample(s) being spoligotyped" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
25 <conditional name="spacer_source">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
26 <param type="select" name="source_type" label="Source for spacer sequences">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
27 <option selected="true" value="builtin">Built-in</option>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
28 <option value="file">File with custom spacers</option>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
29 </param>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
30 <when value="builtin">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
31 </when>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
32 <when value="file">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
33 <param argument="--spacer" type="data" format="fasta" label="Spacer file" help="FASTA format file containing customer spacer library" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
34 </when>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
35 </conditional>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
36 </inputs>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
37 <outputs>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
38 <data name="output_txt" format="txt" label="Spoligotype on ${on_string}" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
39 </outputs>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
40 <tests>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
41 <test>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
42 <param name="input" value="input.bam" ftype="bam" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
43 <output name="output_txt">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
44 <assert_contents>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
45 <has_text text="1111111111 1111111011 1111111111 1100001111 111" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
46 </assert_contents>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
47 </output>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
48 </test>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
49 <test>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
50 <param name="input" value="input.bam" ftype="bam" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
51 <param name="source_type" value="file" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
52 <param name="spacer" value="custom_spacers.fasta" ftype="fasta" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
53 <output name="output_txt">
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
54 <assert_contents>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
55 <has_text text="1111111111 0000000000 0000000000 0000000000 000" />
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
56 </assert_contents>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
57 </output>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
58 </test>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
59 </tests>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
60 <help><![CDATA[
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
61 Lorikeet_ is a tool for digital spoligotyping_ of M. tuberculosis strains
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
62 from Illumina data. Input is a file of Illumina reads and output is
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
63 a spoligotyping report.
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
64
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
65 While by default lorikeet uses its own built-in collection of spacer
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
66 sequences, a custom file of spacers can be provided if necessary.
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
67
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
68 .. _Lorikeet: https://github.com/AbeelLab/lorikeet
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
69 .. _spoligotyping: https://link.springer.com/protocol/10.1007%2F978-1-60327-999-4_10
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
70 ]]>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
71 </help>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
72 <citations>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
73 <citation type="doi">10.1371/journal.pmed.1001880</citation>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
74 </citations>
d35cc8e07d00 planemo upload for repository https://github.com/AbeelLab/lorikeet commit 01d9bfef91bbdfbdaa31c3fc023504181132c001
iuc
parents:
diff changeset
75 </tool>