Mercurial > repos > florianbegusch > qiime2_wrappers
comparison qiime2/qiime_sample-classifier_fit-classifier.xml @ 4:71f124e02000 draft default tip
Fixes
| author | florianbegusch |
|---|---|
| date | Tue, 13 Aug 2019 07:40:25 -0400 |
| parents | 149432539226 |
| children |
comparison
equal
deleted
inserted
replaced
| 3:eda5df31da55 | 4:71f124e02000 |
|---|---|
| 8 qiime sample-classifier fit-classifier | 8 qiime sample-classifier fit-classifier |
| 9 | 9 |
| 10 --i-table=$itable | 10 --i-table=$itable |
| 11 --m-metadata-column="$mmetadatacolumn" | 11 --m-metadata-column="$mmetadatacolumn" |
| 12 | 12 |
| 13 #if $pstep: | 13 #if str($pstep): |
| 14 --p-step=$pstep | 14 --p-step=$pstep |
| 15 #end if | 15 #end if |
| 16 | 16 |
| 17 #if $pcv: | 17 #if str($pcv): |
| 18 --p-cv=$pcv | 18 --p-cv=$pcv |
| 19 #end if | 19 #end if |
| 20 | 20 |
| 21 #if str($prandomstate): | 21 #if str($prandomstate): |
| 22 --p-random-state="$prandomstate" | 22 --p-random-state="$prandomstate" |
| 27 #if str($pnjobs): | 27 #if str($pnjobs): |
| 28 --p-n-jobs="$pnjobs" | 28 --p-n-jobs="$pnjobs" |
| 29 #end if | 29 #end if |
| 30 | 30 |
| 31 | 31 |
| 32 #if $pnestimators: | 32 #if str($pnestimators): |
| 33 --p-n-estimators=$pnestimators | 33 --p-n-estimators=$pnestimators |
| 34 #end if | 34 #end if |
| 35 | 35 |
| 36 #if str($pestimator) != 'None': | 36 #if str($pestimator) != 'None': |
| 37 --p-estimator=$pestimator | 37 --p-estimator=$pestimator |
| 48 #if str($pmissingsamples) != 'None': | 48 #if str($pmissingsamples) != 'None': |
| 49 --p-missing-samples=$pmissingsamples | 49 --p-missing-samples=$pmissingsamples |
| 50 #end if | 50 #end if |
| 51 | 51 |
| 52 | 52 |
| 53 #if $input_files_mmetadatafile: | 53 |
| 54 #def list_dict_to_string(list_dict): | 54 #if $metadatafile: |
| 55 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') | 55 --m-metadata-file=$metadatafile |
| 56 #for d in list_dict[1:]: | |
| 57 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name') | |
| 58 #end for | |
| 59 #return $file_list | |
| 60 #end def | |
| 61 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) | |
| 62 #end if | 56 #end if |
| 57 | |
| 63 | 58 |
| 64 | 59 |
| 65 --o-sample-estimator=osampleestimator | 60 --o-sample-estimator=osampleestimator |
| 66 --o-feature-importance=ofeatureimportance | 61 --o-feature-importance=ofeatureimportance |
| 67 ; | 62 ; |
| 91 <option selected="True" value="None">Selection is Optional</option> | 86 <option selected="True" value="None">Selection is Optional</option> |
| 92 <option value="error">error</option> | 87 <option value="error">error</option> |
| 93 <option value="ignore">ignore</option> | 88 <option value="ignore">ignore</option> |
| 94 </param> | 89 </param> |
| 95 | 90 |
| 96 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file"> | 91 <param label="--m-metadata-file METADATA" name="metadatafile" type="data" format="tabular,qza,no_unzip.zip" /> |
| 97 <param label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [optional]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" /> | |
| 98 </repeat> | |
| 99 | 92 |
| 100 </inputs> | 93 </inputs> |
| 101 <outputs> | 94 <outputs> |
| 102 <data format="qza" label="${tool.name} on ${on_string}: sampleestimator.qza" name="osampleestimator"/> | 95 <data format="qza" label="${tool.name} on ${on_string}: sampleestimator.qza" name="osampleestimator"/> |
| 103 <data format="qza" label="${tool.name} on ${on_string}: featureimportance.qza" name="ofeatureimportance"/> | 96 <data format="qza" label="${tool.name} on ${on_string}: featureimportance.qza" name="ofeatureimportance"/> |
