public void AddOpsForRead(ReadNumber num, StitchableItem ops) { if (num == ReadNumber.Read1) { R1OpsCount++; R1Ops.Add(ops); } else { R2OpsCount++; R2Ops.Add(ops); } }
public void AddOpsForRead(ReadNumber num, StitchableItem ops) { if (num == ReadNumber.Read1) { R1OpsCount++; R1Ops.Add(ops); if (CigarExtensions.IsReferenceSpan(ops.CigarOp)) { R1HasReferenceSpan = true; } } else { R2OpsCount++; R2Ops.Add(ops); if (CigarExtensions.IsReferenceSpan(ops.CigarOp)) { R2HasReferenceSpan = true; } } }