Correct error in comments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user