public class GenBankFeatureLocation extends Object implements SeqFeatureLocation
Constructor and Description |
---|
GenBankFeatureLocation(String inLocationString) |
Modifier and Type | Method and Description |
---|---|
void |
append(String inAdditionalLocationData) |
GenBankFeatureLocation |
clone() |
int |
compareTo(Object inObj2) |
boolean |
equals(Object inObj2) |
String |
eval(NucleicAcid inNucleicAcid) |
String |
eval(String inSequence) |
void |
extend3Prime(int inAdditionalLength)
Extends the last sequence range by the specified number of base pairs.
|
void |
extend5Prime(int inAdditionalLength)
Extends the start of the first sequence range by the specified number of base pairs.
|
Integer |
get3Prime() |
Integer |
get5Prime() |
List<SeqLocation> |
getIntrons() |
Integer |
getSeqLength() |
int |
hashCode() |
Long |
length() |
void |
set3Prime(int inValue)
Sets the 3' position of the location.
|
void |
set5Prime(int inValue)
Sets the 5' position of the location.
|
GenBankFeatureLocation |
setSeqLength(Integer inValue) |
Range<Integer> |
toIntRange() |
String |
toString() |
public GenBankFeatureLocation(String inLocationString)
public GenBankFeatureLocation clone()
public GenBankFeatureLocation setSeqLength(Integer inValue)
public Integer getSeqLength()
public void append(String inAdditionalLocationData)
append
in interface SeqFeatureLocation
public void extend3Prime(int inAdditionalLength)
inAdditionalLength
- length to extend the last sequence range bypublic void extend5Prime(int inAdditionalLength)
inAdditionalLength
- length to extend the first sequence range bypublic void set5Prime(int inValue)
inValue
- new 5' positionpublic void set3Prime(int inValue)
inValue
- new 3' positionpublic String eval(String inSequence)
eval
in interface SeqFeatureLocation
public String eval(NucleicAcid inNucleicAcid)
public List<SeqLocation> getIntrons()
public int compareTo(Object inObj2)
compareTo
in interface Comparable
public Range<Integer> toIntRange()
toIntRange
in interface SeqFeatureLocation