public class FASTADecoderV1_0 extends java.lang.Object implements HaploidReferenceDecoder
| Modifier and Type | Field and Description |
|---|---|
protected Bundle |
inputBundle |
| Constructor and Description |
|---|
FASTADecoderV1_0(Bundle inputBundle) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close any resources associated with this decoder.
|
java.lang.String |
getDisplayName()
Get a user-friendly display name for this decoder.
|
java.lang.String |
getFileFormat()
Get the name of the file format supported by this decoder.The format name defines the underlying
format handled by this decoder, and also corresponds to the format of the primary bundle
resource that is required when decoding (see
BundleResourceType
and BundleResource.getFileFormat()). |
SAMSequenceDictionary |
getHeader()
Get the file header for this decoder.
|
ReferenceSequenceFile |
getReferenceSequenceFile() |
HtsVersion |
getVersion()
Get the version of the file format supported by this decoder.
|
boolean |
hasIndex()
Return true if the underlying resource has an index.
|
boolean |
isQueryable()
Gte true if the underlying resource is queryable.
|
CloseableIterator<ReferenceSequence> |
iterator()
Get an iterator of all records in the underlying resource.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitquery, query, query, query, queryContained, queryContained, queryContained, queryOverlapping, queryOverlapping, queryOverlapping, queryStartprotected Bundle inputBundle
public FASTADecoderV1_0(Bundle inputBundle)
public java.lang.String getDisplayName()
HtsDecodergetDisplayName in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>public final java.lang.String getFileFormat()
HtsDecoderBundleResourceType
and BundleResource.getFileFormat()).getFileFormat in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>public SAMSequenceDictionary getHeader()
HtsDecodergetHeader in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>Hpublic HtsVersion getVersion()
HtsDecodergetVersion in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>public CloseableIterator<ReferenceSequence> iterator()
HtsQueryiterator in interface HtsQuery<ReferenceSequence>iterator in interface java.lang.Iterable<ReferenceSequence>public boolean isQueryable()
HtsQueryisQueryable in interface HtsQuery<ReferenceSequence>HtsQuery.hasIndex()public boolean hasIndex()
HtsQueryhasIndex in interface HtsQuery<ReferenceSequence>@InternalAPI public ReferenceSequenceFile getReferenceSequenceFile()
public void close()
HtsDecoderclose in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>close in interface java.io.Closeableclose in interface java.lang.AutoCloseable