Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
02c111f5
Commit
02c111f5
authored
Jul 08, 2009
by
Daniel Rios
Browse files
modified expanded slice containing all the exons within it
parent
157dcfc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/Bio/EnsEMBL/DBSQL/PredictionTranscriptAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/PredictionTranscriptAdaptor.pm
+4
-4
No files found.
modules/Bio/EnsEMBL/DBSQL/PredictionTranscriptAdaptor.pm
View file @
02c111f5
...
...
@@ -166,11 +166,11 @@ sub fetch_all_by_Slice {
# get extent of region spanned by transcripts
my
(
$min_start
,
$max_end
);
foreach
my
$tr
(
@$transcripts
)
{
if
(
!
defined
(
$min_start
)
||
$tr
->
start
()
<
$min_start
)
{
$min_start
=
$tr
->
start
();
if
(
!
defined
(
$min_start
)
||
$tr
->
seq_region_
start
()
<
$min_start
)
{
$min_start
=
$tr
->
seq_region_
start
();
}
if
(
!
defined
(
$max_end
)
||
$tr
->
end
()
>
$max_end
)
{
$max_end
=
$tr
->
end
();
if
(
!
defined
(
$max_end
)
||
$tr
->
seq_region_
end
()
>
$max_end
)
{
$max_end
=
$tr
->
seq_region_
end
();
}
}
...
...
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