Next changeset 1:e5daff8f4e9e (2023-01-13) |
Commit message:
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__sample_classifier commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1 |
added:
qiime2__sample_classifier__classify_samples.xml test-data/.gitkeep |
b |
diff -r 000000000000 -r 7f28c4bde0c1 qiime2__sample_classifier__classify_samples.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qiime2__sample_classifier__classify_samples.xml Mon Aug 29 20:28:43 2022 +0000 |
[ |
b'@@ -0,0 +1,159 @@\n+<?xml version=\'1.0\' encoding=\'utf-8\'?>\n+<!--\n+Copyright (c) 2022, QIIME 2 development team.\n+\n+Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause)\n+-->\n+<!--\n+This tool was automatically generated by:\n+ q2galaxy (version: 2022.8.1)\n+for:\n+ qiime2 (version: 2022.8.1)\n+-->\n+<tool name="qiime2 sample-classifier classify-samples" id="qiime2__sample_classifier__classify_samples" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause">\n+ <description>Train and test a cross-validated supervised learning classifier.</description>\n+ <requirements>\n+ <container type="docker">quay.io/qiime2/core:2022.8</container>\n+ </requirements>\n+ <version_command>q2galaxy version sample_classifier</version_command>\n+ <command detect_errors="aggressive">q2galaxy run sample_classifier classify_samples \'$inputs\'</command>\n+ <configfiles>\n+ <inputs name="inputs" data_style="paths"/>\n+ </configfiles>\n+ <inputs>\n+ <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.">\n+ <options options_filter_attribute="metadata.semantic_type">\n+ <filter type="add_value" value="FeatureTable[Frequency]"/>\n+ </options>\n+ <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in [\'FeatureTable[Frequency]\']</validator>\n+ </param>\n+ <conditional name="metadata">\n+ <param name="type" type="select" label="metadata: MetadataColumn[Categorical]" help="[required] Categorical metadata column to use as prediction target.">\n+ <option value="tsv" selected="true">Metadata from TSV</option>\n+ <option value="qza">Metadata from Artifact</option>\n+ </param>\n+ <when value="tsv">\n+ <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/>\n+ <param name="column" type="data_column" label="Column Name" data_ref="source" use_header_names="true">\n+ <validator type="expression" message="The first column cannot be selected (they are IDs).">value != "1"</validator>\n+ </param>\n+ </when>\n+ <when value="qza">\n+ <param name="source" type="data" format="qza" label="Metadata Source"/>\n+ <param name="column" type="text" label="Column Name">\n+ <validator type="empty_field"/>\n+ </param>\n+ </when>\n+ </conditional>\n+ <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options">\n+ <param name="test_size" type="float" min="0.0" max="0.999999" value="0.2" label="test_size: Float % Range(0.0, 1.0)" help="[default: 0.2] Fraction of input samples to exclude from training set and use for classifier testing."/>\n+ <param name="step" type="float" min="1e-06" max="0.999999" value="0.05" label="step: Float % Range(0.0, 1.0, inclusive_start=False)" help="[default: 0.05] If optimize_feature_selection is True, step is the percentage of features to remove at each iteration."/>\n+ <param name="cv" type="integer" min="1" value="5" label="cv: Int % Range(1, None)" help="[default: 5] Number of k-fold cross-validations to perform."/>\n+ <param name="random_state" type="integer" optional="true" label="random_state: Int" help="[optional] Seed used by random number generator."/>\n+ <param name="n_jobs" type="integer" value="1" label="n_jobs: Int" help="[default: 1] Number of jobs to run in parallel."/>\n+ <param name="n_estimators" type="integer" min="1" value="100" label="n_estimators: Int % Range(1, None)" help="[default: 100] Number of trees to grow for estimation. More trees will im'..b'erve">verve</option>\n+ <option value="greyscale">greyscale</option>\n+ </param>\n+ <param name="missing_samples" type="select" label="missing_samples: Str % Choices(\'error\', \'ignore\')" display="radio">\n+ <option value="error" selected="true">error</option>\n+ <option value="ignore">ignore</option>\n+ </param>\n+ </section>\n+ </inputs>\n+ <outputs>\n+ <data name="sample_estimator" format="qza" label="${tool.name} on ${on_string}: sample_estimator.qza" from_work_dir="sample_estimator.qza"/>\n+ <data name="feature_importance" format="qza" label="${tool.name} on ${on_string}: feature_importance.qza" from_work_dir="feature_importance.qza"/>\n+ <data name="predictions" format="qza" label="${tool.name} on ${on_string}: predictions.qza" from_work_dir="predictions.qza"/>\n+ <data name="model_summary" format="qzv" label="${tool.name} on ${on_string}: model_summary.qzv" from_work_dir="model_summary.qzv"/>\n+ <data name="accuracy_results" format="qzv" label="${tool.name} on ${on_string}: accuracy_results.qzv" from_work_dir="accuracy_results.qzv"/>\n+ <data name="probabilities" format="qza" label="${tool.name} on ${on_string}: probabilities.qza" from_work_dir="probabilities.qza"/>\n+ <data name="heatmap" format="qzv" label="${tool.name} on ${on_string}: heatmap.qzv" from_work_dir="heatmap.qzv"/>\n+ <data name="training_targets" format="qza" label="${tool.name} on ${on_string}: training_targets.qza" from_work_dir="training_targets.qza"/>\n+ <data name="test_targets" format="qza" label="${tool.name} on ${on_string}: test_targets.qza" from_work_dir="test_targets.qza"/>\n+ </outputs>\n+ <tests/>\n+ <help>\n+QIIME 2: sample-classifier classify-samples\n+===========================================\n+Train and test a cross-validated supervised learning classifier.\n+\n+\n+Outputs:\n+--------\n+:sample_estimator.qza: Trained sample estimator.\n+:feature_importance.qza: Importance of each input feature to model accuracy.\n+:predictions.qza: Predicted target values for each input sample.\n+:model_summary.qzv: Summarized parameter and (if enabled) feature selection information for the trained estimator.\n+:accuracy_results.qzv: Accuracy results visualization.\n+:probabilities.qza: Predicted class probabilities for each input sample.\n+:heatmap.qzv: A heatmap of the top 50 most important features from the table.\n+:training_targets.qza: Series containing true target values of train samples\n+:test_targets.qza: Series containing true target values of test samples\n+\n+| \n+\n+Description:\n+------------\n+Predicts a categorical sample metadata column using a supervised learning classifier. Splits input data into training and test sets. The training set is used to train and test the estimator using a stratified k-fold cross-validation scheme. This includes optional steps for automated feature extraction and hyperparameter optimization. The test set validates classification accuracy of the optimized estimator. Outputs classification results for test set. For more details on the learning algorithm, see http://scikit-learn.org/stable/supervised_learning.html\n+\n+\n+| \n+\n+</help>\n+ <citations>\n+ <citation type="doi">10.21105/joss.00934</citation>\n+ <citation type="bibtex">@article{cite2,\n+ author = {Pedregosa, Fabian and Varoquaux, Ga\xc3\xabl 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, \xc3\x89douard},\n+ journal = {Journal of machine learning research},\n+ number = {Oct},\n+ pages = {2825--2830},\n+ title = {Scikit-learn: Machine learning in Python},\n+ volume = {12},\n+ year = {2011}\n+}\n+</citation>\n+ <citation type="doi">10.1038/s41587-019-0209-9</citation>\n+ </citations>\n+</tool>\n' |