Add method to remove a well from the SequenceRecord (git committed as past self due to IDE misclick)

This commit is contained in:
2022-02-22 16:09:50 -06:00
committed by eugenefischer
parent f1e4c4f194
commit 097590cf21

View File

@@ -39,6 +39,11 @@ public class SequenceRecord implements Serializable {
wells.put(wellNumber, readCount); 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<Integer> getWells() { public Set<Integer> getWells() {
return wells.keySet(); return wells.keySet();
} }