Outputting both consensus base qualities and counts
The base qualities of a consensus reads are now the average quality of the bases forming the consensus base (most common base) and the consensus quality tag now carry an array with the counts of each base in the consensus. This should increase file size but improve calling sensitivity/specificity.
This commit is contained in:
parent
d62f2f33bc
commit
a5e75cd14c
|
|
@ -52,6 +52,7 @@ public class ReadUtils {
|
|||
// ----------------------------------------------------------------------------------------------------
|
||||
|
||||
public static final String REDUCED_READ_QUALITY_TAG = "RQ";
|
||||
public static final String REDUCED_READ_CONSENSUS_COUNTS_TAG = "CC";
|
||||
|
||||
public final static Integer getReducedReadQualityTagValue(final SAMRecord read) {
|
||||
return read.getIntegerAttribute(ReadUtils.REDUCED_READ_QUALITY_TAG);
|
||||
|
|
|
|||
Loading…
Reference in New Issue