-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.py
49 lines (42 loc) · 941 Bytes
/
settings.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
outer_params = {
'PRIMER_OPT_SIZE': 22,
'PRIMER_MIN_SIZE': 22,
'PRIMER_MAX_SIZE': 30,
'PRIMER_OPT_TM': 61.5,
'PRIMER_MIN_TM': 60.0,
'PRIMER_MAX_TM': 63.0,
'PRIMER_MIN_GC': 30.0,
'PRIMER_MAX_GC': 55.0,
'PRIMER_MAX_POLY_X': 5,
'PRIMER_SALT_MONOVALENT': 50.0,
'PRIMER_DNA_CONC': 50.0,
'PRIMER_MAX_NS_ACCEPTED': 0,
'PRIMER_MAX_SELF_ANY': 8,
'PRIMER_MAX_SELF_END': 47,
'PRIMER_PAIR_MAX_COMPL_ANY': 8,
'PRIMER_PAIR_MAX_COMPL_END': 47,
}
def inner_pair():
outer_params = outer_pair()
inner_params = outer_params.copy()
inner_params['PRIMER_PRODUCT_SIZE_RANGE'] = [[200, 300]]
return inner_params
MATCHES = [
set(['A', 'T']),
set(['C', 'G']),
set(['G', 'T']),
set(['C', 'T']),
set(['T', 'T'])
],
MISMATCHES = [
set(['A', 'A']),
set(['A', 'C']),
set(['C', 'C']),
set(['G', 'A']),
set(['G', 'G']),
]
# Length 22, 30, 24.43
# Tm 59.96, 62.72, 61.33
# GC 33.33, 54.55, 45.71
# Longest homopolymer 5
# Ambiguous 0