gcell.protein.uniprot.UniProtAPI.batch_download_xml#
- UniProtAPI.batch_download_xml(input_csv, output_dir=None, max_workers=16)[source]#
Download UniProt XML files in batch for a list of gene names.
- Parameters:
- Return type:
Notes
The input CSV file should contain one gene name per line without a header. The function will automatically map gene names to UniProt IDs and download the corresponding XML files.
Example
client = UniProtAPI() client.batch_download_xml( input_csv="genes.csv", output_dir="xml_files", max_workers=8 )