From e308e475787da204757e8cc4a941a483b25fc247 Mon Sep 17 00:00:00 2001 From: eugenefischer <66030419+eugenefischer@users.noreply.github.com> Date: Thu, 29 Sep 2022 18:29:43 -0500 Subject: [PATCH] Correct error in comments --- src/main/java/Simulator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/Simulator.java b/src/main/java/Simulator.java index 735563f..a151b8b 100644 --- a/src/main/java/Simulator.java +++ b/src/main/java/Simulator.java @@ -670,7 +670,7 @@ public class Simulator implements GraphModificationFunctions { private static void filterByOccupancyAndReadCount(Map sequences, int readDepth) { List noise = new ArrayList<>(); for(String k : sequences.keySet()){ - //occupancy times read depth should be more than half the sequence read count if the read error rate is low + //the sequence read count should be more than half the occupancy times read depth if the read error rate is low Integer threshold = (sequences.get(k).getOccupancy() * readDepth) / 2; if(sequences.get(k).getReadCount() < threshold) { noise.add(k);