gcell.protein.uniprot.UniProtAPI#
- class gcell.protein.uniprot.UniProtAPI[source]#
A class to interact with UniProt API for protein-related data retrieval.
Methods
batch_download_xml(input_csv[, output_dir, ...])Download UniProt XML files in batch for a list of gene names.
download_database(output_dir[, organism, ...])Download UniProt database for a specific organism.
download_xml(uniprot_id[, output_dir])Download UniProt XML file for a given UniProt ID.
get_domains(uniprot_id[, xml_dir])Get domain information from UniProt.
get_protein_info(uniprot_id)Get detailed protein information from UniProt ID.
get_protein_sequence(uniprot_id)Get protein sequence from UniProt ID.
get_uniprot_id(gene_name[, organism, reviewed])Get UniProt ID(s) from gene name.
search_proteins(query[, fields])Search proteins using custom query and return results as DataFrame.