Skip to content
Snippets Groups Projects
Commit 1fec175b authored by Monika Komorowska's avatar Monika Komorowska
Browse files

count only stored density features

parent cde48eb3
No related branches found
No related tags found
No related merge requests found
......@@ -279,8 +279,10 @@ foreach my $dbname (@dbnames) {
-end => $current_end,
-density_type => $dt,
-density_value => $count);
$total_count++;
if ($count > 0) {
#density features with value = 0 are not stored
$total_count++;
}
}
$dfa->store(@density_features);
......@@ -289,7 +291,7 @@ foreach my $dbname (@dbnames) {
}
}
print STDOUT "Created $total_count gene density features.\n";
print STDOUT "Created $total_count gene density features\n";
print STDOUT "Finished with $dbname";
}
......
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