public class AdapterUtility extends Object
Modifier and Type | Field | Description |
---|---|---|
static List<String> |
DEFAULT_ADAPTER_SEQUENCE |
Constructor | Description |
---|---|
AdapterUtility(List<String> adapterSequence) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isAdapterSequence(byte[] read) |
Checks the first ADAPTER_MATCH_LENGTH bases of the read against known adapter sequences and returns
true if the read matches an adapter sequence with MAX_ADAPTER_ERRORS mismsatches or fewer.
|
public boolean isAdapterSequence(byte[] read)
read
- the basecalls for the read in the order and orientation the machine read them