Package picard.sam.util
Class PhysicalLocationInt
java.lang.Object
picard.sam.util.PhysicalLocationInt
- All Implemented Interfaces:
Serializable,PhysicalLocation
- Direct Known Subclasses:
PhysicalLocationShort
Small class that provides access to the physical location information about a cluster.
All values should be defaulted to -1 if unavailable. Tile should only allow
non-zero positive integers, x and y coordinates must be non-negative.
This is different from PhysicalLocationShort in that the x and y positions are ints, not shorts
thus, they do not overflow within a HiSeqX tile.
- See Also:
-
Field Summary
FieldsFields inherited from interface picard.sam.util.PhysicalLocation
NO_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortshortshortgetTile()intgetX()intgetY()voidsetLibraryId(short libraryId) voidsetReadGroup(short readGroup) voidsetTile(short tile) voidsetX(int x) voidsetY(int y) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface picard.sam.util.PhysicalLocation
hasLocation
-
Field Details
-
tile
public short tile -
x
public int x -
y
public int y
-
-
Constructor Details
-
PhysicalLocationInt
public PhysicalLocationInt()
-
-
Method Details
-
getReadGroup
public short getReadGroup()- Specified by:
getReadGroupin interfacePhysicalLocation
-
setReadGroup
public void setReadGroup(short readGroup) - Specified by:
setReadGroupin interfacePhysicalLocation
-
getTile
public short getTile()- Specified by:
getTilein interfacePhysicalLocation
-
setTile
public void setTile(short tile) - Specified by:
setTilein interfacePhysicalLocation
-
getX
public int getX()- Specified by:
getXin interfacePhysicalLocation
-
setX
public void setX(int x) - Specified by:
setXin interfacePhysicalLocation
-
getY
public int getY()- Specified by:
getYin interfacePhysicalLocation
-
setY
public void setY(int y) - Specified by:
setYin interfacePhysicalLocation
-
getLibraryId
public short getLibraryId()- Specified by:
getLibraryIdin interfacePhysicalLocation
-
setLibraryId
public void setLibraryId(short libraryId) - Specified by:
setLibraryIdin interfacePhysicalLocation
-