Package picard.sam.util
Interface PhysicalLocation
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PhysicalLocationForMateCigar,PhysicalLocationInt,PhysicalLocationShort,ReadEnds,ReadEndsForMarkDuplicates,ReadEndsForMarkDuplicatesWithBarcodes,ReadEndsForMateCigar
Small interface that provides access to the physical location information about a cluster.
All values should be defaulted to -1 if unavailable. ReadGroup and Tile should only allow
non-zero positive integers, x and y coordinates may be negative.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionshortshortshortgetTile()intgetX()intgetY()default booleanDefault implementation of a method to check whether real location data has been set.voidsetLibraryId(short libraryId) voidsetReadGroup(short rg) voidsetTile(short tile) voidsetX(int x) voidsetY(int y)
-
Field Details
-
NO_VALUE
static final int NO_VALUE- See Also:
-
-
Method Details
-
getReadGroup
short getReadGroup() -
setReadGroup
void setReadGroup(short rg) -
getTile
short getTile() -
setTile
void setTile(short tile) -
getX
int getX() -
setX
void setX(int x) -
getY
int getY() -
setY
void setY(int y) -
getLibraryId
short getLibraryId() -
setLibraryId
void setLibraryId(short libraryId) -
hasLocation
default boolean hasLocation()Default implementation of a method to check whether real location data has been set.
-