kinoml.databases.uniprot¶
Module Contents¶
- kinoml.databases.uniprot.download_fasta_file(uniprot_id: str, directory: pathlib.Path | str = user_cache_dir()) pathlib.Path | bool¶
Download a fasta file for a given UniProt identifier.
- Parameters:
uniprot_id (str) – The UniProt entry of interest.
directory (Path or str) – The path to a directory for saving the file.
- Returns:
The path to the downloaded file, False if not successful.
- Return type:
Path or bool