Mercurial > repos > artbio > lumpy_smoove
comparison macros.xml @ 11:5a326a6fa105 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/lumpy_smoove commit 8b10e8fc832f8ca7c32479e20d5edbd62088a3aa
| author | artbio |
|---|---|
| date | Fri, 17 Oct 2025 17:21:17 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 10:8711df965d4b | 11:5a326a6fa105 |
|---|---|
| 1 <macros> | |
| 2 <token name="@TOOL_VERSION@">0.2.8</token> | |
| 3 <token name="@GALAXY_VERSION@">4</token> | |
| 4 | |
| 5 <!-- Requirements for lumpy_smoove (Python 2.7 environment) --> | |
| 6 <xml name="lumpy_smoove_requirements"> | |
| 7 <requirements> | |
| 8 <requirement type="package" version="0.2.8">smoove</requirement> | |
| 9 <requirement type="package" version="0.7.1">svtyper</requirement> | |
| 10 <requirement type="package" version="2.7">python</requirement> | |
| 11 </requirements> | |
| 12 </xml> | |
| 13 | |
| 14 <!-- Requirements for vcf2hrdetect (Python 3.9 environment) --> | |
| 15 <xml name="vcf2hrdetect_requirements"> | |
| 16 <requirements> | |
| 17 <requirement type="package" version="3.9">python</requirement> | |
| 18 </requirements> | |
| 19 </xml> | |
| 20 | |
| 21 <xml name="stdio"> | |
| 22 <stdio> | |
| 23 <exit_code range="1:" level="fatal" description="Tool exception" /> | |
| 24 </stdio> | |
| 25 </xml> | |
| 26 <token name="@pipefail@"><![CDATA[set -o | grep -q pipefail && set -o pipefail;]]></token> | |
| 27 <token name="@set_fasta_index@"><![CDATA[ | |
| 28 #if str( $reference_source.reference_source_selector ) == "history": | |
| 29 ln -s '${reference_source.ref_file}' reference.fa && | |
| 30 samtools faidx 'reference.fa' 2>&1 || echo "Error running samtools faidx for lumpy_smoove" >&2 && | |
| 31 #else: | |
| 32 ln -s '${reference_source.index.fields.path}' reference.fa && | |
| 33 ln -s '${reference_source.index.fields.path}.fai' reference.fa.fai && | |
| 34 #end if | |
| 35 ]]></token> | |
| 36 <macro name="reference_source_conditional"> | |
| 37 <conditional name="reference_source"> | |
| 38 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options."> | |
| 39 <option value="cached">Use a built-in genome index</option> | |
| 40 <option value="history">Use a genome from history and build index</option> | |
| 41 </param> | |
| 42 <when value="cached"> | |
| 43 <param name="index" type="select" label="Using built-in genome" help="Select genome from the list"> | |
| 44 <options from_data_table="fasta_indexes"> | |
| 45 <filter type="sort_by" column="2" /> | |
| 46 <validator type="no_options" message="No indexes are available" /> | |
| 47 </options> | |
| 48 </param> | |
| 49 </when> | |
| 50 <when value="history"> | |
| 51 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence" /> | |
| 52 </when> | |
| 53 </conditional> | |
| 54 </macro> | |
| 55 </macros> | |
| 56 | |
| 57 |
