Class GenbankProxySequenceReader<C extends Compound>
java.lang.Object
org.biojava.nbio.core.sequence.loader.StringProxySequenceReader<C>
org.biojava.nbio.core.sequence.loader.GenbankProxySequenceReader<C>
- All Implemented Interfaces:
Iterable<C>,DatabaseReferenceInterface,FeatureRetriever,FeaturesKeyWordInterface,Accessioned,ProxySequenceReader<C>,Sequence<C>,SequenceReader<C>
public class GenbankProxySequenceReader<C extends Compound>
extends StringProxySequenceReader<C>
implements FeaturesKeyWordInterface, DatabaseReferenceInterface, FeatureRetriever
- Author:
- Karl Nicholas <github:karlnicholas>, Jacek Grzebyta <github:jgrzebyta>
-
Constructor Summary
ConstructorsConstructorDescriptionGenbankProxySequenceReader(String genbankDirectoryCache, String accessionID, CompoundSet<C> compoundSet) -
Method Summary
Modifier and TypeMethodDescriptionLocal directory cache of Genbank that can be downloadedvoidsetGenbankDirectoryCache(String genbankDirectoryCache) Methods inherited from class org.biojava.nbio.core.sequence.loader.StringProxySequenceReader
countCompounds, equals, getAccession, getAsList, getCompoundAt, getCompoundSet, getIndexOf, getInverse, getLastIndexOf, getLength, getSequenceAsString, getSequenceAsString, getSubSequence, hashCode, iterator, setCompoundSet, setContents, setContents, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GenbankProxySequenceReader
public GenbankProxySequenceReader(String genbankDirectoryCache, String accessionID, CompoundSet<C> compoundSet) throws IOException, InterruptedException, CompoundNotFoundException
-
-
Method Details
-
getGenbankDirectoryCache
Local directory cache of Genbank that can be downloaded- Returns:
- the uniprotDirectoryCache
-
setGenbankDirectoryCache
- Parameters:
genbankDirectoryCache-
-
getHeader
-
getHeaderParser
-
getFeatures
- Specified by:
getFeaturesin interfaceFeatureRetriever<C extends Compound>
-
getDatabaseReferences
- Specified by:
getDatabaseReferencesin interfaceDatabaseReferenceInterface
-
getKeyWords
- Specified by:
getKeyWordsin interfaceFeaturesKeyWordInterface- Returns:
-