From 097590cf21a98ddcc9eef76090bb499c8d1cc43e Mon Sep 17 00:00:00 2001 From: efischer Date: Tue, 22 Feb 2022 16:09:50 -0600 Subject: [PATCH] Add method to remove a well from the SequenceRecord (git committed as past self due to IDE misclick) --- src/main/java/SequenceRecord.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/SequenceRecord.java b/src/main/java/SequenceRecord.java index 2823e99..b880662 100644 --- a/src/main/java/SequenceRecord.java +++ b/src/main/java/SequenceRecord.java @@ -39,6 +39,11 @@ public class SequenceRecord implements Serializable { wells.put(wellNumber, readCount); } + //Method to remove a well from the occupancy map. + //Useful for cases where one sequence is misread as another sequence that isn't actually present in the well + //This can reveal itself as an anomalously low read count in that well. + public void deleteWell(Integer wellNumber) { wells.remove(wellNumber); } + public Set getWells() { return wells.keySet(); }