-
Notifications
You must be signed in to change notification settings - Fork 22
pyNBS.gene_conversion_tools.exclude_id
Tongqiu (Iris) Jia edited this page Feb 2, 2018
·
4 revisions
This function is used to determine if id to be input is a valid gene name. A valid gene name should not contain parentheses or quotations or whitespace. This function also optionally removes strings that is not desired in the input. This function is a helper function of query_constructor
exclude_id(
name, bad_prefixes=None
)
- name (required, str): A string of interest to be checked by the function.
- bad_prefixes (optional, str, default=None): Prefix that is not desired in the input name.
(bool) : Returns true if the given name contains invalid string, and false otherwise.