public final class RandomAccessFastaIndex.IndexRecord extends Object
| Constructor and Description |
|---|
RandomAccessFastaIndex.IndexRecord(int index,
String description,
long length,
int indexStart) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription()
Returns fasta record description line.
|
List<String> |
getIds() |
long |
getLength()
Returns record length in letters.
|
int |
hashCode() |
long |
queryPosition(long offset)
Returns encoded position
(positionInFile << 20) | (numberOfLettersToSkip). |
public RandomAccessFastaIndex.IndexRecord(int index,
String description,
long length,
int indexStart)
public String getDescription()
public long getLength()
public long queryPosition(long offset)
(positionInFile << 20) | (numberOfLettersToSkip). Operation takes O(1).offset - sequence offset in letters(positionInFile << 20) | (numberOfLettersToSkip)Copyright © 2018. All rights reserved.