public class SRAUtils extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
REFERENCE_ALIGNMENT |
References are stored in SRA table in chunks of 5k bases per row, while last chunk of a reference is less or
equal than 5k bases in size (even if the next reference follows).
|
Constructor | Description |
---|---|
SRAUtils() |
Modifier and Type | Method | Description |
---|---|---|
static long |
getNumberOfReads(ngs.ReadCollection run) |
Is used to build RecordRangeInfo
|
static List<Long> |
getReferencesLengthsAligned(ngs.ReadCollection run) |
Loads reference lengths from a read collection.
|
public static final int REFERENCE_ALIGNMENT
public static long getNumberOfReads(ngs.ReadCollection run) throws ngs.ErrorMsg
run
- open read collectionngs.ErrorMsg
public static List<Long> getReferencesLengthsAligned(ngs.ReadCollection run) throws ngs.ErrorMsg
run
- single opened read collectionngs.ErrorMsg