view qiime2/qiime_feature-classifier_fit-classifier-sklearn.xml @ 15:276ec629f09a draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:56:05 +0000
parents a0a8d77a991c
children
line wrap: on
line source

<?xml version="1.0" ?>
<tool id="qiime_feature-classifier_fit-classifier-sklearn" name="qiime feature-classifier fit-classifier-sklearn"
      version="2020.8">
  <description>Train an almost arbitrary scikit-learn classifier</description>
  <requirements>
    <requirement type="package" version="2020.8">qiime2</requirement>
  </requirements>
  <command><![CDATA[
qiime feature-classifier fit-classifier-sklearn

--i-reference-reads=$ireferencereads

--i-reference-taxonomy=$ireferencetaxonomy

#if str($iclassweight) != 'None':
--i-class-weight=$iclassweight
#end if

--p-classifier-specification=$pclassifierspecification

--o-classifier=oclassifier

#if str($examples) != 'None':
--examples=$examples
#end if

;
cp oclassifier.qza $oclassifier

  ]]></command>
  <inputs>
    <param format="qza,no_unzip.zip" label="--i-reference-reads: ARTIFACT FeatureData[Sequence] [required]" name="ireferencereads" optional="False" type="data" />
    <param format="qza,no_unzip.zip" label="--i-reference-taxonomy: ARTIFACT FeatureData[Taxonomy] [required]" name="ireferencetaxonomy" optional="False" type="data" />
    <param format="qza,no_unzip.zip" label="--i-class-weight: ARTIFACT FeatureTable[RelativeFrequency] [optional]" name="iclassweight" optional="False" type="data" />
    <param label="--p-classifier-specification: TEXT [required]" name="pclassifierspecification" optional="False" type="text" />
    <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
    
  </inputs>

  <outputs>
    <data format="qza" label="${tool.name} on ${on_string}: classifier.qza" name="oclassifier" />
    
  </outputs>

  <help><![CDATA[
Train an almost arbitrary scikit-learn classifier
###############################################################

Train a scikit-learn classifier to classify reads.

Parameters
----------
reference_reads : FeatureData[Sequence]
reference_taxonomy : FeatureData[Taxonomy]
classifier_specification : Str
class_weight : FeatureTable[RelativeFrequency], optional

Returns
-------
classifier : TaxonomicClassifier
  ]]></help>
  <macros>
    <import>qiime_citation.xml</import>
  </macros>
  <expand macro="qiime_citation"/>
</tool>