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);