jamescasbon/PyVCF — Issue #12: _Record attributes for variant type and sub_type
Author: arq5x
Created: 2012-01-25 14:28:07+00:00
State: open

I think it would be very helpful to add attributes to the `_Record` API that report:

1. The variant type (e.g., "snp", "indel", "sv").

2. The variant sub_type:
- if variant == "snp"
"ts" for transition
"tv" for transversion
- if variant == "indel"
"del" for deletion
"ins" for insertion

etc.

If you are open to this, I have some existing code for this that I could incorporate.