Warn or raise an exception when CollectDuplexSeqMetrics is run on a consensus BAM
clintval opened this issue · 0 comments
clintval commented
It is possible to run the tool CollectDuplexSeqmetrics
on a consensus BAM file but the results will not be intuitively correct since metrics collection is expecting the input be raw reads (and not consensus sequences) annotated with the MI
tag:
fgbio/src/main/scala/com/fulcrumgenomics/umi/CollectDuplexSeqMetrics.scala
Lines 223 to 225 in d5b38ca
We should either support gathering metrics over the consensus BAM or raise an exception for unsupported behavior if any of the consensus SAM tags are encountered.