Mercurial > repos > q2d2 > qiime2__rescript__get_ncbi_data
comparison qiime2__rescript__get_ncbi_data.xml @ 0:30b3523d44c4 draft
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__rescript commit 389df0134cd0763dcf02aac6e623fc15f8861c1e
author | q2d2 |
---|---|
date | Thu, 25 Apr 2024 21:21:09 +0000 |
parents | |
children | dcf5737505ca |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:30b3523d44c4 |
---|---|
1 <?xml version='1.0' encoding='utf-8'?> | |
2 <!-- | |
3 Copyright (c) 2024, QIIME 2 development team. | |
4 | |
5 Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause) | |
6 --> | |
7 <!-- | |
8 This tool was automatically generated by: | |
9 q2galaxy (version: 2024.2.1) | |
10 for: | |
11 qiime2 (version: 2024.2.0) | |
12 --> | |
13 <tool name="qiime2 rescript get-ncbi-data" id="qiime2__rescript__get_ncbi_data" version="2024.2.2+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause"> | |
14 <description>Download, parse, and import NCBI sequences and taxonomies</description> | |
15 <requirements> | |
16 <container type="docker">quay.io/qiime2/amplicon:2024.2</container> | |
17 </requirements> | |
18 <version_command>q2galaxy version rescript</version_command> | |
19 <command detect_errors="exit_code">q2galaxy run rescript get_ncbi_data '$inputs'</command> | |
20 <configfiles> | |
21 <inputs name="inputs" data_style="staging_path_and_source_path"/> | |
22 </configfiles> | |
23 <inputs> | |
24 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options"> | |
25 <conditional name="__q2galaxy__GUI__conditional__query__" label="query: Str"> | |
26 <param name="__q2galaxy__GUI__select__" type="select" label="query: Str" help="[optional] Query on the NCBI Nucleotide database"> | |
27 <option value="__q2galaxy__::control::default" selected="true">None (Use default behavior)</option> | |
28 <option value="__q2galaxy__::control::provide">Provide a value</option> | |
29 </param> | |
30 <when value="__q2galaxy__::control::default"> | |
31 <param name="query" type="hidden" value="__q2galaxy__::literal::None"/> | |
32 </when> | |
33 <when value="__q2galaxy__::control::provide"> | |
34 <param name="query" type="text"> | |
35 <sanitizer> | |
36 <valid initial="string.printable"/> | |
37 </sanitizer> | |
38 </param> | |
39 </when> | |
40 </conditional> | |
41 <repeat name="accession_ids" help="[optional] List of accession ids for sequences in the NCBI Nucleotide database." title="accession_ids: Metadata"> | |
42 <conditional name="__q2galaxy__GUI__conditional__accession_ids__"> | |
43 <param name="type" type="select" label="accession_ids: Metadata"> | |
44 <option value="tsv" selected="true">Metadata from TSV</option> | |
45 <option value="qza">Metadata from Artifact</option> | |
46 </param> | |
47 <when value="tsv"> | |
48 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/> | |
49 </when> | |
50 <when value="qza"> | |
51 <param name="source" type="data" format="qza" label="Metadata Source"/> | |
52 </when> | |
53 </conditional> | |
54 </repeat> | |
55 <repeat name="ranks" help="[optional] List of taxonomic ranks for building a taxonomy from the NCBI Taxonomy database. [default: 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species']" title="ranks: List[Str % Choices('domain', 'superkingdom', 'kingdom', 'subkingdom', 'superphylum', 'phylum', 'subphylum', 'infraphylum', 'superclass', 'class', 'subclass', 'infraclass', 'cohort', 'superorder', 'order', 'suborder', 'infraorder', 'parvorder', 'superfamily', 'family', 'subfamily', 'tribe', 'subtribe', 'genus', 'subgenus', 'species group', 'species subgroup', 'species', 'subspecies', 'forma')]"> | |
56 <param name="element" type="select" label="element: Str % Choices('domain', 'superkingdom', 'kingdom', 'subkingdom', 'superphylum', 'phylum', 'subphylum', 'infraphylum', 'superclass', 'class', 'subclass', 'infraclass', 'cohort', 'superorder', 'order', 'suborder', 'infraorder', 'parvorder', 'superfamily', 'family', 'subfamily', 'tribe', 'subtribe', 'genus', 'subgenus', 'species group', 'species subgroup', 'species', 'subspecies', 'forma')"> | |
57 <option value="__q2galaxy__::literal::None">Selection required</option> | |
58 <option value="domain">domain</option> | |
59 <option value="superkingdom">superkingdom</option> | |
60 <option value="kingdom">kingdom</option> | |
61 <option value="subkingdom">subkingdom</option> | |
62 <option value="superphylum">superphylum</option> | |
63 <option value="phylum">phylum</option> | |
64 <option value="subphylum">subphylum</option> | |
65 <option value="infraphylum">infraphylum</option> | |
66 <option value="superclass">superclass</option> | |
67 <option value="class">class</option> | |
68 <option value="subclass">subclass</option> | |
69 <option value="infraclass">infraclass</option> | |
70 <option value="cohort">cohort</option> | |
71 <option value="superorder">superorder</option> | |
72 <option value="order">order</option> | |
73 <option value="suborder">suborder</option> | |
74 <option value="infraorder">infraorder</option> | |
75 <option value="parvorder">parvorder</option> | |
76 <option value="superfamily">superfamily</option> | |
77 <option value="family">family</option> | |
78 <option value="subfamily">subfamily</option> | |
79 <option value="tribe">tribe</option> | |
80 <option value="subtribe">subtribe</option> | |
81 <option value="genus">genus</option> | |
82 <option value="subgenus">subgenus</option> | |
83 <option value="species group">species group</option> | |
84 <option value="species subgroup">species subgroup</option> | |
85 <option value="species">species</option> | |
86 <option value="subspecies">subspecies</option> | |
87 <option value="forma">forma</option> | |
88 <validator type="expression" message="Please verify this parameter.">value != '__q2galaxy__::literal::None'</validator> | |
89 </param> | |
90 </repeat> | |
91 <param name="rank_propagation" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" checked="true" label="rank_propagation: Bool" help="[default: Yes] Propagate known ranks to missing ranks if true"/> | |
92 <param name="logging_level" type="select" label="logging_level: Str % Choices('DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL')"> | |
93 <option value="__q2galaxy__::literal::None" selected="true">None (Use default behavior)</option> | |
94 <option value="DEBUG">DEBUG</option> | |
95 <option value="INFO">INFO</option> | |
96 <option value="WARNING">WARNING</option> | |
97 <option value="ERROR">ERROR</option> | |
98 <option value="CRITICAL">CRITICAL</option> | |
99 </param> | |
100 <param name="n_jobs" type="integer" min="1" value="1" label="n_jobs: Int % Range(1, None)" help="[default: 1] Number of concurrent download connections. More is faster until you run out of bandwidth."/> | |
101 </section> | |
102 </inputs> | |
103 <outputs> | |
104 <data name="sequences" format="qza" label="${tool.name} on ${on_string}: sequences.qza" from_work_dir="sequences.qza"/> | |
105 <data name="taxonomy" format="qza" label="${tool.name} on ${on_string}: taxonomy.qza" from_work_dir="taxonomy.qza"/> | |
106 </outputs> | |
107 <tests/> | |
108 <help> | |
109 QIIME 2: rescript get-ncbi-data | |
110 =============================== | |
111 Download, parse, and import NCBI sequences and taxonomies | |
112 | |
113 | |
114 Outputs: | |
115 -------- | |
116 :sequences.qza: Sequences from the NCBI Nucleotide database | |
117 :taxonomy.qza: Taxonomies from the NCBI Taxonomy database | |
118 | |
119 | | |
120 | |
121 Description: | |
122 ------------ | |
123 Download and import sequences from the NCBI Nucleotide database and download, parse, and import the corresponding taxonomies from the NCBI Taxonomy database. | |
124 | |
125 Please be aware of the NCBI Disclaimer and Copyright notice (https://www.ncbi.nlm.nih.gov/home/about/policies/), particularly "run retrieval scripts on weekends or between 9 pm and 5 am Eastern Time weekdays for any series of more than 100 requests". As a rough guide, if you are downloading more than 125,000 sequences, only run this method at those times. | |
126 | |
127 The NCBI servers can be capricious but reward polite persistence. If the download fails and gives you a message that contains the words "Last exception was ReadTimeout", you should probably try again, maybe with more connections. If it fails for any other reason, please create an issue at https://github.com/bokulich-lab/RESCRIPt. | |
128 | |
129 | |
130 | | |
131 | |
132 </help> | |
133 <citations> | |
134 <citation type="doi">10.1093/nar/gkx1095</citation> | |
135 <citation type="bibtex">@article{cite2, | |
136 author = {Benson, Dennis A and Cavanaugh, Mark and Clark, Karen and Karsch-Mizrachi, Ilene and Lipman, David J and Ostell, James and Sayers, Eric W}, | |
137 journal = {Nucleic acids research}, | |
138 number = {D1}, | |
139 pages = {D36--D42}, | |
140 publisher = {Oxford University Press}, | |
141 title = {GenBank}, | |
142 volume = {41}, | |
143 year = {2012} | |
144 } | |
145 </citation> | |
146 <citation type="doi">10.1371/journal.pcbi.1009581</citation> | |
147 <citation type="doi">10.1038/s41587-019-0209-9</citation> | |
148 </citations> | |
149 </tool> |