pypath.utils.uniprot.UniprotProtein§
- class pypath.utils.uniprot.UniprotProtein(uniprot_id)[source]§
Bases:
objectMethods
__init__(uniprot_id)has_tag(tag)info_section(title)Retrieves a section from the description.
itertag(tag)load()reload()remove_xrefs(value)update_databases()update_info()Attributes
acactivity_regulationactivity_regulation_with_xrefsalternative_productsalternative_products_with_xrefscatalytic_activitycatalytic_activity_with_xrefsReturns the database identifiers (cross-references) as a dict of database names and identifiers.
diseasedisease_with_xrefsecfull_namefunctionfunction_genecardsfunction_or_genecardsfunction_with_genecardsfunction_with_xrefsgenesymbolidinfointeractioninteraction_with_xrefsis_reviewedReturns the keywords as a list.
Returns the keywords as a list with keeping the cross-references.
Returns the length (number of residues) of the canonical sequence.
Returns the length of all isoforms as a list.
organismptmptm_with_xrefsReturns the canonical sequence (the first one) as a string of standard capital letter residue symbols.
sequence_cautionsequence_caution_with_xrefssimilaritysimilarity_with_xrefssubcellular_locationsubcellular_location_with_xrefssubunitsubunit_with_xrefstissue_specificitytissue_specificity_with_xrefsweb_resourceweb_resource_with_xrefsReturns the molecular weight of the canonical isoform in Daltons.
Returns the molecular weights of all isoforms as a list.
- property databases§
Returns the database identifiers (cross-references) as a dict of database names and identifiers.
- info_section(title)[source]§
Retrieves a section from the description. If the section is not availeble, returns
None.
- property keywords§
Returns the keywords as a list.
- property keywords_with_xrefs§
Returns the keywords as a list with keeping the cross-references.
- property length§
Returns the length (number of residues) of the canonical sequence.
- property lengths§
Returns the length of all isoforms as a list.
- property sequence§
Returns the canonical sequence (the first one) as a string of standard capital letter residue symbols.
- property weight§
Returns the molecular weight of the canonical isoform in Daltons.
- property weights§
Returns the molecular weights of all isoforms as a list.