pypath.inputs.pfam.pfam_regions§
- pypath.inputs.pfam.pfam_regions(uniprots=None, pfams=None, organism=9606, keepfile=True, value='both')[source]§
- Args
- uniprots (set): UniProt IDs to include in the result. If neither
this or
pfams
provided, all SwissProts for the given organism will be queried.
pfams (set): Pfam IDs to include in the result. organism (int): NCBI Taxonomy ID (or any other name) of the organism. keepfile (bool):
Keep the downloaded file in the cache directory.
- value (str): The return value: either “uniprot”, “pfam” or “both”.
This is the direction of the mapping “uniprot” returns a dict with UniProt IDs as keys, “pfam” the other way around, a dict with Pfam IDs as keys, while “both” returns both dicts as a tuple.