public class SAMTestUtil extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
SAMTestUtil.SanityCheckFailedException |
Indicates that a required sanity-check condition was not met.
|
Constructor | Description |
---|---|
SAMTestUtil() |
Modifier and Type | Method | Description |
---|---|---|
void |
assertPairValid(SAMRecord firstEnd,
SAMRecord secondEnd) |
Basic sanity check for a pair of SAMRecords.
|
static void |
assertReadValid(SAMRecord read) |
Basic sanity check for a SAMRecord.
|
public void assertPairValid(SAMRecord firstEnd, SAMRecord secondEnd) throws SAMTestUtil.SanityCheckFailedException
SAMTestUtil.SanityCheckFailedException
- if the sanity check failedpublic static void assertReadValid(SAMRecord read) throws SAMTestUtil.SanityCheckFailedException
read
- SAM recordIllegalArgumentException
- if read is nullSAMTestUtil.SanityCheckFailedException
- if errors