VarSim: A Python Toolkit for HGVS Variant Description Validation, Normalization, and Representation Conversion

IF 1.8 2区 医学 Q2 GENETICS & HEREDITY
Liu Sun, Rongshu Wang, Jian Yang
{"title":"VarSim: A Python Toolkit for HGVS Variant Description Validation, Normalization, and Representation Conversion","authors":"Liu Sun,&nbsp;Rongshu Wang,&nbsp;Jian Yang","doi":"10.1155/humu/6006096","DOIUrl":null,"url":null,"abstract":"<p>Accurate and reproducible representation of genetic variants is essential for clinical genomics, variant databases, and genomic research. The Human Genome Variation Society (HGVS) recommendations provide a standardized framework for describing sequence variants, but practical HGVS processing commonly involves multiple interdependent tasks, including parsing, validation, normalization, coordinate transformation, protein consequence inference, and conversion between variant representation formats. We developed VarSim, a lightweight Python toolkit that integrates these operations within a reference-aware workflow based on version-pinned Matched Annotation from NCBI and EMBL-EBI (MANE) transcripts retrieved from NCBI Entrez. VarSim provides programmatic functions for HGVS parsing, syntactic and semantic validation, normalization, sequence extraction, backtranslation, coordinate mapping, protein consequence prediction, genome-assembly liftover, and conversion between HGVS, VCF, and SPDI representations. We benchmarked the toolkit using 1458 HGVS descriptions across five MANE transcripts, comprising 500 coding single-nucleotide variants, 250 frameshift insertions/deletions, and 708 intronic splice-site substitutions. All 1458 descriptions passed VarSim syntactic validation, and all 750 coding descriptions passed semantic validation against the corresponding reference sequences. VariantValidator accepted all 1458 descriptions, whereas the Mutalyzer normalization endpoint processed the 750 coding descriptions. VarSim normalization agreed with Mutalyzer for all 750 coding variants and with VariantValidator for 749 of 750 variants. Protein consequence predictions agreed with VariantValidator for all 500 coding single-nucleotide variants. Format conversion between HGVS, VCF, and SPDI was exact for the tested variants, whereas transcript-to-genome projection showed substantial discrepancies relative to VariantValidator and therefore remains a limitation of the current implementation. VarSim provides a complementary, programmatic framework for reproducible HGVS processing and variant representation interoperability.</p>","PeriodicalId":13061,"journal":{"name":"Human Mutation","volume":"2026 1","pages":""},"PeriodicalIF":1.8000,"publicationDate":"2026-10-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1155/humu/6006096","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Human Mutation","FirstCategoryId":"3","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1155/humu/6006096","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"GENETICS & HEREDITY","Score":null,"Total":0}
引用次数: 0

Abstract

Accurate and reproducible representation of genetic variants is essential for clinical genomics, variant databases, and genomic research. The Human Genome Variation Society (HGVS) recommendations provide a standardized framework for describing sequence variants, but practical HGVS processing commonly involves multiple interdependent tasks, including parsing, validation, normalization, coordinate transformation, protein consequence inference, and conversion between variant representation formats. We developed VarSim, a lightweight Python toolkit that integrates these operations within a reference-aware workflow based on version-pinned Matched Annotation from NCBI and EMBL-EBI (MANE) transcripts retrieved from NCBI Entrez. VarSim provides programmatic functions for HGVS parsing, syntactic and semantic validation, normalization, sequence extraction, backtranslation, coordinate mapping, protein consequence prediction, genome-assembly liftover, and conversion between HGVS, VCF, and SPDI representations. We benchmarked the toolkit using 1458 HGVS descriptions across five MANE transcripts, comprising 500 coding single-nucleotide variants, 250 frameshift insertions/deletions, and 708 intronic splice-site substitutions. All 1458 descriptions passed VarSim syntactic validation, and all 750 coding descriptions passed semantic validation against the corresponding reference sequences. VariantValidator accepted all 1458 descriptions, whereas the Mutalyzer normalization endpoint processed the 750 coding descriptions. VarSim normalization agreed with Mutalyzer for all 750 coding variants and with VariantValidator for 749 of 750 variants. Protein consequence predictions agreed with VariantValidator for all 500 coding single-nucleotide variants. Format conversion between HGVS, VCF, and SPDI was exact for the tested variants, whereas transcript-to-genome projection showed substantial discrepancies relative to VariantValidator and therefore remains a limitation of the current implementation. VarSim provides a complementary, programmatic framework for reproducible HGVS processing and variant representation interoperability.

一个用于HGVS变量描述验证、规范化和表示转换的Python工具包
准确和可重复的遗传变异的表示是必不可少的临床基因组学,变异数据库和基因组研究。人类基因组变异学会(HGVS)的建议为描述序列变异提供了一个标准化框架,但实际的HGVS处理通常涉及多个相互依存的任务,包括解析、验证、规范化、坐标转换、蛋白质结果推断和变异表示格式之间的转换。我们开发了VarSim,这是一个轻量级的Python工具包,它基于来自NCBI的版本固定匹配注释和从NCBI Entrez检索的embi - ebi (MANE)转录本,将这些操作集成到参考感知工作流中。VarSim为HGVS解析、句法和语义验证、规范化、序列提取、反翻译、坐标映射、蛋白质结果预测、基因组组装提升以及HGVS、VCF和SPDI表示之间的转换提供了编程功能。我们使用5个MANE转录本中的1458个HGVS描述对工具包进行基准测试,包括500个编码单核苷酸变体,250个移码插入/删除和708个内含子剪接位点替换。所有1458个描述都通过了VarSim语法验证,所有750个编码描述都通过了针对相应引用序列的语义验证。VariantValidator接受所有1458个描述,而Mutalyzer规范化端点处理750个编码描述。VarSim的标准化与Mutalyzer的750种编码变体一致,与VariantValidator的750种变体中的749种一致。对所有500个编码单核苷酸变异的蛋白质后果预测与VariantValidator一致。HGVS、VCF和SPDI之间的格式转换对于测试的变体是准确的,而转录到基因组的投影显示出与VariantValidator相关的实质性差异,因此仍然是当前实现的局限性。VarSim为可复制的HGVS处理和变体表示互操作性提供了一个补充的、可编程的框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Human Mutation
Human Mutation 医学-遗传学
CiteScore
8.40
自引率
5.10%
发文量
190
审稿时长
2 months
期刊介绍: Human Mutation is a peer-reviewed journal that offers publication of original Research Articles, Methods, Mutation Updates, Reviews, Database Articles, Rapid Communications, and Letters on broad aspects of mutation research in humans. Reports of novel DNA variations and their phenotypic consequences, reports of SNPs demonstrated as valuable for genomic analysis, descriptions of new molecular detection methods, and novel approaches to clinical diagnosis are welcomed. Novel reports of gene organization at the genomic level, reported in the context of mutation investigation, may be considered. The journal provides a unique forum for the exchange of ideas, methods, and applications of interest to molecular, human, and medical geneticists in academic, industrial, and clinical research settings worldwide.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书