Package picard.sam.util
Interface PhysicalLocation
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PhysicalLocationForMateCigar,PhysicalLocationInt,PhysicalLocationShort,ReadEnds,ReadEndsForMarkDuplicates,ReadEndsForMarkDuplicatesWithBarcodes,ReadEndsForMateCigar
public interface PhysicalLocation extends Serializable
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 Modifier and Type Field Description static intNO_VALUE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description shortgetLibraryId()shortgetReadGroup()shortgetTile()intgetX()intgetY()default booleanhasLocation()Default 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 Detail
-
NO_VALUE
static final int NO_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-