# HG changeset patch # User mvdbeek # Date 1528989292 14400 # Node ID 7b0ca503bb9551de0f0f212be92c53a2cd908c81 # Parent c851dab0d2d93464b3297804bc9a8a08677a6cfa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/damidseq_findpeaks commit 5bf4f4dbd82988d1612d951d69125bc5f5b439be-dirty diff -r c851dab0d2d9 -r 7b0ca503bb95 find_peaks --- a/find_peaks Thu Jun 14 09:08:32 2018 -0400 +++ b/find_peaks Thu Jun 14 11:14:52 2018 -0400 @@ -410,7 +410,7 @@ next unless $start; - $score = 0 if $score eq "NA"; + $score = 0 if $score eq "NA" or $score eq 0.0; push (@$in_ref, [$chr, $start, $end, $score]); } @@ -436,7 +436,6 @@ foreach my $l (@$in_ref) { my ($chr, $start, $end, $score) = @$l; next unless $score; - $score = 0 if $score eq "NA"; $total_coverage += $end-$start; push @frags, $score; }