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
cb876844
Commit
cb876844
authored
Apr 14, 2010
by
Pontus Larsson
Browse files
Change to conform to variation schema 58
parent
0f7a8022
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
misc-scripts/variation/nonsense_transcript_attribs.pl
misc-scripts/variation/nonsense_transcript_attribs.pl
+3
-3
No files found.
misc-scripts/variation/nonsense_transcript_attribs.pl
View file @
cb876844
...
...
@@ -178,7 +178,7 @@ if (!defined($file)) {
# Query the MySQL database directly for transcripts with consequence types STOP_*
my
$stmt
=
qq{
SELECT
tv.transcript_id,
tv.transcript_
stable_
id,
vf.variation_id,
vf.variation_name,
vf.allele_string,
...
...
@@ -196,8 +196,8 @@ if (!defined($file)) {
while
(
my
(
$transcript_stable_id
,
$variation_id
,
$variation_name
,
$allele_string
,
$consequence_string
)
=
$sth
->
fetchrow_array
())
{
# Temp fix for getting stable_id from pre-58 variation database
$stmt
=
qq{SELECT stable_id FROM transcript_stable_id WHERE transcript_id = $transcript_stable_id LIMIT 1}
;
$transcript_stable_id
=
$cdb
->
dbc
->
db_handle
->
selectall_arrayref
(
$stmt
)
->
[
0
][
0
];
#
$stmt = qq{SELECT stable_id FROM transcript_stable_id WHERE transcript_id = $transcript_stable_id LIMIT 1};
#
$transcript_stable_id = $cdb->dbc->db_handle->selectall_arrayref($stmt)->[0][0];
# Get the reference allele
my
(
$ref_allele
)
=
$allele_string
=~
m/^([^\/]+)\//
;
...
...
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