Mercurial > repos > bgruening > sklearn_numeric_clustering
comparison numeric_clustering.xml @ 19:6ba8d7af7e7a draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit d00173591e4a783a4c1cb2664e4bb192ab5414f7
author | bgruening |
---|---|
date | Fri, 17 Aug 2018 12:28:07 -0400 |
parents | f02f05990cc9 |
children | 1d6d938e7ee2 |
comparison
equal
deleted
inserted
replaced
18:5d98b35a807e | 19:6ba8d7af7e7a |
---|---|
14 <inputs name="inputs"/> | 14 <inputs name="inputs"/> |
15 <configfile name="cluster_script"> | 15 <configfile name="cluster_script"> |
16 <![CDATA[ | 16 <![CDATA[ |
17 import sys | 17 import sys |
18 import json | 18 import json |
19 import numpy as np | |
20 import sklearn.cluster | 19 import sklearn.cluster |
21 import pandas | 20 import pandas |
22 from sklearn import metrics | 21 from sklearn import metrics |
23 from scipy.io import mmread | 22 from scipy.io import mmread |
24 | 23 |
25 @COLUMNS_FUNCTION@ | 24 execfile("$__tool_directory__/utils.py") |
26 | 25 |
27 input_json_path = sys.argv[1] | 26 input_json_path = sys.argv[1] |
28 with open(input_json_path, "r") as param_handler: | 27 with open(input_json_path, "r") as param_handler: |
29 params = json.load(param_handler) | 28 params = json.load(param_handler) |
30 | 29 |