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 {