Class GenBank
java.lang.Object
org.snpeff.genBank.Features
org.snpeff.genBank.GenBank
A class representing the same data as a GenBank file (a 'GB' file)
References:
http://www.insdc.org/documents/feature-table
http://www.ncbi.nlm.nih.gov/Sitemap/samplerecord
- Author:
- pablocingolani
-
Field Summary
FieldsFields inherited from class Features
COMPLEMENT, debug, JOIN, MAX_LEN_TO_SHOW, ORDER -
Constructor Summary
ConstructorsConstructorDescriptionCreate a Genbank record from a 'GB' fileGenBank(LineFileIterator lineFileIterator) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisNewFeature(String line) Has this line a new feature?protected voidparseFieldLine(String name, String valueOri, int fieldLineNum, int fileLineNum) Parse a feature linevoidreadFile()Load and parse the contents of a data fileMethods inherited from class Features
getAccession, getDate, getDefinition, getDivision, getFeatures, getKeywords, getLocusName, getMoleculeType, getOrganism, getReferences, getSequence, getSequenceLength, getShape, getSource, getVersion, isEmpty, iterator, open, parseFeatures, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
FEATURE_NAME_FIELD_LEN
public static final int FEATURE_NAME_FIELD_LEN- See Also:
-
-
Constructor Details
-
GenBank
-
GenBank
Create a Genbank record from a 'GB' file
-
-
Method Details
-
isNewFeature
Has this line a new feature?- Specified by:
isNewFeaturein classFeatures
-
parseFieldLine
-
readFile
-