本文整理了Java中org.broadinstitute.gatk.utils.sam.GATKSAMRecord.setReadFailsVendorQualityCheckFlag()
方法的一些代码示例,展示了GATKSAMRecord.setReadFailsVendorQualityCheckFlag()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GATKSAMRecord.setReadFailsVendorQualityCheckFlag()
方法的具体详情如下:
包路径:org.broadinstitute.gatk.utils.sam.GATKSAMRecord
类名称:GATKSAMRecord
方法名:setReadFailsVendorQualityCheckFlag
暂无
代码示例来源:origin: broadgsa/gatk-protected
/**
* Emit the accumulated dropped reads and reset/clear the cache.
*
* @param readDestination destination to receive the reads
*/
public void writeDroppedReads(final ReadDestination readDestination) {
for (final DroppedReadsTracker.Reason reason : droppedReads.keySet()) {
final Set<GATKSAMRecord> droppedRecords = droppedReads.get(reason);
for (final GATKSAMRecord originalRec : droppedRecords) {
// We want to set the vendor quality check flag on the read emitted to
// the bamout, so clone the read before update it so we don't affect
// subsequent filtering/trimming, etc. in the event the original read
// gets processed again
final GATKSAMRecord clonedRec = (GATKSAMRecord)originalRec.clone();
clonedRec.setReadFailsVendorQualityCheckFlag(true);
readDestination.add(clonedRec);
}
}
// clear and reset the cache
droppedReads.clear();
}
代码示例来源:origin: broadgsa/gatk
read.setReadFailsVendorQualityCheckFlag(true);
return false;
内容来源于网络,如有侵权,请联系作者删除!