Skip to main content

Functional enrichment analysis and more via the g:Profiler toolkit

Project description

The official Python interface to the g:Profiler [1] toolkit for enrichment analysis of functional (GO and other) terms, conversion between identifier namespaces and mapping orhologous genes in related organisms. This library provides both a command-line tool and a Python module. It is designed to be lightweight and not require any 3rd party packages.

Installation on Linux using pip

The pip tool [4] is the recommended method of installing Python packages.

Optionally create a virtual environment [2]:

$ virtualenv2 myenv
$ source myenv/bin/activate

Install the software with pip, see [3] for instructions:

$ pip install gprofiler-official

Make sure that the installed gprofiler.py script is on your $PATH. When using a virtual environment as shown above, this should happen automatically.

Run an example query:

$ gprofiler.py -o scerevisiae "swi4 swi6"

For detailed usage instructions, see:

$ gprofiler.py --help

To use the module in your codebase:

from gprofiler import GProfiler
gp = GProfiler("MyToolName/0.1")
result = gp.gprofile("sox2")

For details, see the API documentation [6].

Installation on Linux using the tarball

You may simply download the tarball from gprofiler-official PyPI page [5], extract it and use the gprofiler.py script without installation. For detailed usage instructions, see:

$ gprofiler.py --help

Installation on other platforms

Please see [3] for package installation instructions on various platforms.

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

gprofiler-official-0.2.1.tar.gz (17.5 kB view details)

Uploaded Source

File details

Details for the file gprofiler-official-0.2.1.tar.gz.

File metadata

File hashes

Hashes for gprofiler-official-0.2.1.tar.gz
Algorithm Hash digest
SHA256 fb8a5cdc93e35a27e00184b9ffd014809d240974b40a4ade699f8d803f948249
MD5 5b0804cfe57f0e7cab99aed5040ed4da
BLAKE2b-256 e387632c311ec7d1943c64ce581a305353b76db1fc6e04897ec36d3a0eb25f59

See more details on using hashes here.

Supported by

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