public class HtsQueryInterval extends java.lang.Object implements HtsInterval
HtsInterval used for random access queries on
file formats represented by HtsDecoders that support random access.| Constructor and Description |
|---|
HtsQueryInterval(QueryInterval queryInterval,
SAMSequenceDictionary dictionary)
Convenience method for creating a query interval from an old-style
QueryInterval. |
HtsQueryInterval(java.lang.String queryName,
long start,
long end)
Create an HtsQueryInterval from query components
|
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd()
Get the inclusive end coordinate for this interval.
|
java.lang.String |
getQueryName()
Get the name part of this interval query.
|
long |
getStart()
Get the 1-based inclusive start coordinate for this interval.
|
public HtsQueryInterval(java.lang.String queryName,
long start,
long end)
queryName - the string query naestart - the integer start positionend - the end positionpublic HtsQueryInterval(QueryInterval queryInterval, SAMSequenceDictionary dictionary)
QueryInterval.queryInterval - the query interval to convertdictionary - the sequence dictionary to use to do the conversionpublic java.lang.String getQueryName()
HtsIntervalgetQueryName in interface HtsIntervalpublic long getStart()
HtsIntervalgetStart in interface HtsIntervalpublic long getEnd()
HtsIntervalgetEnd in interface HtsInterval