本文整理汇总了Java中htsjdk.samtools.SAMRecord.getReadFailsVendorQualityCheckFlag方法的典型用法代码示例。如果您正苦于以下问题:Java SAMRecord.getReadFailsVendorQualityCheckFlag方法的具体用法?Java SAMRecord.getReadFailsVendorQualityCheckFlag怎么用?Java SAMRecord.getReadFailsVendorQualityCheckFlag使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类htsjdk.samtools.SAMRecord
的用法示例。
在下文中一共展示了SAMRecord.getReadFailsVendorQualityCheckFlag方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: filterOut
import htsjdk.samtools.SAMRecord; //导入方法依赖的package包/类
@Override
public boolean filterOut(SAMRecord read){
return read.getReadFailsVendorQualityCheckFlag();
}
示例2: excludeReadFromBAQ
import htsjdk.samtools.SAMRecord; //导入方法依赖的package包/类
/**
* Returns true if we don't think this read is eligible for the BAQ calculation. Examples include non-PF reads,
* duplicates, or unmapped reads. Used by baqRead to determine if a read should fall through the calculation.
*
* @param read
* @return
*/
public boolean excludeReadFromBAQ(SAMRecord read) {
// keeping mapped reads, regardless of pairing status, or primary alignment status.
return read.getReadUnmappedFlag() || read.getReadFailsVendorQualityCheckFlag() || read.getDuplicateReadFlag();
}