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