We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
>>> import hgvs.parser >>> import hgvs.dataproviders.uta >>> import hgvs.assemblymapper >>> >>> hp = hgvs.parser.Parser() >>> hdp = hgvs.dataproviders.uta.connect() >>> am = hgvs.assemblymapper.AssemblyMapper(hdp) >>> >>> var_c = hp.parse_hgvs_variant('NM_001637.3:c.1582_1583inv') >>> am.c_to_p(var_c) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/wm/Library/Python/2.7/lib/python/site-packages/hgvs/assemblymapper.py", line 117, in c_to_p var_out = super(AssemblyMapper, self).c_to_p(var_c) File "/Users/wm/Library/Python/2.7/lib/python/site-packages/hgvs/variantmapper.py", line 354, in c_to_p all_alt_data = builder.build_altseq() File "/Users/wm/Library/Python/2.7/lib/python/site-packages/hgvs/utils/altseqbuilder.py", line 150, in build_altseq raise NotImplementedError("c to p translation unsupported for {} type {}".format(self._var_c, edit_type)) NotImplementedError: c to p translation unsupported for NM_001637.3:c.1582_1583inv type <class 'hgvs.edit.Inv'>
The text was updated successfully, but these errors were encountered:
Closes #501: Add c_to_p support for inversion (#502)
175ebab
* Add support of inv for altseqbuilder * Add tests of c_to_p for inv
6c406fc
No branches or pull requests
The text was updated successfully, but these errors were encountered: