Commit
•
fae7a09
1
Parent(s):
a937ee2
Fix bug SNP with ts
Browse files- process.py +1 -1
process.py
CHANGED
@@ -206,7 +206,7 @@ def validate(df):
|
|
206 |
if re.fullmatch('rs(\d)+|', snp):
|
207 |
pass
|
208 |
elif re.fullmatch('ts(\d)+', snp):
|
209 |
-
snp = '
|
210 |
elif re.fullmatch('s(\d)+', snp):
|
211 |
snp = 'r' + snp
|
212 |
elif re.fullmatch('(\d)+', snp):
|
|
|
206 |
if re.fullmatch('rs(\d)+|', snp):
|
207 |
pass
|
208 |
elif re.fullmatch('ts(\d)+', snp):
|
209 |
+
snp = 'r' + snp[1:]
|
210 |
elif re.fullmatch('s(\d)+', snp):
|
211 |
snp = 'r' + snp
|
212 |
elif re.fullmatch('(\d)+', snp):
|