Commit 649c7453 authored by Simon Gosset's avatar Simon Gosset
Browse files

correct biogrid id

parent 54e1ba2a
......@@ -112,6 +112,15 @@ for i in fichier :
else :
Ref = 'NA'
elif i[0:12] == "DR GeneID;" :
Biogrid = re.search(r"(DR GeneID;)(\s)*(?P<bg>\w+)(;)", i)
if Biogrid is not None:
Biogrid = Biogrid.group('bg')
Biogrid = str(Biogrid)
BIOGRID.append(Biogrid)
else :
Biogrid = 'NA'
# Recuperation de l'identifiant biogrid
elif i[0:13] == "DR BioGRID;" :
# print(i)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment