Start position of the alignment.
A list of the ranges over which the read has a perfect sequence match.
A map of all the locations where a base mismatched.
A map of all locations where a base was deleted.
We can check equality against MdTags.
We can check equality against MdTags.
Object to see if we can compare against.
Returns True if the object is an MdTag.
Returns the number of mismatches against the reference.
Returns the number of mismatches against the reference.
Number of mismatches against the reference
Returns the base that was deleted at a position.
Returns the base that was deleted at a position.
Reference based position.
The base that was deleted at this position in the reference.
A map of all locations where a base was deleted.
Returns the end position of the record described by this MD tag.
Returns the end position of the record described by this MD tag.
The reference based end position of this tag.
We implement equality checking by seeing whether two MD tags are at the same position and have the same value.
We implement equality checking by seeing whether two MD tags are at the same position and have the same value.
An object to compare to.
True if the object is an MD tag at the same position and with the same string value. Else, false.
Given a read, returns the reference.
Given a read, returns the reference.
A read for which one desires the reference sequence.
If true, applies INDEL gaps to the reference. Else, returns the raw reference sequence.
A string corresponding to the reference overlapping this read.
Returns whether this read has any mismatches against the reference.
Returns whether this read has any mismatches against the reference.
True if this read has mismatches. We do not return true if the read has no mismatches but has deletions.
We implement hashing by hashing the string representation of the MD tag.
Returns whether a base is a match against the reference.
Returns whether a base is a match against the reference.
ReferencePosition object describing where to check.
True if base matches reference. False means that the base may be either a mismatch or a deletion.
Returns whether a base is a match against the reference.
Returns whether a base is a match against the reference.
Reference based position to check.
True if base matches reference. False means that the base may be either a mismatch or a deletion.
A list of the ranges over which the read has a perfect sequence match.
Returns the mismatched base at a position.
Returns the mismatched base at a position.
Reference based position.
The base at this position in the reference.
A map of all the locations where a base mismatched.
Start position of the alignment.
Converts an MdTag object to a properly formatted MD string.
Converts an MdTag object to a properly formatted MD string.
MD string corresponding to [0-9]+(([A-Z]|\^[A-Z]+)[0-9]+)
http://zenfractal.com/2013/06/19/playing-with-matches/
Represents the mismatches and deletions present in a read that has been aligned to a reference genome. The MD tag can be used to reconstruct the reference that an aligned read overlaps.
Start position of the alignment.
A list of the ranges over which the read has a perfect sequence match.
A map of all the locations where a base mismatched.
A map of all locations where a base was deleted.