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
b0383f05
Commit
b0383f05
authored
Sep 06, 2012
by
Magali Ruffier
Browse files
special trick to store features on Y
parent
4b9ac002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/Bio/EnsEMBL/Pipeline/Production/DensityGenerator.pm
modules/Bio/EnsEMBL/Pipeline/Production/DensityGenerator.pm
+3
-2
No files found.
modules/Bio/EnsEMBL/Pipeline/Production/DensityGenerator.pm
View file @
b0383f05
...
...
@@ -46,8 +46,8 @@ sub run {
for
my
$block
(
@blocks
)
{
my
$feature
=
$self
->
get_density
(
$block
,
$option
);
my
$df
=
Bio::EnsEMBL::
DensityFeature
->
new
(
-
seq_region
=>
$slice
,
-
start
=>
$block
->
start
,
-
end
=>
$block
->
end
,
-
start
=>
$block
->
start
-
$slice
->
start
+
1
,
-
end
=>
$block
->
end
-
$slice
->
start
+
1
,
-
density_type
=>
$density_type
,
-
density_value
=>
$feature
);
if
(
$feature
>
0
)
{
...
...
@@ -201,6 +201,7 @@ sub get_biotype_group {
return
@biotypes
;
}
# Empty method if no specific option is needed
sub
get_option
{
my
$self
=
@_
;
}
...
...
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