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
e9be4d92
Commit
e9be4d92
authored
Feb 24, 2010
by
Steve Trevanion
Browse files
tidier
parent
f236fd57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+2
-3
No files found.
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
View file @
e9be4d92
...
...
@@ -1172,16 +1172,15 @@ sub split_chromosomes_by_size {
# push small chromosomes onto $small_chr
push
@
{
$small_chr
},
$slice
;
}
if
(
!
$min_big_chr
or
(
$min_big_chr
>
$slice
->
length
)
&&
$slice
->
length
>
$cutoff
)
{
els
if
(
!
$min_big_chr
or
(
$min_big_chr
>
$slice
->
length
)
)
{
$min_big_chr
=
$slice
->
length
;
}
# push _all_ chromosomes onto $big_chr
push
@
{
$big_chr
},
$slice
;
}
my
$chr_slices
;
$chr_slices
->
{
int
(
$min_big_chr
/
150
)}
=
$big_chr
if
$min_big_chr
;
$chr_slices
->
{
int
(
$min_big_chr
/
150
)}
=
$big_chr
if
$min_big_chr
;
$chr_slices
->
{
int
(
$min_small_chr
/
150
)}
=
$small_chr
if
$min_small_chr
;
return
$chr_slices
;
}
...
...
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