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
810b5f4d
Commit
810b5f4d
authored
Feb 19, 2008
by
Andreas Kusalananda Kähäri
Browse files
Exon feature collection.
parent
e6e6158e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
modules/Bio/EnsEMBL/Collection/Exon.pm
modules/Bio/EnsEMBL/Collection/Exon.pm
+36
-0
No files found.
modules/Bio/EnsEMBL/Collection/Exon.pm
0 → 100644
View file @
810b5f4d
# $Id$
package
Bio::EnsEMBL::Collection::
Exon
;
use
strict
;
use
warnings
;
use
Bio::EnsEMBL::Utils::
Argument
('
rearrange
');
use
Bio::EnsEMBL::Utils::
Exception
('
throw
');
use
base
(
'
Bio::EnsEMBL::Collection
',
'
Bio::EnsEMBL::DBSQL::ExonAdaptor
'
);
sub
_create_feature
{
my
(
$this
,
$feature_type
,
$args
)
=
@_
;
my
$feature
=
$this
->
SUPER::
_create_feature
(
$feature_type
,
$args
);
my
(
$analysis
,
$stable_id
,
$version
)
=
rearrange
(
[
'
STABLE_ID
',
'
VERSION
',
],
%
{
$args
}
);
push
(
@
{
$feature
},
$stable_id
,
$version
);
return
$feature
;
}
sub
_create_feature_fast
{
my
(
$this
,
$feature_type
,
$args
)
=
@_
;
my
$feature
=
$this
->
SUPER::
_create_feature_fast
(
$feature_type
,
$args
);
return
$feature
;
}
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