Package htsjdk.beta.plugin.interval
Class HtsQueryInterval
java.lang.Object
htsjdk.beta.plugin.interval.HtsQueryInterval
- All Implemented Interfaces:
HtsInterval
An concrete query interval implementation of
HtsInterval used for random access queries on
file formats represented by HtsDecoders that support random access.-
Constructor Summary
ConstructorsConstructorDescriptionHtsQueryInterval(QueryInterval queryInterval, SAMSequenceDictionary dictionary) Convenience method for creating a query interval from an old-styleQueryInterval.HtsQueryInterval(String queryName, long start, long end) Create an HtsQueryInterval from query components -
Method Summary
-
Constructor Details
-
HtsQueryInterval
Create an HtsQueryInterval from query components- Parameters:
queryName- the string query naestart- the integer start positionend- the end position
-
HtsQueryInterval
Convenience method for creating a query interval from an old-styleQueryInterval.- Parameters:
queryInterval- the query interval to convertdictionary- the sequence dictionary to use to do the conversion
-
-
Method Details
-
getQueryName
Description copied from interface:HtsIntervalGet the name part of this interval query.- Specified by:
getQueryNamein interfaceHtsInterval- Returns:
- the name part of this interval query
-
getStart
public long getStart()Description copied from interface:HtsIntervalGet the 1-based inclusive start coordinate for this interval.- Specified by:
getStartin interfaceHtsInterval- Returns:
- the 1-based inclusive start coordinate for this interval
-
getEnd
public long getEnd()Description copied from interface:HtsIntervalGet the inclusive end coordinate for this interval.- Specified by:
getEndin interfaceHtsInterval- Returns:
- the inclusive end coordinate for this interval
-