annotate macros.xml @ 0:f7c0a0030254 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
author bgruening
date Tue, 23 May 2023 13:43:07 +0000
parents
children 6d8444408ff1
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>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
3 <token name="@VERSION_SUFFIX@">0</token>
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 <requirement type="package" version="0.34">perl-statistics-r</requirement>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
8 </requirements>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
9 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
10 <xml name="biotools">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
11 <xrefs>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
12 <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
13 </xrefs>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
14 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
15 <xml name="citations">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
16 <citations>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
17 <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
18 </citations>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
19 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
20 <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
21 <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
22 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
23
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
24 <xml name="REFERENCE_FASTA">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
25 <conditional name="reference_genome">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
26 <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
27 <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
28 <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
29 </param>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
30 <when value="indexed">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
31 <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
32 <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
33 <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
34 <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
35 </options>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
36 </param>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
37 </when>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
38 <when value="history">
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
39 <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
40 </when>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
41 </conditional>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
42 </xml>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
43 <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
44 #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
45 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
46 ]]></token>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
47 <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
48 #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
49 #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
50 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
51 #else:
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
52 #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
53 #end if
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
54 ]]></token>
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
55 <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
56 #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
57 #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
58 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
59 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
60 ]]></token>
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
f7c0a0030254 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 0851e9e6d46223a8233c56f3b0bcf14e19d63916
bgruening
parents:
diff changeset
63 </macros>