Mercurial > repos > florianbegusch > qiime2_wrappers
comparison qiime2/qiime_sample-classifier_fit-regressor.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-regressor | 8 qiime sample-classifier fit-regressor |
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" |
26 #if str($pnjobs): | 26 #if str($pnjobs): |
27 --p-n-jobs="$pnjobs" | 27 --p-n-jobs="$pnjobs" |
28 #end if | 28 #end if |
29 | 29 |
30 | 30 |
31 #if $pnestimators: | 31 #if str($pnestimators): |
32 --p-n-estimators=$pnestimators | 32 --p-n-estimators=$pnestimators |
33 #end if | 33 #end if |
34 | 34 |
35 #if str($pestimator) != 'None': | 35 #if str($pestimator) != 'None': |
36 --p-estimator=$pestimator | 36 --p-estimator=$pestimator |
47 #if str($pmissingsamples) != 'None': | 47 #if str($pmissingsamples) != 'None': |
48 --p-missing-samples=$pmissingsamples | 48 --p-missing-samples=$pmissingsamples |
49 #end if | 49 #end if |
50 | 50 |
51 | 51 |
52 #if $input_files_mmetadatafile: | 52 |
53 #def list_dict_to_string(list_dict): | 53 |
54 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') | 54 #if $metadatafile: |
55 #for d in list_dict[1:]: | 55 --m-metadata-file=$metadatafile |
56 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name') | |
57 #end for | |
58 #return $file_list | |
59 #end def | |
60 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) | |
61 #end if | 56 #end if |
57 | |
62 | 58 |
63 | 59 |
64 --o-sample-estimator=osampleestimator | 60 --o-sample-estimator=osampleestimator |
65 --o-feature-importance=ofeatureimportance | 61 --o-feature-importance=ofeatureimportance |
66 ; | 62 ; |
93 <option selected="True" value="None">Selection is Optional</option> | 89 <option selected="True" value="None">Selection is Optional</option> |
94 <option value="error">error</option> | 90 <option value="error">error</option> |
95 <option value="ignore">ignore</option> | 91 <option value="ignore">ignore</option> |
96 </param> | 92 </param> |
97 | 93 |
98 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file"> | 94 <param label="--m-metadata-file METADATA" name="metadatafile" type="data" format="tabular,qza,no_unzip.zip" /> |
99 <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" /> | |
100 </repeat> | |
101 | 95 |
102 </inputs> | 96 </inputs> |
103 <outputs> | 97 <outputs> |
104 <data format="qza" label="${tool.name} on ${on_string}: sampleestimator.qza" name="osampleestimator"/> | 98 <data format="qza" label="${tool.name} on ${on_string}: sampleestimator.qza" name="osampleestimator"/> |
105 <data format="qza" label="${tool.name} on ${on_string}: featureimportance.qza" name="ofeatureimportance"/> | 99 <data format="qza" label="${tool.name} on ${on_string}: featureimportance.qza" name="ofeatureimportance"/> |