Mercurial > repos > q2d2 > qiime2__feature_classifier__fit_classifier_sklearn
changeset 0:8b7d5d493253 draft
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__feature_classifier commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author | q2d2 |
---|---|
date | Mon, 29 Aug 2022 19:53:54 +0000 |
parents | |
children | e736fe382938 |
files | qiime2__feature_classifier__fit_classifier_sklearn.xml test-data/.gitkeep |
diffstat | 1 files changed, 89 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qiime2__feature_classifier__fit_classifier_sklearn.xml Mon Aug 29 19:53:54 2022 +0000 @@ -0,0 +1,89 @@ +<?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 feature-classifier fit-classifier-sklearn" id="qiime2__feature_classifier__fit_classifier_sklearn" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause"> + <description>Train an almost arbitrary scikit-learn classifier</description> + <requirements> + <container type="docker">quay.io/qiime2/core:2022.8</container> + </requirements> + <version_command>q2galaxy version feature_classifier</version_command> + <command detect_errors="aggressive">q2galaxy run feature_classifier fit_classifier_sklearn '$inputs'</command> + <configfiles> + <inputs name="inputs" data_style="paths"/> + </configfiles> + <inputs> + <param name="reference_reads" type="data" format="qza" label="reference_reads: FeatureData[Sequence]" help="[required]"> + <options options_filter_attribute="metadata.semantic_type"> + <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[Sequence]']</validator> + </param> + <param name="reference_taxonomy" type="data" format="qza" label="reference_taxonomy: FeatureData[Taxonomy]" help="[required]"> + <options options_filter_attribute="metadata.semantic_type"> + <filter type="add_value" value="FeatureData[Taxonomy]"/> + </options> + <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureData[Taxonomy]']</validator> + </param> + <param name="classifier_specification" type="text" label="classifier_specification: Str" help="[required]"> + <sanitizer> + <valid initial="string.printable"/> + </sanitizer> + <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> + </param> + <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options"> + <param name="class_weight" type="data" format="qza" optional="true" label="class_weight: FeatureTable[RelativeFrequency]" help="[optional]"> + <options options_filter_attribute="metadata.semantic_type"> + <filter type="add_value" value="FeatureTable[RelativeFrequency]"/> + </options> + <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[RelativeFrequency]']</validator> + </param> + </section> + </inputs> + <outputs> + <data name="classifier" format="qza" label="${tool.name} on ${on_string}: classifier.qza" from_work_dir="classifier.qza"/> + </outputs> + <tests/> + <help> +QIIME 2: feature-classifier fit-classifier-sklearn +================================================== +Train an almost arbitrary scikit-learn classifier + + +Outputs: +-------- +:classifier.qza: <no description> + +| + +Description: +------------ +Train a scikit-learn classifier to classify reads. + + +| + +</help> + <citations> + <citation type="bibtex">@article{cite1, + 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.1186/s40168-018-0470-z</citation> + <citation type="doi">10.1038/s41587-019-0209-9</citation> + </citations> +</tool>