@Immutable public final class Gff3Record extends Object
| Constructor and Description |
|---|
Gff3Record(String seqid,
String source,
String featureType,
long start,
long end,
Double score,
String strand,
Integer phase,
com.google.common.collect.ListMultimap<String,String> attributes)
Create a new GFF3 record.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.google.common.collect.ListMultimap<String,String> |
getAttributes()
Return the attributes for this GFF3 record.
|
long |
getEnd()
Return the end for this GFF3 record in 0-based coordinate system, closed open range.
|
String |
getFeatureType()
Return the feature type for this GFF3 record.
|
Integer |
getPhase()
Return the phase for this GFF3 record, if any.
|
Double |
getScore()
Return the score for this GFF3 record, if any.
|
String |
getSeqid()
Return the seqid for this GFF3 record.
|
String |
getSource()
Return the source for this GFF3 record.
|
long |
getStart()
Return the start for this GFF3 record in 0-based coordinate system, closed open range.
|
String |
getStrand()
Return the strand for this GFF3 record.
|
int |
hashCode() |
com.google.common.collect.Range<Long> |
toRange()
Return this GFF3 record as a 0-based coordinate system, closed open range.
|
String |
toString() |
static Gff3Record |
valueOf(String value)
Return a new GFF3 record parsed from the specified value.
|
public Gff3Record(String seqid, String source, String featureType, long start, long end, Double score, String strand, Integer phase, com.google.common.collect.ListMultimap<String,String> attributes)
seqid - seqid, must not be nullsource - source, must not be nullfeatureType - feature type, must not be nullstart - start, must be at least 0Lend - end, must be at least zero, and greater than or equal to startscore - scorestrand - strand, if present must be -, +, or ?phase - phase, if present must be 0, 1, or 2attributes - attributes, must not be nullpublic String getSeqid()
public String getSource()
public String getFeatureType()
public long getStart()
public long getEnd()
public Double getScore()
public String getStrand()
public Integer getPhase()
public com.google.common.collect.ListMultimap<String,String> getAttributes()
public com.google.common.collect.Range<Long> toRange()
public static Gff3Record valueOf(String value)
value - value to parseIllegalArgumentException - if the value is not valid GFF3 formatNumberFormatException - if a number valued field cannot be parsed as a numberCopyright © 2013–2019 dishevelled.org. All rights reserved.