public interface DataStoreFactory
Builder for a data store.
Modifier and Type | Method and Description |
---|---|
DataStore |
buildDataStore(File storeFile,
SequenceDB seqDB,
Packing packing,
int wordLength,
int threshold)
Build a new DataStore.
|
DataStore |
getDataStore(File storeFile)
Get a pre-built data store associated with a file.
|
DataStore getDataStore(File storeFile) throws IOException
storeFile
- the File to map in as a data storeIOException
- if the file could not be mappedDataStore buildDataStore(File storeFile, SequenceDB seqDB, Packing packing, int wordLength, int threshold) throws IllegalAlphabetException, IOException, BioException
storeFile
- the file to store the data storeseqDB
- the SequenceDB to store in the data storepacking
- the Packing used to bit-encode the sequenceswordLength
- the number of symbols per wordthreshold
- the number of times a word must appear to be ignoredIllegalAlphabetException
- if the packing does not agree with
the sequencesBioException
- if there is a problem building the data storeIOException
Copyright © 2014 BioJava. All rights reserved.