Mercurial > repos > mvdbeek > damidseq_findpeaks
changeset 12:7b0ca503bb95 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/damidseq_findpeaks commit 5bf4f4dbd82988d1612d951d69125bc5f5b439be-dirty
author | mvdbeek |
---|---|
date | Thu, 14 Jun 2018 11:14:52 -0400 |
parents | c851dab0d2d9 |
children | |
files | find_peaks |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }