pyproteome.pypuniprot package

This module provides functionality for fetching protein data from UniProt.

Caches fetched protein data for faster re-use.

pyproteome.pypuniprot.fetch_uniprot_data(accessions)[source]

Fetch UniProt protein descriptions, gene names, sequences, etc.

All information is stored in UNIPROT_DATA and can be accessed with get_uniprot_data().

Parameters:
accessions : list of str
Returns:
dict of str, dict
pyproteome.pypuniprot.get_uniprot_data(accession)[source]

Get UniProt data associated with a protein.

Parameters:
accession : str
Returns:
data : dict
pyproteome.pypuniprot.prefetch_all_msf_uniprot()[source]

Fetch data for all accesions found in MSF files in MS Searched directory.

pyproteome.pypuniprot.prefetch_all_uniprot()[source]

Fetch data for all accesions found in MS Searched directory.

Pulls all UniProt accession IDs from all ‘_psms.txt’ files.