changeset 0:d5e86058d290 draft default tip

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:20:40 +0000
parents
children
files qiime2__rescript__subsample_fasta.xml test-data/.gitkeep
diffstat 1 files changed, 64 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2__rescript__subsample_fasta.xml	Thu Apr 25 21:20:40 2024 +0000
@@ -0,0 +1,64 @@
+<?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 subsample-fasta" id="qiime2__rescript__subsample_fasta" version="2024.2.2+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
+    <description>Subsample an indicated number of sequences from a FASTA file.</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 subsample_fasta '$inputs'</command>
+    <configfiles>
+        <inputs name="inputs" data_style="staging_path_and_source_path"/>
+    </configfiles>
+    <inputs>
+        <param name="sequences" type="data" format="qza" label="sequences: FeatureData[AlignedSequence¹ | Sequence²]" help="[required]  Sequences to subsample from.">
+            <options options_filter_attribute="metadata.semantic_type">
+                <filter type="add_value" value="FeatureData[AlignedSequence]"/>
+                <filter type="add_value" value="FeatureData[Sequence]"/>
+            </options>
+            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[AlignedSequence]', 'FeatureData[Sequence]']</validator>
+        </param>
+        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
+            <param name="subsample_size" type="float" min="1e-06" max="1" value="0.1" label="subsample_size: Float % Range(0, 1, inclusive_start=False, inclusive_end=True)" help="[default: 0.1]  Size of the random sample as a fraction of the total count"/>
+            <param name="random_seed" type="integer" min="1" value="1" label="random_seed: Int % Range(1, None)" help="[default: 1]  Seed to be used for random sampling."/>
+        </section>
+    </inputs>
+    <outputs>
+        <data name="sample_sequences" format="qza" label="${tool.name} on ${on_string}: sample_sequences.qza" from_work_dir="sample_sequences.qza"/>
+    </outputs>
+    <tests/>
+    <help>
+QIIME 2: rescript subsample-fasta
+=================================
+Subsample an indicated number of sequences from a FASTA file.
+
+
+Outputs:
+--------
+:sample_sequences.qza: Sample of original sequences.
+
+|  
+
+Description:
+------------
+Subsample a set of sequences (either plain or aligned DNA)based on a fraction of original sequences.
+
+
+|  
+
+</help>
+    <citations>
+        <citation type="doi">10.1371/journal.pcbi.1009581</citation>
+        <citation type="doi">10.1038/s41587-019-0209-9</citation>
+    </citations>
+</tool>