comparison qiime2__rescript__subsample_fasta.xml @ 0:d5e86058d290 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:20:40 +0000
parents
children 247da1608dda
comparison
equal deleted inserted replaced
-1:000000000000 0:d5e86058d290
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 subsample-fasta" id="qiime2__rescript__subsample_fasta" version="2024.2.2+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
14 <description>Subsample an indicated number of sequences from a FASTA file.</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 subsample_fasta '$inputs'</command>
20 <configfiles>
21 <inputs name="inputs" data_style="staging_path_and_source_path"/>
22 </configfiles>
23 <inputs>
24 <param name="sequences" type="data" format="qza" label="sequences: FeatureData[AlignedSequence¹ | Sequence²]" help="[required] Sequences to subsample from.">
25 <options options_filter_attribute="metadata.semantic_type">
26 <filter type="add_value" value="FeatureData[AlignedSequence]"/>
27 <filter type="add_value" value="FeatureData[Sequence]"/>
28 </options>
29 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[AlignedSequence]', 'FeatureData[Sequence]']</validator>
30 </param>
31 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
32 <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"/>
33 <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."/>
34 </section>
35 </inputs>
36 <outputs>
37 <data name="sample_sequences" format="qza" label="${tool.name} on ${on_string}: sample_sequences.qza" from_work_dir="sample_sequences.qza"/>
38 </outputs>
39 <tests/>
40 <help>
41 QIIME 2: rescript subsample-fasta
42 =================================
43 Subsample an indicated number of sequences from a FASTA file.
44
45
46 Outputs:
47 --------
48 :sample_sequences.qza: Sample of original sequences.
49
50 |
51
52 Description:
53 ------------
54 Subsample a set of sequences (either plain or aligned DNA)based on a fraction of original sequences.
55
56
57 |
58
59 </help>
60 <citations>
61 <citation type="doi">10.1371/journal.pcbi.1009581</citation>
62 <citation type="doi">10.1038/s41587-019-0209-9</citation>
63 </citations>
64 </tool>