Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GNet
APPINetwork
Commits
649c7453
Commit
649c7453
authored
May 17, 2022
by
Simon Gosset
Browse files
correct biogrid id
parent
54e1ba2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
inst/thesaurusPy.py
View file @
649c7453
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment