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
a2333362
Commit
a2333362
authored
Dec 13, 2010
by
Ian Longden
Browse files
get the transcript prefix and set defualt host
parent
10b85a8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm
misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm
+4
-7
No files found.
misc-scripts/xref_mapping/XrefParser/GOSlimParser.pm
View file @
a2333362
...
...
@@ -13,17 +13,15 @@ sub run_script {
my
$self
=
shift
if
(
defined
(
caller
(
1
)));
my
$file
=
shift
;
my
$source_id
=
shift
;
my
$source_id
=
shift
;
my
$species_id
=
shift
;
my
$verbose
=
shift
;
my
$user
=
"
ensro
";
my
$host
;
my
$host
=
"
ens-staging1
"
;
my
$port
=
3306
;
my
$dbname
;
my
$pass
;
my
$tran_name
;
if
(
$file
=~
/host[=][>](\S+?)[,]/
){
$host
=
$
1
;
...
...
@@ -37,9 +35,7 @@ sub run_script {
if
(
$file
=~
/pass[=][>](\S+?)[,]/
){
$pass
=
$
1
;
}
if
(
$file
=~
/tran_name[=][>](\S+?)[,]/
){
$tran_name
=
$
1
;
}
my
$dbi2
;
if
(
!
defined
(
$dbname
)){
...
...
@@ -58,6 +54,7 @@ sub run_script {
if
(
!
defined
(
$dbi2
)){
print
STDERR
"
Could not connect to ontology database
\n
";
return
1
;
}
...
...
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