changeset 0:c41392b0d87e draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__sample_classifier commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author q2d2
date Mon, 29 Aug 2022 20:24:48 +0000
parents
children f58e813e201d
files qiime2__sample_classifier__metatable.xml test-data/.gitkeep
diffstat 1 files changed, 96 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2__sample_classifier__metatable.xml	Mon Aug 29 20:24:48 2022 +0000
@@ -0,0 +1,96 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+Copyright (c) 2022, 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: 2022.8.1)
+for:
+    qiime2 (version: 2022.8.1)
+-->
+<tool name="qiime2 sample-classifier metatable" id="qiime2__sample_classifier__metatable" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">
+    <description>Convert (and merge) positive numeric metadata (in)to feature table.</description>
+    <requirements>
+        <container type="docker">quay.io/qiime2/core:2022.8</container>
+    </requirements>
+    <version_command>q2galaxy version sample_classifier</version_command>
+    <command detect_errors="aggressive">q2galaxy run sample_classifier metatable '$inputs'</command>
+    <configfiles>
+        <inputs name="inputs" data_style="paths"/>
+    </configfiles>
+    <inputs>
+        <repeat name="metadata" min="1" help="[required]  Metadata file to convert to feature table." title="metadata: Metadata">
+            <conditional name="__q2galaxy__GUI__conditional__metadata__">
+                <param name="type" type="select" label="metadata: Metadata">
+                    <option value="tsv" selected="true">Metadata from TSV</option>
+                    <option value="qza">Metadata from Artifact</option>
+                </param>
+                <when value="tsv">
+                    <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>
+                </when>
+                <when value="qza">
+                    <param name="source" type="data" format="qza" label="Metadata Source"/>
+                </when>
+            </conditional>
+        </repeat>
+        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
+            <param name="table" type="data" format="qza" optional="true" label="table: FeatureTable[Frequency]" help="[optional]  Feature table containing all features that should be used for target prediction.">
+                <options options_filter_attribute="metadata.semantic_type">
+                    <filter type="add_value" value="FeatureTable[Frequency]"/>
+                </options>
+                <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]']</validator>
+            </param>
+            <param name="missing_samples" type="select" label="missing_samples: Str % Choices('error', 'ignore')" display="radio">
+                <option value="error">error</option>
+                <option value="ignore" selected="true">ignore</option>
+            </param>
+            <param name="missing_values" type="select" label="missing_values: Str % Choices('drop_samples', 'drop_features', 'error', 'fill')" display="radio">
+                <option value="drop_samples">drop_samples</option>
+                <option value="drop_features">drop_features</option>
+                <option value="error" selected="true">error</option>
+                <option value="fill">fill</option>
+            </param>
+            <param name="drop_all_unique" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="drop_all_unique: Bool" help="[default: No]  If True, columns that contain a unique value for every ID will be dropped."/>
+        </section>
+    </inputs>
+    <outputs>
+        <data name="converted_table" format="qza" label="${tool.name} on ${on_string}: converted_table.qza" from_work_dir="converted_table.qza"/>
+    </outputs>
+    <tests/>
+    <help>
+QIIME 2: sample-classifier metatable
+====================================
+Convert (and merge) positive numeric metadata (in)to feature table.
+
+
+Outputs:
+--------
+:converted_table.qza: Converted feature table
+
+|  
+
+Description:
+------------
+Convert numeric sample metadata from TSV file into a feature table. Optionally merge with an existing feature table. Only numeric metadata will be converted; categorical columns will be silently dropped. By default, if a table is used as input only samples found in both the table and metadata (intersection) are merged, and others are silently dropped. Set missing_samples="error" to raise an error if samples found in the table are missing from the metadata file. The metadata file can always contain a superset of samples. Note that columns will be dropped if they are non-numeric, contain no unique values (zero variance), contain only empty cells, or contain negative values. This method currently only converts postive numeric metadata into feature data. Tip: convert categorical columns to dummy variables to include them in the output feature table.
+
+
+|  
+
+</help>
+    <citations>
+        <citation type="doi">10.21105/joss.00934</citation>
+        <citation type="bibtex">@article{cite2,
+ author = {Pedregosa, Fabian and Varoquaux, Gaël and Gramfort, Alexandre and Michel, Vincent and Thirion, Bertrand and Grisel, Olivier and Blondel, Mathieu and Prettenhofer, Peter and Weiss, Ron and Dubourg, Vincent and Vanderplas, Jake and Passos, Alexandre and Cournapeau, David and Brucher, Matthieu and Perrot, Matthieu and Duchesnay, Édouard},
+ journal = {Journal of machine learning research},
+ number = {Oct},
+ pages = {2825--2830},
+ title = {Scikit-learn: Machine learning in Python},
+ volume = {12},
+ year = {2011}
+}
+</citation>
+        <citation type="doi">10.1038/s41587-019-0209-9</citation>
+    </citations>
+</tool>