Package picard.illumina.parser
Class ClusterData
- java.lang.Object
-
- picard.illumina.parser.ClusterData
-
public class ClusterData extends Object
Store the information from Illumina files for a single cluster with one or more reads.
-
-
Constructor Summary
Constructors Constructor Description ClusterData(ReadData... reads)Used for testing, reads is set directly with no copying to the input arrayClusterData(ReadType[] readTypes)Creates a ClusterData with one read for each type provided
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLane()StringgetMatchedBarcode()intgetNumReads()ReadDatagetRead(int index)intgetTile()intgetX()intgetY()BooleanisPf()booleanlaneIsSet()voidsetLane(int lane)voidsetMatchedBarcode(String matchedBarcode)voidsetOrCheckLane(int lane)Either set this value if not already set, or if already set, throw an exception if new value != current value.voidsetOrCheckPf(boolean pf)Either set this value if not already set, or if already set, throw an exception if new value != current value.voidsetOrCheckTile(int tile)Either set this value if not already set, or if already set, throw an exception if new value != current value.voidsetOrCheckX(int x)Either set this value if not already set, or if already set, throw an exception if new value != current value.voidsetOrCheckY(int y)Either set this value if not already set, or if already set, throw an exception if new value != current value.voidsetPf(boolean pf)voidsetTile(int tile)voidsetX(int x)voidsetY(int y)booleantileIsSet()StringtoString()booleanxIsSet()booleanyIsSet()
-
-
-
Method Detail
-
getTile
public int getTile()
-
setTile
public void setTile(int tile)
-
tileIsSet
public boolean tileIsSet()
-
getRead
public ReadData getRead(int index)
-
getNumReads
public int getNumReads()
-
setOrCheckTile
public void setOrCheckTile(int tile)
Either set this value if not already set, or if already set, throw an exception if new value != current value.
-
getLane
public int getLane()
-
setLane
public void setLane(int lane)
-
laneIsSet
public boolean laneIsSet()
-
setOrCheckLane
public void setOrCheckLane(int lane)
Either set this value if not already set, or if already set, throw an exception if new value != current value.
-
getX
public int getX()
-
setX
public void setX(int x)
-
xIsSet
public boolean xIsSet()
-
setOrCheckX
public void setOrCheckX(int x)
Either set this value if not already set, or if already set, throw an exception if new value != current value.
-
getY
public int getY()
-
setY
public void setY(int y)
-
yIsSet
public boolean yIsSet()
-
setOrCheckY
public void setOrCheckY(int y)
Either set this value if not already set, or if already set, throw an exception if new value != current value.
-
isPf
public Boolean isPf()
-
setPf
public void setPf(boolean pf)
-
setOrCheckPf
public void setOrCheckPf(boolean pf)
Either set this value if not already set, or if already set, throw an exception if new value != current value.
-
getMatchedBarcode
public String getMatchedBarcode()
- Returns:
- The barcode matched (not the actual sequence from the read, which may not perfectly match the barcode).
-
setMatchedBarcode
public void setMatchedBarcode(String matchedBarcode)
-
-