Class ReadEnds
java.lang.Object
picard.sam.util.PhysicalLocationInt
picard.sam.markduplicates.util.ReadEnds
- All Implemented Interfaces:
Serializable, PhysicalLocation
- Direct Known Subclasses:
ReadEndsForMarkDuplicates, ReadEndsForMateCigar
Little struct-like class to hold read pair (and fragment) end data for duplicate marking.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytebooleanA *transient* flag marking this read end as being an optical duplicate.shortbytebyteFor optical duplicate detection the orientation matters regard to 1st or 2nd end of a matestatic final byteintintintintshortstatic final bytestatic final byteFields inherited from class PhysicalLocationInt
tile, x, yFields inherited from interface PhysicalLocation
NO_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortstatic bytegetOrientationByte(boolean read1NegativeStrand, boolean read2NegativeStrand) Returns a single byte that encodes the orientation of the two reads in a pair.shortbooleanisPaired()voidsetLibraryId(short libraryId) voidsetReadGroup(short readGroup) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PhysicalLocation
hasLocation
-
Field Details
-
F
public static final byte F- See Also:
-
R
public static final byte R- See Also:
-
FF
public static final byte FF- See Also:
-
FR
public static final byte FR- See Also:
-
RR
public static final byte RR- See Also:
-
RF
public static final byte RF- See Also:
-
libraryId
public short libraryId -
orientation
public byte orientation -
read1ReferenceIndex
public int read1ReferenceIndex -
read1Coordinate
public int read1Coordinate -
read2ReferenceIndex
public int read2ReferenceIndex -
read2Coordinate
public int read2Coordinate -
readGroup
public short readGroup -
orientationForOpticalDuplicates
public byte orientationForOpticalDuplicatesFor optical duplicate detection the orientation matters regard to 1st or 2nd end of a mate -
isOpticalDuplicate
public transient boolean isOpticalDuplicateA *transient* flag marking this read end as being an optical duplicate.
-
-
Constructor Details
-
ReadEnds
public ReadEnds()
-
-
Method Details
-
isPaired
public boolean isPaired() -
getReadGroup
public short getReadGroup()- Specified by:
getReadGroupin interfacePhysicalLocation- Overrides:
getReadGroupin classPhysicalLocationInt
-
setReadGroup
public void setReadGroup(short readGroup) - Specified by:
setReadGroupin interfacePhysicalLocation- Overrides:
setReadGroupin classPhysicalLocationInt
-
getLibraryId
public short getLibraryId()- Specified by:
getLibraryIdin interfacePhysicalLocation- Overrides:
getLibraryIdin classPhysicalLocationInt
-
setLibraryId
public void setLibraryId(short libraryId) - Specified by:
setLibraryIdin interfacePhysicalLocation- Overrides:
setLibraryIdin classPhysicalLocationInt
-
getOrientationByte
public static byte getOrientationByte(boolean read1NegativeStrand, boolean read2NegativeStrand) Returns a single byte that encodes the orientation of the two reads in a pair.
-