Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
c3eb026e
Commit
c3eb026e
authored
Nov 22, 2011
by
Monika Komorowska
Browse files
update to stable id regex
parent
44c16d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
misc-scripts/xref_mapping/XrefParser/UniProtDirectParser.pm
misc-scripts/xref_mapping/XrefParser/UniProtDirectParser.pm
+1
-1
No files found.
misc-scripts/xref_mapping/XrefParser/UniProtDirectParser.pm
View file @
c3eb026e
...
...
@@ -88,7 +88,7 @@ sub run_script {
my
@lines
=
split
(
/\n/
,
$response
->
content
);
foreach
my
$line
(
@lines
){
my
(
$prot
,
$ens
)
=
split
/\s+/
,
$line
;
if
(
$ens
=~
/$prefix{$species_id}/
){
if
(
$ens
=~
/
^
$prefix{$species_id}
P\d+$
/
){
push
@
{
$prot2ensembl
{
$prot
}},
$ens
;
}
}
...
...
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