diff qiime2__sample_classifier__predict_regression.xml @ 3:8281a7dc5248 draft

planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__sample_classifier commit 389df0134cd0763dcf02aac6e623fc15f8861c1e
author q2d2
date Thu, 25 Apr 2024 21:26:26 +0000
parents f7c33b0adf29
children 6e134166916b
line wrap: on
line diff
--- a/qiime2__sample_classifier__predict_regression.xml	Thu Jun 08 19:52:14 2023 +0000
+++ b/qiime2__sample_classifier__predict_regression.xml	Thu Apr 25 21:26:26 2024 +0000
@@ -1,31 +1,34 @@
 <?xml version='1.0' encoding='utf-8'?>
 <!--
-Copyright (c) 2023, QIIME 2 development team.
+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: 2023.5.0)
+    q2galaxy (version: 2024.2.1)
 for:
-    qiime2 (version: 2023.5.1)
+    qiime2 (version: 2024.2.0)
 -->
-<tool name="qiime2 sample-classifier predict-regression" id="qiime2__sample_classifier__predict_regression" version="2023.5.0+q2galaxy.2023.5.0.2" profile="22.05" license="BSD-3-Clause">
+<tool name="qiime2 sample-classifier predict-regression" id="qiime2__sample_classifier__predict_regression" version="2024.2.0+q2galaxy.2024.2.1" profile="22.05" license="BSD-3-Clause">
     <description>Use trained regressor to predict target values for new samples.</description>
     <requirements>
-        <container type="docker">quay.io/qiime2/core:2023.5</container>
+        <container type="docker">quay.io/qiime2/amplicon:2024.2</container>
     </requirements>
     <version_command>q2galaxy version sample_classifier</version_command>
     <command detect_errors="exit_code">q2galaxy run sample_classifier predict_regression '$inputs'</command>
     <configfiles>
-        <inputs name="inputs" data_style="paths"/>
+        <inputs name="inputs" data_style="staging_path_and_source_path"/>
     </configfiles>
     <inputs>
-        <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency]" help="[required]  Feature table containing all features that should be used for target prediction.">
+        <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | RelativeFrequency | PresenceAbsence | Composition]" help="[required]  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[Composition]"/>
                 <filter type="add_value" value="FeatureTable[Frequency]"/>
+                <filter type="add_value" value="FeatureTable[RelativeFrequency]"/>
+                <filter type="add_value" value="FeatureTable[PresenceAbsence]"/>
             </options>
-            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]']</validator>
+            <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Composition]', 'FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]', 'FeatureTable[RelativeFrequency]']</validator>
         </param>
         <param name="sample_estimator" type="data" format="qza" label="sample_estimator: SampleEstimator[Regressor]" help="[required]  Sample regressor trained with fit_regressor.">
             <options options_filter_attribute="metadata.semantic_type">
@@ -33,9 +36,6 @@
             </options>
             <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['SampleEstimator[Regressor]']</validator>
         </param>
-        <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">
-            <param name="n_jobs" type="integer" value="1" label="n_jobs: Int" help="[default: 1]  Number of jobs to run in parallel."/>
-        </section>
     </inputs>
     <outputs>
         <data name="predictions" format="qza" label="${tool.name} on ${on_string}: predictions.qza" from_work_dir="predictions.qza"/>