annotate macros.xml @ 6:971e07ca4456 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 3751719cd03b8380954e2231cf91496c863056e2
author iuc
date Wed, 06 Jul 2022 09:26:48 +0000
parents 354b534eeab7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
1 <macros>
4
354b534eeab7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 841c48994eb214a2f8718b1d1aca22bc38598528"
iuc
parents: 3
diff changeset
2 <token name="@TOOL_VERSION@">2.1.5</token>
0
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
3 <xml name="requirements">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
4 <requirements>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
5 <requirement type="package" version="@TOOL_VERSION@">lofreq</requirement>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
6 <yield/>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
7 </requirements>
4
354b534eeab7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 841c48994eb214a2f8718b1d1aca22bc38598528"
iuc
parents: 3
diff changeset
8 <version_command>lofreq version | grep version | cut -d ' ' -f 2</version_command>
0
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
9 </xml>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
10 <xml name="citations">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
11 <citations>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
12 <citation type="doi">10.1093/nar/gks918</citation>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
13 <yield />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
14 </citations>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
15 </xml>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
16 <token name="@PREPARE_REF@"><![CDATA[
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
17 #if str($reference_source.ref_selector) == 'history':
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
18 #set $reference_fasta_fn = 'reference.fa'
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
19 ln -s '$reference_source.ref' $reference_fasta_fn &&
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
20 lofreq faidx $reference_fasta_fn 2>&1 || echo "Error running samtools faidx for indexing fasta reference for lofreq" >&2 &&
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
21 #else
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
22 #set $reference_fasta_fn = str($reference_source.ref.fields.path)
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
23 #end if
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
24 ]]></token>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
25 <xml name="reference_interface">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
26 <conditional name="reference_source">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
27 <param name="ref_selector" type="select"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
28 label="Choose the source for the reference genome">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
29 <option value="cached">Locally cached</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
30 <option value="history">History</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
31 </param>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
32 <when value="cached">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
33 <param argument="--ref" type="select"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
34 label="Reference genome">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
35 <options from_data_table="fasta_indexes">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
36 <filter type="data_meta" column="dbkey" key="dbkey" ref="reads" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
37 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
38 </options>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
39 </param>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
40 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
41 <when value="history">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
42 <param argument="--ref" type="data" format="fasta" label="Reference" help="Reference sequence" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
43 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
44 </conditional>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
45 </xml>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
46 <xml name="handle_existing_alnqual">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
47 <conditional name="alnqual_choice">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
48 <param name="alnquals_to_use" type="select"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
49 label="Use the following alignment quality scores">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
50 <option value="">Base and indel alignment qualities (BAQ and IDAQ)</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
51 <option value="-A">Only base alignment qualities (BAQ)</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
52 <option value="-B">Only indel alignment qualities (IDAQ)</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
53 </param>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
54 <when value="-B">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
55 <param name="extended_baq" type="hidden" value="" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
56 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
57 <when value="">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
58 <param argument="-e" name="extended_baq" type="boolean" checked="true" truevalue="" falsevalue="-e"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
59 label="If BAQ needs to be computed, calculate extended BAQ?" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
60 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
61 <when value="-A">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
62 <param argument="-e" name="extended_baq" type="boolean" checked="true" truevalue="" falsevalue="-e"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
63 label="If BAQ needs to be computed, calculate extended BAQ?" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
64 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
65 </conditional>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
66 </xml>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
67 <xml name="handle_alnqual" token_mode="Use">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
68 <conditional name="alnqual_choice">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
69 <param name="alnquals_to_use" type="select"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
70 label="@MODE@ the following alignment quality scores">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
71 <option value="">Base and indel alignment qualities (BAQ and IDAQ)</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
72 <option value="-A">Only base alignment qualities (BAQ)</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
73 <option value="-B">Only indel alignment qualities (IDAQ)</option>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
74 </param>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
75 <when value="-B">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
76 <param name="extended_baq" type="hidden" value="" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
77 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
78 <when value="">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
79 <param argument="-e" name="extended_baq" type="boolean" checked="true" truevalue="" falsevalue="-e"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
80 label="Use extended BAQ?" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
81 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
82 <when value="-A">
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
83 <param argument="-e" name="extended_baq" type="boolean" checked="true" truevalue="" falsevalue="-e"
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
84 label="Use extended BAQ?" />
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
85 </when>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
86 </conditional>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
87 </xml>
5d6a078d30b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 9efcb813ab17041c7f5aad834dfff45bd7046c60"
iuc
parents:
diff changeset
88 </macros>