Correct error in comments

This commit is contained in:
eugenefischer
2022-09-29 18:29:43 -05:00
parent 133984276f
commit e308e47578

View File

@@ -670,7 +670,7 @@ public class Simulator implements GraphModificationFunctions {
private static void filterByOccupancyAndReadCount(Map<String, SequenceRecord> sequences, int readDepth) {
List<String> 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);