comparison macros.xml @ 0:c6009f4d7261 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_datasets commit fd91cf3000d556d8219426eddb8a3059071a2009"
author iuc
date Thu, 15 Jul 2021 13:31:56 +0000
parents
children c87df3f9e19d
comparison
equal deleted inserted replaced
-1:000000000000 0:c6009f4d7261
1 <macros>
2 <token name="@TOOL_VERSION@">11.25.1</token>
3 <token name="@PROFILE@">20.01</token>
4 <token name="@LICENSE@">MIT</token>
5 <token name="@PROFILE_AND_LICENSE@">profile="@PROFILE@" license="@LICENSE@"</token>
6 <token name="@SETUP_CERTIFICATES@"><![CDATA[
7 ## If running in container use certificate from ca-certificates instead of outdated / missing container certificates
8 [ -f /usr/local/ssl/cacert.pem ] && export export SSL_CERT_FILE="/usr/local/ssl/cacert.pem";
9 ]]></token>
10 <xml name="requirements">
11 <requirements>
12 <requirement type="package" version="@TOOL_VERSION@">ncbi-datasets-cli</requirement>
13 <requirement type="package" version="2021.5.30">ca-certificates</requirement>
14 <requirement type="package" version="16.02">p7zip</requirement>
15 </requirements>
16 </xml>
17 <xml name="annotation">
18 <param argument="--annotated" type="boolean" truevalue="--annotated" falsevalue="" label="Only include genomes with annotation ?"/>
19 </xml>
20 <xml name="dehydrated">
21 <param argument="--dehydrated" type="boolean" truevalue="--dehydrated" falsevalue="" label="Download a dehydrated zip archive including the data report and locations of data files ?" help="Use the rehydrate tools to retrieve data files"/>
22 </xml>
23 <xml name="assembly_level">
24 <param argument="--assembly-level" type="select" label="Restrict assemblies to a comma-separated list of one or more of these" multiple="true" optional="true">
25 <option value="chromosome">Chromosome</option>
26 <option value="complete_genome">Complete Genome</option>
27 <option value="contig">Contig</option>
28 <option value="scaffold">Scaffold</option>
29 </param>
30 </xml>
31 <xml name="assembly_source">
32 <param argument="--assembly-source" type="select" optional="true">
33 <option value="refseq">RefSeq</option>
34 <option value="genabnk">GenBank</option>
35 </param>
36 </xml>
37 <xml name="text_or_file" token_what="accession" token_what_extended="NCBI Assembly accession" token_help="Can be NCBI Assembly or BioProject accession">
38 <conditional name="text_or_file" label="How do you want to specify the @WHAT@(s) to download">
39 <param name="text_or_file" type="select" label="Enter @WHAT@ or read from file ?">
40 <option value="text">Enter @WHAT@s</option>
41 <option value="file">Read a list of @WHAT_EXTENDED@s from a dataset</option>
42 </param>
43 <when value="text">
44 <param name="accession" type="text" label="Enter space separated list of @WHAT@s" help="@HELP@">
45 <yield/>
46 </param>
47 </when>
48 <when value="file">
49 <param argument="--inputfile" type="data" format="txt" label="Select dataset with list of @WHAT_EXTENDED@s" help="@HELP@"/>
50 </when>
51 </conditional>
52 </xml>
53 <xml name="chromosomes">
54 <param argument="--chromosomes" type="text" value="all" label="Limit chromosomes to a comma-delimited list of chromosomes">
55 <sanitizer invalid_char="">
56 <valid initial="string.letters,string.digits">
57 <add value="_" />
58 <add value="." />
59 <add value="," />
60 </valid>
61 </sanitizer>
62 </param>
63 </xml>
64 <xml name="exclude" token_exclude_what="gff3" token_exclude_label="Exclude gff3 annotation file">
65 <param argument="--exclude-@EXCLUDE_WHAT@" type="boolean" truevalue="--exclude-@EXCLUDE_WHAT@" falsevalue="" label="@EXCLUDE_LABEL@" />
66 </xml>
67 <xml name="excludes_genome">
68 <expand macro="exclude" exclude_what="gff3" exclude_label="Exclude gff3 annotation file"/>
69 <expand macro="exclude" exclude_what="protein" exclude_label="Exclude protein sequence file"/>
70 <expand macro="exclude" exclude_what="rna" exclude_label="Exclude transcript sequence file"/>
71 <expand macro="exclude" exclude_what="seq" exclude_label="Exclude genomic sequence file"/>
72 </xml>
73 <xml name="excludes_gene">
74 <expand macro="exclude" exclude_what="gene" exclude_label="Exclude gene sequence file"/>
75 <expand macro="exclude" exclude_what="protein" exclude_label="Exclude protein sequence file"/>
76 <expand macro="exclude" exclude_what="rna" exclude_label="Exclude transcript sequence file"/>
77 </xml>
78 <xml name="excludes_virus_protein">
79 <yield/>
80 <expand macro="exclude" exclude_what="protein" exclude_label="Exclude protein sequence file"/>
81 <expand macro="exclude" exclude_what="pdb" exclude_label="Exclude protein structure files (pdb)"/>
82 <expand macro="exclude" exclude_what="gpff" exclude_label="Exclude protein sequence and annotation in GenPept flat file"/>
83 <expand macro="exclude" exclude_what="cds" exclude_label="Exclude CDS sequence file"/>
84 </xml>
85 <xml name="excludes_virus_genome">
86 <expand macro="excludes_virus_protein">
87 <expand macro="exclude" exclude_what="seq" exclude_label="Exclude genomic sequence file"/>
88 </expand>
89 </xml>
90 <token name="@EXCLUDES_GENOME@">$exclude_gff3 $exclude_protein $exclude_rna $exclude_seq</token>
91 <token name="@EXCLUDES_GENE@">$exclude_gene $exclude_protein $exclude_rna</token>
92 <token name="@EXCLUDES_VIRUS_PROTEIN@">$exclude_protein $exclude_pdb $exclude_gpff $exclude_cds</token>
93 <token name="@EXCLUDES_VIRUS_GENOME@">$exclude_seq @EXCLUDES_VIRUS_PROTEIN@</token>
94 <xml name="include" token_include_what="gbff" token_include_label="Include GenBank flat file sequence and annotation, if available">
95 <param argument="--include-@INCLUDE_WHAT@" type="boolean" truevalue="--include-@INCLUDE_WHAT@" falsevalue="" label="@INCLUDE_LABEL@" />
96 </xml>
97 <xml name="includes_genome">
98 <expand macro="include" include_what="gbff" include_label="Include GenBank flat file sequence and annotation, if available"/>
99 <expand macro="include" include_what="gtf" include_label="Include gtf annotation file, if available"/>
100 </xml>
101 <xml name="includes_virus_genome">
102 <expand macro="include" include_what="gbff" include_label="Include GenBank flat file sequence and annotation"/>
103 </xml>
104 <token name="@INCLUDES_GENOME@">$include_gbff $include_gtf</token>
105 <token name="@INCLUDES_VIRUS_GENOME@">$include_gbff</token>
106 <xml name="released_options" token_released_what="genomes" token_before_or_after="before">
107 <param argument="--released-@BEFORE_OR_AFTER@" type="text" optional="true" label="Only include @RELEASED_WHAT@ that have been released @BEFORE_OR_AFTER@ a specified date (MM/DD/YYYY)"></param>
108 </xml>
109 <token name="@RELEASED_BEFORE@">#if $released_before:
110 --released-before '$released_before'
111 #end if
112 </token>
113 <token name="@RELEASED_SINCE@">#if $released_since:
114 --released-since '$released_since'
115 #end if
116 </token>
117 </macros>