Package picard.sam.util
Class PhysicalLocationShort
java.lang.Object
picard.sam.util.PhysicalLocationInt
picard.sam.util.PhysicalLocationShort
- All Implemented Interfaces:
Serializable
,PhysicalLocation
- Direct Known Subclasses:
PhysicalLocationForMateCigar
,ReadEnds
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 PhysicalLocationInt in that the x and y positions are shorts, not ints
thus, they may overflow within a HiSeqX tile.
- See Also:
-
Field Summary
Fields inherited from class picard.sam.util.PhysicalLocationInt
tile, x, y
Fields inherited from interface picard.sam.util.PhysicalLocation
NO_VALUE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class picard.sam.util.PhysicalLocationInt
getLibraryId, getReadGroup, getTile, getX, getY, setLibraryId, setReadGroup, setTile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface picard.sam.util.PhysicalLocation
hasLocation
-
Constructor Details
-
PhysicalLocationShort
public PhysicalLocationShort()
-
-
Method Details
-
setX
public void setX(int x) - Specified by:
setX
in interfacePhysicalLocation
- Overrides:
setX
in classPhysicalLocationInt
-
setY
public void setY(int y) - Specified by:
setY
in interfacePhysicalLocation
- Overrides:
setY
in classPhysicalLocationInt
-