public class DefaultSAMRecordFactory extends java.lang.Object implements SAMRecordFactory
SamReader classes.| Constructor and Description |
|---|
DefaultSAMRecordFactory() |
| Modifier and Type | Method and Description |
|---|---|
BAMRecord |
createBAMRecord(SAMFileHeader header,
int referenceSequenceIndex,
int alignmentStart,
short readNameLength,
short mappingQuality,
int indexingBin,
int cigarLen,
int flags,
int readLen,
int mateReferenceSequenceIndex,
int mateAlignmentStart,
int insertSize,
byte[] variableLengthBlock)
Create a new BAM Record.
|
SAMRecord |
createSAMRecord(SAMFileHeader header)
Create a new SAMRecord to be filled in
|
static DefaultSAMRecordFactory |
getInstance() |
public static DefaultSAMRecordFactory getInstance()
public SAMRecord createSAMRecord(SAMFileHeader header)
createSAMRecord in interface SAMRecordFactorypublic BAMRecord createBAMRecord(SAMFileHeader header, int referenceSequenceIndex, int alignmentStart, short readNameLength, short mappingQuality, int indexingBin, int cigarLen, int flags, int readLen, int mateReferenceSequenceIndex, int mateAlignmentStart, int insertSize, byte[] variableLengthBlock)
createBAMRecord in interface SAMRecordFactory