Mercurial > repos > bgruening > protease_prediction
annotate protease.py @ 0:c7a363d7ab26 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
author | bgruening |
---|---|
date | Sat, 12 Mar 2016 19:28:41 -0500 |
parents | |
children |
rev | line source |
---|---|
0
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
1 #!/usr/bin/env python |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
2 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
3 description = """ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
4 Explicit Decomposition with Neighborhood (EDeN) utility program. |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
5 Protease modelling driver. |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
6 """ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
7 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
8 epilog = """ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
9 Author: Fabrizio Costa |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
10 Copyright: 2015 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
11 License: GPL |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
12 Maintainer: Fabrizio Costa |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
13 Email: costa@informatik.uni-freiburg.de |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
14 Status: Production |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
15 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
16 Cite: Costa, Fabrizio, and Kurt De Grave, 'Fast neighborhood subgraph pairwise |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
17 distance kernel', Proceedings of the 26th International Conference on Machine |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
18 Learning. 2010. """ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
19 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
20 import os |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
21 import logging |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
22 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
23 from eden.graph import Vectorizer |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
24 from eden.model_base import ModelInitializerBase, main_script |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
25 from eden.converter.fasta import fasta_to_sequence |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
26 from eden.modifier.seq import seq_to_seq |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
27 from eden.modifier.seq import shuffle_modifier |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
28 from eden.modifier.seq import mark_modifier |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
29 from eden.converter.fasta import sequence_to_eden |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
30 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
31 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
32 class ModelInitializer(ModelInitializerBase): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
33 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
34 def load_data(self, args): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
35 seqs = fasta_to_sequence(args.input_file) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
36 return seqs |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
37 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
38 def load_positive_data(self, args): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
39 return self.load_data(args) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
40 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
41 def load_negative_data(self, args): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
42 seqs = self.load_data(args) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
43 return seq_to_seq(seqs, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
44 modifier=shuffle_modifier, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
45 times=args.negative_ratio, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
46 order=args.shuffle_order) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
47 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
48 def pre_processor_init(self, args): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
49 def pre_processor(seqs, **args): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
50 seqs = seq_to_seq(seqs, modifier=mark_modifier, position=0.5, mark='%') |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
51 seqs = seq_to_seq(seqs, modifier=mark_modifier, position=0.0, mark='@') |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
52 seqs = seq_to_seq(seqs, modifier=mark_modifier, position=1.0, mark='*') |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
53 graphs = sequence_to_eden(seqs) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
54 return graphs |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
55 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
56 pre_processor_parameters = {} |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
57 return pre_processor, pre_processor_parameters |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
58 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
59 def vectorizer_init(self, args): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
60 vectorizer = Vectorizer() |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
61 vectorizer_parameters = {'complexity': [2, 3, 4, 5, 6]} |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
62 return vectorizer, vectorizer_parameters |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
63 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
64 def add_arguments(self, parser): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
65 parser.add_argument('--version', action='version', version='0.1') |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
66 return parser |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
67 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
68 def add_arguments_fit(self, parser): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
69 parser.add_argument("-i", "--input-file", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
70 dest="input_file", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
71 help="Path to FASTA file containing input sequences.", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
72 required=True) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
73 parser.add_argument("--negative-ratio", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
74 dest="negative_ratio", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
75 type=int, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
76 help="Relative size ration for the randomly permuted negative instances w.r.t.\ |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
77 the positive instances.", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
78 default=2) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
79 parser.add_argument("--shuffle-order", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
80 dest="shuffle_order", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
81 type=int, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
82 help="Order of the k-mer for the random shuffling procedure.", |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
83 default=2) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
84 return parser |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
85 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
86 def add_arguments_estimate(self, parser): |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
87 return self.add_arguments_fit(parser) |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
88 |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
89 if __name__ == "__main__": |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
90 model_initializer = ModelInitializer() |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
91 main_script(model_initializer=model_initializer, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
92 description=description, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
93 epilog=epilog, |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
94 prog_name=os.path.basename(__file__), |
c7a363d7ab26
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/protease_prediction commit e933135e5dc9aa8c96800fd10b62b256ac3a8523-dirty
bgruening
parents:
diff
changeset
|
95 logger=logging.getLogger()) |