|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojavax.bio.seq.io.GenbankLocationParser
public class GenbankLocationParser
Parses Genbank location strings into RichLocation objects.
Method Summary | |
---|---|
static RichLocation |
parseLocation(Namespace featureNS,
String featureAccession,
String locationString)
Parses a location. |
static String |
writeLocation(RichLocation l)
Writes a location in Genbank format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RichLocation parseLocation(Namespace featureNS, String featureAccession, String locationString) throws ParseException
featureNS
- the namespace of the feature this location lives on.featureAccession
- the accession of the sequence of the feature this location lives on.locationString
- the GenBank location string.
ParseException
- if the parsing failed.public static String writeLocation(RichLocation l)
l
- the location to write
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |