+ first running version of Evaluation script
[qpalma.git] / scripts / evaluation.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 import sys
5 import os
6 import pdb
7 import io_pickle
8
9 def evaluate(dataset_fn,prediction_fn):
10 dataset = io_pickle.load(dataset_fn)
11 prediction = io_pickle.load(prediction_fn)
12
13 data = io_pickle.load(filename)
14
15 Sequences = data['Sequences']
16 Acceptors = data['Acceptors']
17 Donors = data['Donors']
18 Exons = data['Exons']
19 Ests = data['Ests']
20 Qualities = data['Qualities']
21 SplitPositions = data['SplitPositions']
22
23
24
25 if __name__ == '__main__':
26 dataset_fn = sys.argv[1]
27 prediction_fn = sys.argv[2]
28
29 evaluate(dataset_fn,prediction_fn)