Skip to main content

Pathway gene-pair signature overrepresentation analysis

Project description

pySignora

pySignora is a Python implementation of pathway gene-pair SIGnature OverRepresentation Analysis (SIGORA).

SIGORA has been published in PeerJ and implemented in R (https://cran.r-project.org/web/packages/sigora/index.html) by Foroushani et al. (2013). Shortly, the method compiles a set of weighted markers, pathway gene-pair signatures (Pathway-GPS), for each pathway in a repository. Subsequently, it identifies statistically overrepresented Pathway-GPSs in a user-specified gene list, using an adapted version of the hypergeometric test. A pathway here is defined as a set of genes with the same pathway-ontology annotation. A pathway gene-pair signature is a pair of genes that, as a combination, are specific to a single pathway. The weight of a GPS expresses the average specificity of the two gene components towards the common pathway. The weight range is [0, 1].

For more details, see the inventors' original publication: https://peerj.com/articles/229/

The two core functions, GPS-generation and signature ORA, have been implemented, but the package is still under development and many important features will be added in the future:

  • Multiple-testing correction
  • KEGG, Reactome, GO and other databases
  • Handling hierarchical (multilevel) repositories

Usage

The input pandas dataframe (repodf) must have 3 columns: pathway, description, gene, e.g.:

import pandas as pd
repodf[:3]
#              pathwayId                           pathwayName             gene
# 1  ecadherin_1_pathway           E-cadherin signaling events  ENSG00000168036
# 2  ecadherin_1_pathway           E-cadherin signaling events  ENSG00000039068
# 3   syndecan_2_pathway  Syndecan-2-mediated signaling events  ENSG00000101680
import pysignora as ps
gps = ps.makegps(repodf)
res = ps.signora(genelist, gps)

Versioning

pySignora uses the semantic versioning scheme.

License = GPLv3+

pySignora is free software, which means the users have the freedom to run, copy, distribute, study, change and improve the software.

pySignora was written by Peter Vegh and is released under the GPLv3+ license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysignora-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

pysignora-0.1.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file pysignora-0.1.1.tar.gz.

File metadata

  • Download URL: pysignora-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7

File hashes

Hashes for pysignora-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c29a6762ebaa12f8e5251410ae0362acde1082a932e86025a1a7a8ee6ce7eb7a
MD5 7c5282c6f8d67b0d8af90d89284b3393
BLAKE2b-256 6cb6e1184d4a9365f8f74910df2fac9dc421ca8abbf9bee42506f8f5c2331c91

See more details on using hashes here.

File details

Details for the file pysignora-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pysignora-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7

File hashes

Hashes for pysignora-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a2d99c80530b1e8f73c83c49bb056278ad0271152931bff20f015e680c79dd1
MD5 6624363aa9fbd915219067bde09a7949
BLAKE2b-256 ae252be35eef8edbb01056703e9e9141fc1b9af1c6036002c81d0cf0d9e8108b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page