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).