Mercurial > repos > recetox > ramclustr_define_experiment
annotate ramclustr_define_experiment_wrapper.py @ 7:7c50666b88e8 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit 8775353ea1dddf10877441e158c7271a401d036e
author | recetox |
---|---|
date | Wed, 17 Apr 2024 07:51:35 +0000 |
parents | 42c2a25ff197 |
children |
rev | line source |
---|---|
0
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
1 import argparse |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
2 import csv |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
3 import sys |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
4 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
5 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
6 ARGUMENTS = { |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
7 "Experiment": {"help": "Experiment name, no spaces.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
8 "Species": {"help": "Genus species from which samples are derived.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
9 "Sample": {"help": "Type of sample (e.g., serum, leaf).", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
10 "Contributer": {"help": "Your or your PI's name.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
11 "platform": {"help": "Either GC-MS or LC-MS.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
12 "chrominst": {"help": "Model of LC/GC instrument.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
13 "msinst": {"help": "Model of MS instrument.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
14 "column": {"help": "Column description.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
15 "InletTemp": {"help": "Temperature of inlet.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
16 "TransferTemp": {"help": "Temperature of GC to MS transfer line.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
17 "mstype": {"help": "Type of mass spectrometer (one of QQQ, TOF, QTOF, Orbi, Q).", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
18 "msmode": {"help": "Positive or negative ion mode.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
19 "ionization": {"help": "Ionization (EI, AP, or CI).", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
20 "msscanrange": {"help": "Scan range used for acquisition.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
21 "scantime": {"help": "Time for each full scan spectrum (e.g. 0.2 seconds).", "type": float}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
22 "deriv": {"help": "Derivitization (TMS, TBDMS, or None).", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
23 "MSlevs": {"help": "Number of levels of energy acquired - 1 typically.", "type": float}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
24 "solvA": {"help": "Solvent A composition.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
25 "solvB": {"help": "Solvent B composition.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
26 "CE1": {"help": "Collision energy of acquisition of MS data.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
27 "CE2": {"help": "Collision energy of acquisition for MSe/idMSMS data (when applicable).", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
28 "colgas": {"help": "Gas used for collisional dissociation.", "type": str}, |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
29 "conevol": {"help": "Cone voltage used for acquisition.", "type": str} |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
30 } |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
31 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
32 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
33 def get_value(args, value, fill=True): |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
34 if fill: |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
35 return args[value] |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
36 return "fill" |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
37 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
38 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
39 def write_gcms(csv_writer, args, fill=True): |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
40 csv_writer.writerow(["", "", ""]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
41 csv_writer.writerow(["GC-MS", "", ""]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
42 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
43 gcms = ["chrominst", "msinst", "column", "InletTemp", "TransferTemp", "mstype", "msmode", "ionization", |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
44 "msscanrange", "scantime", "deriv", "MSlevs"] |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
45 for arg in gcms: |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
46 csv_writer.writerow([arg, get_value(args, arg, fill=fill), ARGUMENTS[arg]["help"]]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
47 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
48 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
49 def write_lcms(csv_writer, args, fill=True): |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
50 csv_writer.writerow(["", "", ""]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
51 csv_writer.writerow(["LC-MS", "", ""]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
52 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
53 lcms = ["chrominst", "msinst", "column", "solvA", "solvB", "CE1", "CE2", "mstype", "msmode", "ionization", "colgas", |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
54 "msscanrange", "conevol", "MSlevs"] |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
55 for arg in lcms: |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
56 csv_writer.writerow([arg, get_value(args, arg, fill=fill), ARGUMENTS[arg]["help"]]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
57 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
58 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
59 def main(argv): |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
60 parser = argparse.ArgumentParser(description="RAMClustR define experiment.") |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
61 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
62 for arg in ARGUMENTS.keys(): |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
63 parser.add_argument(f"--{arg}", type=ARGUMENTS[arg]["type"], help=ARGUMENTS[arg]["help"]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
64 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
65 parser.add_argument("--output_file", type=str, help="Path to output csv file.") |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
66 args = vars(parser.parse_args()) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
67 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
68 with open(args["output_file"], "w") as csvfile: |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
69 csv_writer = csv.writer(csvfile, delimiter=',') |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
70 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
71 csv_writer.writerow(["parameter", "Value", "Description"]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
72 csv_writer.writerow(["", "", ""]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
73 csv_writer.writerow(["Experimental Design", "", ""]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
74 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
75 general = ["Experiment", "Species", "Sample", "Contributer", "platform"] |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
76 for arg in general: |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
77 csv_writer.writerow([arg, args[arg], ARGUMENTS[arg]["help"]]) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
78 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
79 if args["platform"] == "GC-MS": |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
80 write_gcms(csv_writer, args) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
81 write_lcms(csv_writer, args, fill=False) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
82 elif args["platform"] == "LC-MS": |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
83 write_gcms(csv_writer, args, fill=False) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
84 write_lcms(csv_writer, args) |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
85 else: |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
86 raise ValueError("Platform value incorrect, choose either GC-MS or LC-MS.") |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
87 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
88 |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
89 if __name__ == "__main__": |
42c2a25ff197
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr commit c321421a07bfdcc9ed423e9ed2ee794157984ba1
recetox
parents:
diff
changeset
|
90 main(argv=sys.argv[1:]) |