gcell.protein.uniprot.UniProtAPI.download_xml

gcell.protein.uniprot.UniProtAPI.download_xml#

UniProtAPI.download_xml(uniprot_id, output_dir=None)[source]#

Download UniProt XML file for a given UniProt ID.

Parameters:
uniprot_id str

UniProt identifier

output_dir str | Path | None (default: None)

Directory where XML files will be saved (default: cache_dir/uniprot_xml)

Return type:

bool

Returns:

bool True if download was successful, False otherwise