public static class EndGapsManager.Builder extends Object
EndGapsManager which is too large to fit in memory| Constructor and Description |
|---|
EndGapsManager.Builder()
Construct a new Builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSequence(SequenceCharSequence charSequence)
Adds a new sequence to this builder
|
EndGapsManager |
toEndGapsManager(SequenceListOnDisk<? extends SequenceDocument> associatedSequences)
Creates an
EndGapsManager from this builder |
public void addSequence(SequenceCharSequence charSequence) throws IOException
charSequence - the sequence to addIOException - if we can't write to diskpublic EndGapsManager toEndGapsManager(SequenceListOnDisk<? extends SequenceDocument> associatedSequences) throws IOException
EndGapsManager from this builderassociatedSequences - the sequences associated with the EndGapsManager. This must be the same sequences passed to addSequence(com.biomatters.geneious.publicapi.documents.sequence.SequenceCharSequence), but they need not be an in memory list. e.g. they should probably be a SequenceListOnDiskIOException - if we can't write to disk