annotate macros.xml @ 1:6d8444408ff1 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 7339e1e32188846188c6b18a024dac0ee0ff4d88
author bgruening
date Tue, 23 May 2023 18:05:26 +0000
parents f7c0a0030254
children e009d8260be2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
1 <macros>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
2 <token name="@TOOL_VERSION@">1.1.0</token>
1
6d8444408ff1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 7339e1e32188846188c6b18a024dac0ee0ff4d88
bgruening
parents: 0
diff changeset
3 <token name="@VERSION_SUFFIX@">1</token>
0
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
4 <xml name="requirements">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
5 <requirements>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
6 <requirement type="package" version="@TOOL_VERSION@">agat</requirement>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
7 </requirements>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
8 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
9 <xml name="biotools">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
10 <xrefs>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
11 <xref type="bio.tools">agat</xref>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
12 </xrefs>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
13 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
14 <xml name="citations">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
15 <citations>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
16 <citation type="doi">10.5281/zenodo.3552717</citation>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
17 </citations>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
18 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
19 <xml name="ANNOTATION_INPUT" token_format="gff,gtf,gff3,gff3.gz">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
20 <param argument="--gff" type="data" format="@FORMAT@" label="Annotation file" help="Input GTF/GFF file" />
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
21 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
22
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
23 <xml name="REFERENCE_FASTA">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
24 <conditional name="reference_genome">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
25 <param name="source" type="select" label="Source for the reference genome" help="Built-in references were created using default options.">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
26 <option value="indexed" selected="true">Use a built-in genome</option>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
27 <option value="history" selected="true">Use a genome from history</option>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
28 </param>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
29 <when value="indexed">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
30 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team.">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
31 <options from_data_table="fasta_indexes">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
32 <filter type="sort_by" column="2" />
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
33 <validator type="no_options" message="No genomes are available for the selected input dataset" />
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
34 </options>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
35 </param>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
36 </when>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
37 <when value="history">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
38 <param name="history_item" type="data" format="fasta" label="Reference genome" help="A reference genome in FASTA format" />
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
39 </when>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
40 </conditional>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
41 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
42 <token name="@input_annotation_single@"><![CDATA[
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
43 #set $input_annotation = 'annotation.' + str($tool.gff.ext)
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
44 ln -s '${tool.gff}' $input_annotation &&
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
45 ]]></token>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
46 <token name="@input_reference@"><![CDATA[
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
47 #if $tool.reference_genome.source == 'history':
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
48 #set $ref_genome = 'reference.fasta'
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
49 ln -s -f '${tool.reference_genome.history_item}' $ref_genome &&
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
50 #else:
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
51 #set $ref_genome = $tool.reference_genome.index.fields.path
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
52 #end if
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
53 ]]></token>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
54 <token name="@input_annotation_double@"><![CDATA[
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
55 #set $input1 = 'annotation1.' + str($tool.input_annotation1.ext)
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
56 #set $input2 = 'annotation2.' + str($tool.input_annotation2.ext)
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
57 ln -s '${tool.input_annotation1}' $input1 &&
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
58 ln -s '${tool.input_annotation2}' $input2 &&
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
59 ]]></token>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
60
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
61
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
62 </macros>