public class PositionMeta
extends java.lang.Object
Constructor | Description |
---|---|
PositionMeta(java.lang.String meta) |
Constructor from a string representing the meta data (tab delimited)
|
PositionMeta(java.lang.String[] parts) |
Constructor from an array of strings representing the meta data
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
Are two positions equal - based only on chromosome and position
|
java.lang.String[] |
getAlt() |
Get the alternative alleles
|
java.lang.String |
getChrom() |
Get the chromosome
|
java.lang.String |
getFilter() |
Get the filters
|
java.util.List<java.lang.String> |
getFormat() |
Get a list of formats
|
java.lang.String |
getID() |
Get the ID
|
java.lang.String |
getInfo() |
Get the info
|
java.lang.String |
getPosition() |
Get the position (within a chromosome) of the position
|
java.lang.String |
getQual() |
Get the quality
|
java.lang.String |
getRef() |
Get the reference allele
|
int |
hashCode() |
|
java.lang.String |
toString() |
Gets a string representing just the chromosome and the position of the
position.
|
java.lang.String |
toText() |
Get a string for all the meta data for the position
|
public PositionMeta(java.lang.String meta)
meta
- String representing the meta datapublic PositionMeta(java.lang.String[] parts)
parts
- Array of strings representing the meta datapublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toText()
public java.lang.String getChrom()
public java.lang.String getPosition()
public java.lang.String getID()
public java.lang.String getRef()
public java.lang.String[] getAlt()
public java.lang.String getQual()
public java.lang.String getFilter()
public java.lang.String getInfo()
public java.util.List<java.lang.String> getFormat()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The position to compare topublic int hashCode()
hashCode
in class java.lang.Object