Mercurial > repos > devteam > vcfprimers
comparison vcfprimers.xml @ 4:17096387c0e6 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfprimers commit 36e9065027cc7bf721e9d203208477ee88906c57"
author | iuc |
---|---|
date | Thu, 23 Jan 2020 08:10:02 -0500 |
parents | d226a7327946 |
children |
comparison
equal
deleted
inserted
replaced
3:d226a7327946 | 4:17096387c0e6 |
---|---|
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
7 <expand macro="stdio" /> | 7 <expand macro="stdio" /> |
8 <command> | 8 <command><![CDATA[ |
9 #set $reference_fasta_filename = "localref.fa" | 9 #set $reference_fasta_filename = "localref.fa" |
10 #if str( $reference_source.reference_source_selector ) == "history": | 10 #if str( $reference_source.reference_source_selector ) == "history": |
11 ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" && | 11 ln -s '${reference_source.ref_file}' '${reference_fasta_filename}' && |
12 #else: | 12 #else: |
13 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) | 13 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) |
14 #end if | 14 #end if |
15 vcfprimers -f "${reference_fasta_filename}" -l "${primer_length}" "${input_vcf}" > "${out_file1}"</command> | 15 vcfprimers -f '${reference_fasta_filename}' -l "${primer_length}" '${input_vcf}' > '${out_file1}' |
16 ]]></command> | |
16 <inputs> | 17 <inputs> |
17 <param name="input_vcf" type="data" format="vcf" label="VCF dataset to extract flanks" /> | 18 <param name="input_vcf" type="data" format="vcf" label="VCF dataset to extract flanks" /> |
18 <conditional name="reference_source"> | 19 <conditional name="reference_source"> |
19 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome"> | 20 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome"> |
20 <option value="cached">Locally cached</option> | 21 <option value="cached">Locally cached</option> |
22 </param> | 23 </param> |
23 <when value="cached"> | 24 <when value="cached"> |
24 <param name="ref_file" type="select" label="Select reference genome"> | 25 <param name="ref_file" type="select" label="Select reference genome"> |
25 <options from_data_table="fasta_indexes"> | 26 <options from_data_table="fasta_indexes"> |
26 </options> | 27 </options> |
27 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | 28 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> |
28 </param> | 29 </param> |
29 </when> | 30 </when> |
30 <when value="history"> <!-- FIX ME!!!! --> | 31 <when value="history"> <!-- FIX ME!!!! --> |
31 <param name="ref_file" type="data" format="fasta" label="Using reference file" /> | 32 <param name="ref_file" type="data" format="fasta" label="Using reference file" /> |
32 </when> | 33 </when> |