public class AdapterUtility
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
DEFAULT_ADAPTER_SEQUENCE |
Constructor and Description |
---|
AdapterUtility(java.util.List<java.lang.String> adapterSequence) |
Modifier and Type | Method and 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 static java.util.List<java.lang.String> DEFAULT_ADAPTER_SEQUENCE
public AdapterUtility(java.util.List<java.lang.String> adapterSequence)
public boolean isAdapterSequence(byte[] read)
read
- the basecalls for the read in the order and orientation the machine read them