public class SequencedFragment extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
controlNumber |
protected static int |
ControlNumber_Present |
protected Boolean |
filterPassed |
protected static int |
FilterPassed_Present |
protected String |
flowcellId |
protected static int |
FlowcellId_Present |
protected String |
indexSequence |
protected static int |
IndexSequence_Present |
protected String |
instrument |
protected static int |
Instrument_Present |
protected Integer |
lane |
protected static int |
Lane_Present |
protected org.apache.hadoop.io.Text |
quality |
protected Integer |
read |
protected static int |
Read_Present |
protected Integer |
runNumber |
protected static int |
RunNumber_Present |
protected org.apache.hadoop.io.Text |
sequence |
protected Integer |
tile |
protected static int |
Tile_Present |
protected Integer |
xpos |
protected static int |
Xpos_Present |
protected Integer |
ypos |
protected static int |
Ypos_Present |
| Constructor and Description |
|---|
SequencedFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static void |
convertQuality(org.apache.hadoop.io.Text quality,
FormatConstants.BaseQualityEncoding current,
FormatConstants.BaseQualityEncoding target)
Convert quality scores in-place.
|
boolean |
equals(Object other) |
Integer |
getControlNumber() |
Boolean |
getFilterPassed() |
String |
getFlowcellId() |
String |
getIndexSequence() |
String |
getInstrument() |
Integer |
getLane() |
org.apache.hadoop.io.Text |
getQuality()
Get quality Text object.
|
Integer |
getRead() |
Integer |
getRunNumber() |
org.apache.hadoop.io.Text |
getSequence()
Get sequence Text object.
|
Integer |
getTile() |
Integer |
getXpos() |
Integer |
getYpos() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
setControlNumber(Integer v) |
void |
setFilterPassed(Boolean v) |
void |
setFlowcellId(String v) |
void |
setIndexSequence(String v) |
void |
setInstrument(String v) |
void |
setLane(Integer v) |
void |
setQuality(org.apache.hadoop.io.Text qual)
Set quality.
|
void |
setRead(Integer v) |
void |
setRunNumber(Integer v) |
void |
setSequence(org.apache.hadoop.io.Text seq) |
void |
setTile(Integer v) |
void |
setXpos(Integer v) |
void |
setYpos(Integer v) |
String |
toString()
Recreates a pseudo qseq record with the fields available.
|
static int |
verifyQuality(org.apache.hadoop.io.Text quality,
FormatConstants.BaseQualityEncoding encoding)
Verify that the given quality bytes are within the range allowed for the specified encoding.
|
void |
write(DataOutput out) |
protected org.apache.hadoop.io.Text sequence
protected org.apache.hadoop.io.Text quality
protected String instrument
protected Integer runNumber
protected String flowcellId
protected Integer lane
protected Integer tile
protected Integer xpos
protected Integer ypos
protected Integer read
protected Boolean filterPassed
protected Integer controlNumber
protected String indexSequence
protected static final int Instrument_Present
protected static final int RunNumber_Present
protected static final int FlowcellId_Present
protected static final int Lane_Present
protected static final int Tile_Present
protected static final int Xpos_Present
protected static final int Ypos_Present
protected static final int Read_Present
protected static final int FilterPassed_Present
protected static final int ControlNumber_Present
protected static final int IndexSequence_Present
public void clear()
public org.apache.hadoop.io.Text getSequence()
public org.apache.hadoop.io.Text getQuality()
public void setInstrument(String v)
public void setRunNumber(Integer v)
public void setFlowcellId(String v)
public void setLane(Integer v)
public void setTile(Integer v)
public void setXpos(Integer v)
public void setYpos(Integer v)
public void setRead(Integer v)
public void setFilterPassed(Boolean v)
public void setControlNumber(Integer v)
public void setIndexSequence(String v)
public void setSequence(org.apache.hadoop.io.Text seq)
public void setQuality(org.apache.hadoop.io.Text qual)
public String getInstrument()
public Integer getRunNumber()
public String getFlowcellId()
public Integer getLane()
public Integer getTile()
public Integer getXpos()
public Integer getYpos()
public Integer getRead()
public Boolean getFilterPassed()
public Integer getControlNumber()
public String getIndexSequence()
public String toString()
public static void convertQuality(org.apache.hadoop.io.Text quality,
FormatConstants.BaseQualityEncoding current,
FormatConstants.BaseQualityEncoding target)
FormatException - if quality scores are out of the range
allowed by the current encoding.IllegalArgumentException - if current and target quality encodings are the same.public static int verifyQuality(org.apache.hadoop.io.Text quality,
FormatConstants.BaseQualityEncoding encoding)
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2017. All rights reserved.