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, wait
query, query, query, query, queryContained, queryContained, queryContained, queryOverlapping, queryOverlapping, queryOverlapping, queryStart
protected Bundle inputBundle
public FASTADecoderV1_0(Bundle inputBundle)
public java.lang.String getDisplayName()
HtsDecoder
getDisplayName
in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>
public final java.lang.String getFileFormat()
HtsDecoder
BundleResourceType
and BundleResource.getFileFormat()
).getFileFormat
in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>
public SAMSequenceDictionary getHeader()
HtsDecoder
getHeader
in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>
H
public HtsVersion getVersion()
HtsDecoder
getVersion
in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>
public CloseableIterator<ReferenceSequence> iterator()
HtsQuery
iterator
in interface HtsQuery<ReferenceSequence>
iterator
in interface java.lang.Iterable<ReferenceSequence>
public boolean isQueryable()
HtsQuery
isQueryable
in interface HtsQuery<ReferenceSequence>
HtsQuery.hasIndex()
public boolean hasIndex()
HtsQuery
hasIndex
in interface HtsQuery<ReferenceSequence>
@InternalAPI public ReferenceSequenceFile getReferenceSequenceFile()
public void close()
HtsDecoder
close
in interface HtsDecoder<SAMSequenceDictionary,ReferenceSequence>
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable