Some variants will have None reference or alternate bases (e.g., indels). Previously, a None in the coordinate query would match any reference or alternate base (i.e., act as a de-facto wildcard).
This PR changes this behavior so that using None in your query for your reference and/or alternate base will only match variants with no reference and/or alternate base. A new wildcard character * is introduced which can be used in the coordinate query for reference or alternate alleles and match any reference alleles or alternate alleles (including variants without reference or alternate alleles).
Some variants will have None reference or alternate bases (e.g., indels). Previously, a None in the coordinate query would match any reference or alternate base (i.e., act as a de-facto wildcard).
This PR changes this behavior so that using None in your query for your reference and/or alternate base will only match variants with no reference and/or alternate base. A new wildcard character
*
is introduced which can be used in the coordinate query for reference or alternate alleles and match any reference alleles or alternate alleles (including variants without reference or alternate alleles).