Repository 'damidseq_findpeaks'
hg clone https://toolshed.g2.bx.psu.edu/repos/mvdbeek/damidseq_findpeaks

Changeset 12:7b0ca503bb95 (2018-06-14)
Previous changeset 11:c851dab0d2d9 (2018-06-14)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/damidseq_findpeaks commit 5bf4f4dbd82988d1612d951d69125bc5f5b439be-dirty
modified:
find_peaks
b
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;
  }