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
a8a15f71
Commit
a8a15f71
authored
Jul 18, 2008
by
Ian Longden
Browse files
stats added
parent
28ff5da7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
misc-scripts/xref_mapping/xref_parser.pl
misc-scripts/xref_mapping/xref_parser.pl
+6
-3
No files found.
misc-scripts/xref_mapping/xref_parser.pl
View file @
a8a15f71
...
...
@@ -8,7 +8,7 @@ my ( $host, $port, $dbname,
@sources
,
$checkdownload
,
$create
,
$release
,
$cleanup
,
$drop_existing_db
,
$deletedownloaded
,
$dl_path
,
@notsource
,
$unzip
);
$unzip
,
$stats
);
$unzip
=
0
;
# Do not decompress gzipped files by default
...
...
@@ -25,6 +25,7 @@ GetOptions(
'
create
'
=>
\
$create
,
'
setrelease=s
'
=>
\
$release
,
'
cleanup
'
=>
\
$cleanup
,
'
stats
'
=>
\
$stats
,
'
notsource=s
'
=>
\
@notsource
,
'
drop_db|dropdb!
'
=>
\
$drop_existing_db
,
# Drop xref db without user interaction
...
...
@@ -53,7 +54,7 @@ $base_parser->run(
$create
,
$release
,
$cleanup
,
$drop_existing_db
,
$deletedownloaded
,
$dl_path
,
\
@notsource
,
$unzip
);
\
@notsource
,
$unzip
,
$stats
);
# --------------------------------------------------------------------------------
...
...
@@ -64,7 +65,7 @@ sub usage {
xref_parser
.
pl
-
user
{
user
}
-
pass
{
password
}
-
host
{
host
}
\\
-
port
{
port
}
-
dbname
{
database
}
-
species
{
species1
,
species2
}
\\
-
source
{
source1
,
source2
}
-
notsource
{
source1
,
source2
}
\\
-
create
-
setrelease
-
create
-
setrelease
-
stats
-
user
User
name
to
access
database
.
Must
allow
writing
.
...
...
@@ -119,6 +120,8 @@ sub usage {
-
unzip
Decompress
gzipped
files
(
default
is
to
use
compressed
files
)
.
-
stats
Generate
the
stats
for
the
number
of
types
of
xrefs
added
.
EOF
}
...
...
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