From d7278fd0b7b8671b4a3b5cb959e9b167e67d43d0 Mon Sep 17 00:00:00 2001 From: Jake Date: Thu, 22 Apr 2021 10:08:01 -0400 Subject: [PATCH] Should not delete ladder peaks --- fatools/lib/fautil/algo2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatools/lib/fautil/algo2.py b/fatools/lib/fautil/algo2.py index e458d4c..3c73630 100644 --- a/fatools/lib/fautil/algo2.py +++ b/fatools/lib/fautil/algo2.py @@ -1526,7 +1526,7 @@ def mark_overlap_peaks(channels, params): # checking overlaps against channel ! for channel in channels: for channel_r in channels: - if channel == channel_r: + if channel == channel_r or or channel.is_ladder(): continue for p in channel.get_alleles(broad_peaks_only=False):