Strip inline citations out of a UniProt function comment
Source:R/protvar.R
protvar_strip_citations.RdPure.
Details
UniProt FUNCTION comments carry their evidence inline, as
(PubMed:11025664, PubMed:12524540, ...). For a well-studied protein the
citations run longer than the prose they support. This drops the citation
groups and tidies the punctuation left behind, while keeping non-citation
parentheticals such as (By similarity).
References
Stephenson et al. (2024). ProtVar: mapping and contextualizing human missense variation. Nucleic Acids Research 52(W1), W140-W147. doi:10.1093/nar/gkae413
Service documentation: https://www.ebi.ac.uk/ProtVar/