changeset 0:daf0663a0679 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:25:47 +0000
parents
children 660b904210ca
files qiime2__rescript__get_ncbi_genomes.xml test-data/.gitkeep
diffstat 1 files changed, 87 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2__rescript__get_ncbi_genomes.xml	Thu Apr 25 21:25:47 2024 +0000
@@ -0,0 +1,87 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+Copyright (c) 2024, QIIME 2 development team.
+
+Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause)
+-->
+<!--
+This tool was automatically generated by:
+    q2galaxy (version: 2024.2.1)
+for:
+    qiime2 (version: 2024.2.0)
+-->
+<tool name="qiime2 rescript get-ncbi-genomes" id="qiime2__rescript__get_ncbi_genomes" version="2024.2.2+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
+    <description>Fetch entire genomes and associated taxonomies and metadata using NCBI Datasets.</description>
+    <requirements>
+        <container type="docker">quay.io/qiime2/amplicon:2024.2</container>
+    </requirements>
+    <version_command>q2galaxy version rescript</version_command>
+    <command detect_errors="exit_code">q2galaxy run rescript get_ncbi_genomes '$inputs'</command>
+    <configfiles>
+        <inputs name="inputs" data_style="staging_path_and_source_path"/>
+    </configfiles>
+    <inputs>
+        <param name="taxon" type="text" label="taxon: Str" help="[required]  NCBI Taxonomy ID or name (common or scientific) at any taxonomic rank.">
+            <sanitizer>
+                <valid initial="string.printable"/>
+            </sanitizer>
+            <validator type="expression" message="Please verify this parameter.">value is not None and len(value) &gt; 0</validator>
+        </param>
+        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
+            <param name="assembly_source" type="select" label="assembly_source: Str % Choices('refseq', 'genbank')" display="radio">
+                <option value="refseq" selected="true">refseq</option>
+                <option value="genbank">genbank</option>
+            </param>
+            <repeat name="assembly_levels" help="[default: ['complete_genome']]  Fetch only genome assemblies that are one of the specified assembly levels." title="assembly_levels: List[Str % Choices('complete_genome', 'chromosome', 'scaffold', 'contig')]">
+                <param name="element" type="select" label="element: Str % Choices('complete_genome', 'chromosome', 'scaffold', 'contig')" display="radio">
+                    <option value="__q2galaxy__::literal::None">Selection required</option>
+                    <option value="complete_genome">complete_genome</option>
+                    <option value="chromosome">chromosome</option>
+                    <option value="scaffold">scaffold</option>
+                    <option value="contig">contig</option>
+                    <validator type="expression" message="Please verify this parameter.">value != '__q2galaxy__::literal::None'</validator>
+                </param>
+            </repeat>
+            <param name="only_reference" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" checked="true" label="only_reference: Bool" help="[default: Yes]  Fetch only reference and representative genome assemblies."/>
+            <param name="tax_exact_match" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="tax_exact_match: Bool" help="[default: No]  If true, only return assemblies with the given NCBI Taxonomy ID, or name. Otherwise, assemblies from taxonomy subtree are included, too."/>
+            <param name="page_size" type="integer" min="20" max="1000" value="20" label="page_size: Int % Range(20, 1000, inclusive_end=True)" help="[default: 20]  The maximum number of genome assemblies to return per request. If number of genomes to fetch is higher than this number, requests will be repeated until all assemblies are fetched."/>
+        </section>
+    </inputs>
+    <outputs>
+        <data name="genome_assemblies" format="qza" label="${tool.name} on ${on_string}: genome_assemblies.qza" from_work_dir="genome_assemblies.qza"/>
+        <data name="loci" format="qza" label="${tool.name} on ${on_string}: loci.qza" from_work_dir="loci.qza"/>
+        <data name="proteins" format="qza" label="${tool.name} on ${on_string}: proteins.qza" from_work_dir="proteins.qza"/>
+        <data name="taxonomies" format="qza" label="${tool.name} on ${on_string}: taxonomies.qza" from_work_dir="taxonomies.qza"/>
+    </outputs>
+    <tests/>
+    <help>
+QIIME 2: rescript get-ncbi-genomes
+==================================
+Fetch entire genomes and associated taxonomies and metadata using NCBI Datasets.
+
+
+Outputs:
+--------
+:genome_assemblies.qza: Nucleotide sequences of requested genomes.
+:loci.qza: Loci features of requested genomes.
+:proteins.qza: Protein sequences originating from requested genomes.
+:taxonomies.qza: Taxonomies of requested genomes.
+
+|  
+
+Description:
+------------
+Uses NCBI Datasets to fetch genomes for indicated taxa. Nucleotide sequences and protein/gene annotations will be fetched and supplemented with full taxonomy of every sequence.
+
+
+|  
+
+</help>
+    <citations>
+        <citation type="doi">10.1093/nar/gkv1276</citation>
+        <citation type="doi">10.1093/nar/gkv1189</citation>
+        <citation type="doi">10.1093/database/baaa062</citation>
+        <citation type="doi">10.1371/journal.pcbi.1009581</citation>
+        <citation type="doi">10.1038/s41587-019-0209-9</citation>
+    </citations>
+</tool>