get_protein_atlas module

Script to programmatically access The Human Protein Atlas for Ensembl Gene IDs and to obtain pathology prognostics for cancer

get_protein_atlas.get_attribute(ensembl_id, cancer)[source]

Get prognostic attributes from The Human Protein Atlas via API

Parameters
  • ensembl_id – list

  • cancer – one of Pancreas, Liver

Returns

tuple of [prognostic_type (str), is_prognostic (boolean)]