Mercurial > repos > dave > lofreq_call
annotate macros.xml @ 0:b37a6b94e9fe draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
author | dave |
---|---|
date | Wed, 27 Nov 2019 15:25:33 +0000 |
parents | |
children |
rev | line source |
---|---|
0
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
1 <macros> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
2 <token name="@WRAPPER_VERSION@">@TOOL_VERSION@+galaxy</token> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
3 <token name="@TOOL_VERSION@">2.1.3.1</token> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
4 <xml name="requirements"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
5 <requirements> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
6 <requirement type="package" version="@TOOL_VERSION@">lofreq</requirement> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
7 <requirement type="package" version="1.9">samtools</requirement> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
8 <yield/> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
9 </requirements> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
10 </xml> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
11 <xml name="citations"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
12 <citations> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
13 <citation type="doi">10.1093/nar/gks918</citation> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
14 <yield /> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
15 </citations> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
16 </xml> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
17 <token name="@PREPARE_REF@"><![CDATA[ |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
18 #if str($reference_source.ref_selector) == 'history': |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
19 #set $reference_fasta_fn = 'reference.fa' |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
20 ln -s '$reference_source.ref' $reference_fasta_fn && |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
21 lofreq faidx $reference_fasta_fn 2>&1 || echo "Error running samtools faidx for indexing fasta reference for lofreq" >&2 && |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
22 #else |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
23 #set $reference_fasta_fn = str($reference_source.ref.fields.path) |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
24 #end if |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
25 ]]></token> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
26 <xml name="reference_interface"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
27 <conditional name="reference_source"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
28 <param name="ref_selector" type="select" |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
29 label="Choose the source for the reference genome"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
30 <option value="cached">Locally cached</option> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
31 <option value="history">History</option> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
32 </param> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
33 <when value="cached"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
34 <param argument="--ref" type="select" |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
35 label="Reference genome"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
36 <options from_data_table="fasta_indexes"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
37 <filter type="data_meta" column="dbkey" key="dbkey" ref="reads" /> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
38 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" /> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
39 </options> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
40 </param> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
41 </when> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
42 <when value="history"> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
43 <param argument="--ref" type="data" format="fasta" label="Reference" help="Reference sequence" /> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
44 </when> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
45 </conditional> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
46 </xml> |
b37a6b94e9fe
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
47 </macros> |