Type alias for functions which take a text string and return a potential key string.
Type alias for functions which take a text string and return a potential key string.
Species name sets.
Species name sets.
Return a sequence of alternate keys, one for each of the given key transforms.
Return a sequence of alternate keys, one for each of the given key transforms.
Tell whether the given sequence of namespace/ID strings contains a human nsId.
Tell whether the given sequence of namespace/ID strings contains a human nsId.
Tell whether the given sequence of species strings contain a human species label.
Tell whether the given sequence of species strings contain a human species label.
Tell whether the given namespace/ID string is an ID for humans or not.
Tell whether the given namespace/ID string is an ID for humans or not.
Check for one of several types of hyphen-separated strings and, if found, extract and return the candidate text portion, else return the text unchanged.
Check for one of several types of hyphen-separated strings and, if found, extract and return the candidate text portion, else return the text unchanged.
Tell whether the given species string is label for humans or not.
Tell whether the given species string is label for humans or not.
Tell whether the given species string is a member of the given set of species.
Tell whether the given species string is a member of the given set of species.
Additional factory method to default unused arguments.
Additional factory method to default unused arguments.
Additional factory method to default unused arguments.
Additional factory method to workaround option.
Main factory method to create, fill, and return an encapsulate knowledge base.
Canonicalize the given text string into a key for both storage and lookup.
Canonicalize the given text string into a key for both storage and lookup.
Return alternate lookup keys created from the given text string and transform functions.
Return alternate lookup keys created from the given text string and transform functions.
Return the portion of the text string minus one of the protein family suffixes, if found in the given text string, else return the text lowercased.
Return the portion of the text string minus one of the protein family suffixes, if found in the given text string, else return the text lowercased.
Return the portion of the text string before a trailing mutation phrase, if found in the given text string, else return the text unchanged.
Return the portion of the text string before a trailing mutation phrase, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus one of the organ-cell-type suffixes, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus one of the organ-cell-type suffixes, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus any of the PTM-related prefixes, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus any of the PTM-related prefixes, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus one of the protein suffixes, if found in the given text string, else return the text lowercased.
Return the portion of the text string minus one of the protein suffixes, if found in the given text string, else return the text lowercased.
Try to remove all of the suffixes in the given set from the given text.
Try to remove all of the suffixes in the given set from the given text.
Factory class for creating and loading an in-memory KB from a namespaced TSV file. Written by: Tom Hicks. 1/19/2016. Last Modified: Refactor tsv validate fields method to utils class.