-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProteinData.py
executable file
·165 lines (139 loc) · 17.1 KB
/
ProteinData.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#!/usr/bin/env python3.5
"""
script bundle to calculate protein conc. etc.
"""
import sys
import argparse
from collections import OrderedDict
import pandas as pd
from AASeq import AASeq
def main():
parser = argparse.ArgumentParser()
parser.add_argument('-mode', default='csv', type=str)
parser.add_argument('-in_file', type=str)
parser.add_argument('-name', type=str)
parser.add_argument('-seq', type=str)
parser.add_argument('-dilution_factor', type=float)
parser.add_argument('-absorbance', type=float)
args = vars(parser.parse_args())
if args['mode'] == 'csv':
input_dict = parse_input_data(args['in_file'])
elif args['mode'] == 'line':
input_dict = {args['name']: {'name': args['name'],
'seq': AASeq(args['seq'], args['name']),
'dilution_factor': args['dilution_factor'],
'absorbance': args['absorbance']
}}
elif args['mode'] == 'Js':
j_data = J_data()
input_dict = {args['name']: {'name': args['name'],
'seq': AASeq(j_data[args['name']], args['name']),
'dilution_factor': args['dilution_factor'],
'absorbance': args['absorbance']
}}
elif args['mode'] == 'excel':
absorbances = [0, 1.2205, 0, 0, 0, 0.7145, 0, 0, 1.3835, 1.859, 0, 0, 1.83875, 3.18925]
names = ['j829.A', 'j5711.A', 'j5517.A', 'j5106.A', 'j5093.A', 'j4286.A', 'j3622.A', 'j1647.A', 'j4398.A',
'j3983.A', 'j3626.A', 'j4518.A', 'j4653.A', '1ohz.A']
j_data = J_data()
input_dict = OrderedDict()
for name, absorbance in zip(names, absorbances):
input_dict[name] = {'name': name,
'seq': AASeq(j_data[name], name),
'dilution_factor': args['dilution_factor'],
'absorbance': absorbance
}
elif args['mode'] == 'just':
j_data = J_data()
coh_names = ['j829.A', 'j5711.A', 'j5517.A', 'j5106.A', 'j5093.A', 'j4286.A', 'j3622.A', 'j1647.A', 'j4398.A',
'j3983.A', 'j3626.A', 'j4518.A', 'j4653.A', '1ohz.A']
doc_names = ['j829.B', 'j5711.B', 'j5517.B', 'j5106.B', 'j5093.B', 'j1526.B', 'j3622.B', 'j1647.B', 'j4398.B', 'j3983.B', 'j3626.B', 'j4518.B', 'j4653.B', '1ohz.B']
all_names = doc_names
input_dict = OrderedDict()
for name in all_names:
input_dict[name] = {'name': name,
'seq': AASeq(j_data[name], name),
'dilution_factor': 1,
'absorbance': 0.0
}
else:
print('no mode found')
sys.exit()
pd.set_option('display.float_format', '{:.2g}'.format)
df = pd.DataFrame(columns=['name', 'seq', 'dilution_factor', 'absorbance', 'molecular_weight', 'pI',
'extinction_coefficient'])
for k, v in input_dict.items():
# calculate extinction coefficient
v['extinction_coefficient'] = v['seq'].calc_extinction_coefficient(reduced=False)
# calculate Isoelectroc point
v['pI'] = v['seq'].calc_isoelectric_point()
# calculate molar concentration
v['conc'] = v['dilution_factor'] * v['absorbance'] / v['extinction_coefficient']
# calcualte concentration if dilued by half
v['glycerol_conc'] = v['conc'] / 2
# calculate molecular weight
v['molecular_weight'] = v['seq'].calc_molecular_weight()
# calculate g/L
v['g/l'] = v['conc'] / v['molecular_weight']
print_evernote_format(v)
v['seq'] = v['seq'].get_seq()
df = df.append(v, ignore_index=True)
print(df)
print(', '.join(["%i" %i for i in df['extinction_coefficient']]))
# print conc row for excel
print('conc row for excel')
print('\t'.join('%.2f' % (a * 10**6) for a in df['conc'].values))
def print_evernote_format(entry: dict) -> None:
print('%s MW %i, %iAA, £%i, OD %.3f %.2eµM' % (entry['name'], entry['molecular_weight'], len(entry['seq']),
entry['extinction_coefficient'], entry['absorbance'],
entry['glycerol_conc']))
def parse_input_data(in_file: str) -> OrderedDict:
"""
:param in_file: input table. use the template
:return: dict of the CSV
"""
with open(in_file, 'r') as fin:
cont = fin.read().split('\n')
result = OrderedDict({})
for l in cont:
s = l.split(',')
if s[0] == 'name' or len(s) < 4:
continue
result[s[0]] = {'name': s[0],
'seq': AASeq(s[1], name=s[0]),
'dilution_factor': float(s[2]),
'absorbance': float(s[3])}
return result
def J_data() -> dict:
d = {'j829.A': 'MLEGLNDIFEAQKIEWHEGSHHHHHHANENLYFQGTPVSGNLKVEFYNSNPSDTTNSINPQFKVTNTGSSAIDLSKLTLRYYYTVDGQKDQTFWCDHAAIIGSNGSYNGITSNVKGTFVKMSSSTNNADTYLEISFTGGTLEPGAHVQIQGRFAKNDWSNYTQSNDYSFKSASQFVEWDQVTAYLNGVLVWGKEPGGSVVPSTQPVTTPPATTKPPATTIPPSDDPNAGSDGVVVEIGKVTGSVGTTVEIPVYFRGVPSKGIADCDFIFSYDPNVLEIIGIDPGDIIVDPNPTESFDTSIHPDEKRIYFLFSQSSGTGAYAITKDGVFAKIRATVKSSAPGYITFSSVGGFSDRDLVKQKVSFIDGGVNVGNAT',
'j5711.A': 'MLEGLNDIFEAQKIEWHEGSHHHHHHANENLYFQGTPVSGNLKVEFYNSNPSDTTNSINPQFKVTNTGSSAIDLSKLTLRYYYTVDGQKDQTFWCDHAAIIGSNGSYNGITSNVKGTFVKMSSSTNNADTYLEISFTGGTLEPGAHVQIQGRFAKNDWSNYTQSNDYSFKSASQFVEWDQVTAYLNGVLVWGKEPGGSVVPSTQPVTTPPATTKPPATTIPPSDDPNAGSDGVVVEIGKVTGSVGTTVEIPVYFRGVPSKGIATCQFVFSYDPNVLEIIGIDPGDIIVDPNPTRSFETAIRPDEKRIAFLFAQSSGTGAYAITKDGVFAKIRATVKSSAPGYITFSSVGTFADTDFVKQKVSFIDGGVNVGN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