Package picard.sam.markduplicates.util
Class ReadEndsForMarkDuplicates
java.lang.Object
picard.sam.util.PhysicalLocationInt
picard.sam.util.PhysicalLocationShort
picard.sam.markduplicates.util.ReadEnds
picard.sam.markduplicates.util.ReadEndsForMarkDuplicates
- All Implemented Interfaces:
Serializable,Cloneable,PhysicalLocation
- Direct Known Subclasses:
ReadEndsForMarkDuplicatesWithBarcodes
Little struct-like class to hold read pair (and fragment) end data for MarkDuplicatesWithMateCigar
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintlonglongshortprotected static final intFields inherited from class picard.sam.markduplicates.util.ReadEnds
F, FF, FR, isOpticalDuplicate, libraryId, orientation, orientationForOpticalDuplicates, R, read1Coordinate, read1ReferenceIndex, read2Coordinate, read2ReferenceIndex, readGroup, RF, RRFields inherited from class picard.sam.util.PhysicalLocationInt
tile, x, yFields inherited from interface picard.sam.util.PhysicalLocation
NO_VALUE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionclone()static intstatic booleanisSingleEndReadKnownFragment(htsjdk.samtools.SAMRecord rec) This method is used to generate the following two metrics: UNPAIRED_DUPS_WITH_TLEN UNPAIRED_DUPS_WITHOUT_TLEN It will return true if and only if the read is single ended and the exact fragment length is known (i.e.toString()Methods inherited from class picard.sam.markduplicates.util.ReadEnds
getLibraryId, getOrientationByte, getReadGroup, isPaired, setLibraryId, setReadGroupMethods inherited from class picard.sam.util.PhysicalLocationShort
setX, setYMethods inherited from class picard.sam.util.PhysicalLocationInt
getTile, getX, getY, setTileMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface picard.sam.util.PhysicalLocation
hasLocation
-
Field Details
-
SIZE_OF
protected static final int SIZE_OF- See Also:
-
score
public short score -
read1IndexInFile
public long read1IndexInFile -
read2IndexInFile
public long read2IndexInFile -
duplicateSetSize
public int duplicateSetSize
-
-
Constructor Details
-
ReadEndsForMarkDuplicates
public ReadEndsForMarkDuplicates() -
ReadEndsForMarkDuplicates
-
-
Method Details
-
getSizeOf
public static int getSizeOf() -
toString
-
clone
-
isSingleEndReadKnownFragment
public static boolean isSingleEndReadKnownFragment(htsjdk.samtools.SAMRecord rec) This method is used to generate the following two metrics: UNPAIRED_DUPS_WITH_TLEN UNPAIRED_DUPS_WITHOUT_TLEN It will return true if and only if the read is single ended and the exact fragment length is known (i.e. it was not quality trimmed)
-