Skip to main content

A tool to analyse Hierarchical Orthologous Groups (HOGs)

Project description

Motivation

pyHam is a library to facilitate the analysis of hierarchical orthologous groups. It also contains a few tools to run standard type of analysis.

Currently, Ham is limited to analyze HOGs that are stored in an orthoXML file. More information on the schema of orthoxml and some examples are available at http://orthoxml.org.

For extended documentation we refer to the docs folder that contain information on common use cases and API documentation of the library.

How to cite pyHam

If you use pyHam in your work, please consider citing:

Clément-Marie Train, Miguel Pignatelli, Adrian Altenhoff, Christophe Dessimoz; iHam and pyHam: visualizing and processing hierarchical orthologous groups, Bioinformatics, bty994, https://doi.org/10.1093/bioinformatics/bty994

Installation

Ham is written in python3 (also compatible with python2), with little external dependencies, i.e. currently ete3, lml, six. The setup script should resolve these dependencies automatically. Consider using pip to install the package directly from a checked out git repo

python -m pip install --upgrade pip
pip install pyham

Example

We prepare a ready-to-use example (see example folder) with few python scripts to use main pyHam features. You just have to run the following command in bash:

python run_hog_queries.py
python run_treeProfile.py
python run_iHam.py

Getting started

We create a small introductory blog post about HOGs and pyHam at http://lab.dessimoz.org/blog/2017/06/29/pyham. We highly recommend you to read it before starting using pyHam.

We also create an ipython notebook to help you with basic uses of pyHam API and embedded tools at http://zoo.cs.ucl.ac.uk/tutorials/tutorial_pyHam_get_started.html.

Table of compatibility

Support for pyHam by various HOG inference resources.

Resource

Species tree format

OrthoXML

SUPPORT

OMA browser

PhyloXML and Newick

All HOGs , or one HOG at a time

YES

OMA standalone

PhyloXML and Newick

All HOGs

YES

Ensembl

Newick

one HOG at a time

YES

HieranoidDB

Newick

one HOG at a time

YES

Documentation

You can the full documentation of pyHam at http://zoo.cs.ucl.ac.uk/doc/pyham/index.html

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

pyham-1.2.0.tar.gz (95.0 kB view details)

Uploaded Source

Built Distribution

pyham-1.2.0-py2.py3-none-any.whl (37.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyham-1.2.0.tar.gz.

File metadata

  • Download URL: pyham-1.2.0.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pyham-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4a8fd4e11ccf05fb52c185618393c179b3266442d03286be19b7828493fe0cde
MD5 2f17cfaa05a594dd8db15b97b865f52d
BLAKE2b-256 e8665117721c04795e302c9832712a2f19e2fbc06f3ec98a97ec348cf0272a24

See more details on using hashes here.

File details

Details for the file pyham-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pyham-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pyham-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57c91020ceb4d55dc5e8bfff40ad83d2410e15dad35f2d5c4bcbf4451031ad88
MD5 dc02645d4c65f5559988fe8c680c9174
BLAKE2b-256 b9b0478849baee68624097ecf24c134f72d9feec90f4d85df6f7a38fa5c8eb33

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