public class RandomAccessAnnotations extends Object
| Constructor and Description |
|---|
RandomAccessAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAnnotation(String elementId,
String chr,
int start,
int end) |
Interval |
find(String chromosome,
int start,
int end)
Find the annotation that overlaps an interval.
|
void |
loadAnnotations(Reader annotReader)
Load and sort annotations by their start position.
|
void |
loadAnnotations(String filename)
Load and sort annotations by their end position.
|
public void loadAnnotations(String filename) throws IOException
filename - IOExceptionpublic void loadAnnotations(Reader annotReader) throws IOException
annotReader - IOExceptionCopyright © 2017 Campagne Laboratory. All rights reserved.