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

removed duplicate store method

does not store density feature with value of 0
parent 72f91cf9
No related branches found
No related tags found
No related merge requests found
......@@ -176,15 +176,13 @@ AND a.logic_name='percentgc'),
-density_value => $gc );
#print join ("\t", $slice, $current_start, $current_end, $density_type, $gc, "\n");
push( @density_features, $df );
$dfa->store($df);
if ( $gc > 0 ) {
$dfa->store($df);
#density features with value = 0 are not stored
$total_count++;
}
} ## end while ( $current_end < $slice...)
$dfa->store(@density_features);
last if ( $slice_count++ > $max_slices );
} ## end while ( my $slice = shift...)
......
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