Mercurial > repos > bgruening > sklearn_feature_selection
comparison feature_selection.xml @ 5:de0950f27aba draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 64158f357e708f0b60d2669d92d614f7aee34c0e
| author | bgruening |
|---|---|
| date | Wed, 06 Jun 2018 17:38:50 -0400 |
| parents | 73c12f296b1c |
| children | dc574d9778bd |
comparison
equal
deleted
inserted
replaced
| 4:73c12f296b1c | 5:de0950f27aba |
|---|---|
| 34 features_has_header = params["input_options"]["header1"] | 34 features_has_header = params["input_options"]["header1"] |
| 35 input_type = params["input_options"]["selected_input"] | 35 input_type = params["input_options"]["selected_input"] |
| 36 if input_type=="tabular": | 36 if input_type=="tabular": |
| 37 header = 'infer' if features_has_header else None | 37 header = 'infer' if features_has_header else None |
| 38 column_option = params["input_options"]["column_selector_options_1"]["selected_column_selector_option"] | 38 column_option = params["input_options"]["column_selector_options_1"]["selected_column_selector_option"] |
| 39 if column_option == "by_index_number": | 39 if column_option in ["by_index_number", "all_but_by_index_number"]: |
| 40 c = params["input_options"]["column_selector_options_1"]["col1"] | 40 c = params["input_options"]["column_selector_options_1"]["col1"] |
| 41 else: | 41 else: |
| 42 c = None | 42 c = None |
| 43 X, input_df = read_columns( | 43 X, input_df = read_columns( |
| 44 "$input_options.infile1", | 44 "$input_options.infile1", |
| 53 X = mmread(open("$input_options.infile1", 'r')) | 53 X = mmread(open("$input_options.infile1", 'r')) |
| 54 | 54 |
| 55 ## Read labels | 55 ## Read labels |
| 56 header = 'infer' if params["input_options"]["header2"] else None | 56 header = 'infer' if params["input_options"]["header2"] else None |
| 57 column_option = params["input_options"]["column_selector_options_2"]["selected_column_selector_option2"] | 57 column_option = params["input_options"]["column_selector_options_2"]["selected_column_selector_option2"] |
| 58 if column_option == "by_index_number": | 58 if column_option in ["by_index_number", "all_but_by_index_number"]: |
| 59 c = params["input_options"]["column_selector_options_2"]["col2"] | 59 c = params["input_options"]["column_selector_options_2"]["col2"] |
| 60 else: | 60 else: |
| 61 c = None | 61 c = None |
| 62 y = read_columns( | 62 y = read_columns( |
| 63 "$input_options.infile2", | 63 "$input_options.infile2", |
