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
24395c71
Commit
24395c71
authored
Jul 10, 2006
by
Steve Trevanion
Browse files
merge from branch-vega-38-dev
parent
a794d0fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
16 deletions
+14
-16
misc-scripts/density_feature/vega_gene_density.pl
misc-scripts/density_feature/vega_gene_density.pl
+6
-4
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+8
-12
No files found.
misc-scripts/density_feature/vega_gene_density.pl
View file @
24395c71
...
...
@@ -117,8 +117,10 @@ my $chr_slices = $support->split_chromosomes_by_size(5000000);
# known biotype/status pairs and associated density type
my
%gene_types
=
(
"
protein_coding_KNOWN
"
=>
"
knownPCodDensity
",
"
protein_coding_in_progress_KNOWN
"
=>
"
knownPCodDensity
",
"
processed_transcript_KNOWN
"
=>
"
knownPTransDensity
",
"
protein_coding_NOVEL
"
=>
"
novelPCodDensity
",
"
protein_coding_in_progress_NOVEL
"
=>
"
novelPCodDensity
",
"
processed_transcript_NOVEL
"
=>
"
novelPTransDensity
",
"
processed_transcript_PUTATIVE
"
=>
"
putativePTransDensity
",
"
protein_coding_PREDICTED
"
=>
"
predictedPCodDensity
",
...
...
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
View file @
24395c71
...
...
@@ -251,9 +251,14 @@ sub confirm_params {
print
"
Running script with these parameters:
\n\n
";
print
$self
->
list_all_params
;
if
(
$self
->
param
('
host
')
eq
'
web-4-11
')
{
# ask user if he wants to proceed
exit
unless
$self
->
user_proceed
("
**************
\n\n
You're working on web-4-11! Is that correct and you want to continue ?
\n\n
**************
");
}
else
{
# ask user if he wants to proceed
exit
unless
$self
->
user_proceed
("
Continue?
");
}
return
(
1
);
}
...
...
@@ -938,15 +943,6 @@ sub get_species_scientific_name {
$dba
||=
$self
->
dba
;
my
$sql_tmp
=
"
SELECT meta_value FROM meta WHERE meta_key =
\
'species.classification
\
' ORDER BY meta_id
";
my
$sql
=
$dba
->
dbc
->
add_limit_clause
(
$sql_tmp
,
2
);
# my $sql = qq(
# SELECT
# meta_value
# FROM
# meta
# WHERE meta_key = "species.classification"
# ORDER BY meta_id
# LIMIT 2
# );
my
$sth
=
$dba
->
dbc
->
db_handle
->
prepare
(
$sql
);
$sth
->
execute
;
my
@sp
;
...
...
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