jamescasbon/PyVCF — pull request #31 by arq5x (2012-03-06 03:16:43+00:00)
Title: Methods for determining the variant type

Hi James,

I added a bunch of new methods (and associated tests) for assessing the ``type`` (e.g. "snp", "indel", "unknown") and ``sub_type`` (e.g., "ts", "tv", "ins", "del") of a variant ``Record``. These attributes depend on some helper functions that I added: ``is_snp``, ``is_indel``, ``is_transition``, ``is_deletion``. Future work will be to support SVs.

I hope this helps. Let me know if you have any comments or concerns.