From 23639089e02e37cdd8c2823836a5b828809dba0a Mon Sep 17 00:00:00 2001 From: Clint Valentine Date: Mon, 23 Oct 2023 14:08:15 -0700 Subject: [PATCH] Fix reference to transient MI tag in DuplexConsensusCaller (#946) --- .../scala/com/fulcrumgenomics/umi/DuplexConsensusCaller.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/fulcrumgenomics/umi/DuplexConsensusCaller.scala b/src/main/scala/com/fulcrumgenomics/umi/DuplexConsensusCaller.scala index 00434b71c..4c3d9c4cf 100644 --- a/src/main/scala/com/fulcrumgenomics/umi/DuplexConsensusCaller.scala +++ b/src/main/scala/com/fulcrumgenomics/umi/DuplexConsensusCaller.scala @@ -128,7 +128,7 @@ class DuplexConsensusCaller(override val readNamePrefix: String, */ private def sourceMoleculeAndStrandId(rec: SamRecord): String = { // Optimization: speed up retrieving this tag by storing it in the transient attributes - rec.transientAttrs.get[String](ConsensusTags) match { + rec.transientAttrs.get[String](ConsensusTags.MolecularId) match { case Some(mi) => mi case None => rec.get[String](ConsensusTags.MolecularId) match {