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
ConstructorDescriptionGenbankProxySequenceReader
(String genbankDirectoryCache, String accessionID, CompoundSet<C> compoundSet) -
Method Summary
Modifier and TypeMethodDescriptionLocal directory cache of Genbank that can be downloadedstatic void
void
setGenbankDirectoryCache
(String genbankDirectoryCache) Methods inherited from class org.biojava.nbio.core.sequence.loader.StringProxySequenceReader
countCompounds, getAccession, getAsList, getCompoundAt, getCompoundSet, getIndexOf, getInverse, getLastIndexOf, getLength, getSequenceAsString, getSequenceAsString, getSubSequence, iterator, setCompoundSet, setContents, setContents, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getFeatures
in interfaceFeatureRetriever
-
getDatabaseReferences
- Specified by:
getDatabaseReferences
in interfaceDatabaseReferenceInterface
-
getKeyWords
- Specified by:
getKeyWords
in interfaceFeaturesKeyWordInterface
- Returns:
-
main
- Throws:
Throwable
-