Skip to content
Snippets Groups Projects
Commit b0383f05 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

special trick to store features on Y

parent 4b9ac002
No related branches found
No related tags found
No related merge requests found
......@@ -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 = @_;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment