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
46a446ac
Commit
46a446ac
authored
Feb 02, 2001
by
Arek Icrapzych
Browse files
fixed 'disappearing exon' bug
parent
93b7ddf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
modules/Bio/EnsEMBL/Virtual/Contig.pm
modules/Bio/EnsEMBL/Virtual/Contig.pm
+9
-5
No files found.
modules/Bio/EnsEMBL/Virtual/Contig.pm
View file @
46a446ac
...
...
@@ -866,9 +866,11 @@ sub get_MarkerFeatures {
sub
get_all_Genes
{
my
(
$self
,
$supporting
)
=
@_
;
my
(
%gene
,
%trans
,
%exon
,
%exonconverted
);
foreach
my
$contig
(
$self
->
_vmap
->
get_all_RawContigs
)
{
foreach
my
$gene
(
$contig
->
get_all_Genes
(
$supporting
)
)
{
foreach
my
$gene
(
$contig
->
get_all_Genes
(
$supporting
)
)
{
$gene
{
$gene
->
id
()}
=
$gene
;
}
}
...
...
@@ -989,16 +991,15 @@ sub _gene_query{
$internalExon
=
1
;
$exonconverted
{
$exon
->
id
}
=
1
;
}
else
{
$internalExon
=
0
;}
}
}
}
unless
(
$internalExon
)
{
delete
$gene
{
$gene
->
id
};
}
}
# get out unique set of translation objects
foreach
my
$gene
(
values
%gene
)
{
foreach
my
$transcript
(
$gene
->
each_Transcript
)
{
...
...
@@ -1055,6 +1056,9 @@ sub _gene_query{
delete
$gene
{
$trans_gene
{
$t
->
id
}};
}
}
return
values
%gene
;
}
...
...
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