Skip to main content

HogProf

  • HogProf is an extensible and tunable approach to phylogenetic profiling using orthology data. It is powered by minhash based datastructures and computationally efficient.
  • Still under major development and may change

Features

  • Using orthoxoml files and a taxonomy calculated enhanced phylogenies of each family
  • These are transformed into minhash signatures and a locally sensitive hashing forest object for search and comparison of profiles
  • Taxonomic levels and evolutionary event types ( presence, loss, duplication ) can have custom weight in profile construction
  • Optimization of weights using machine learning

If you run into any problems feel free to contact me at dmoi@unil.ch

Quickstart

to install from github

$ git clone https://github.com/DessimozLab/HogProf.git
$ pip install -r pipreqs.txt .

or to install from pypi

$ pip install hogprof

lets get a current version of the OMA hdf5 file and GAF. This will alow us to use the HOGs and study the functional enrichment of our search results.

$ cd ../..
$ mkdir YourOmaDirectory
$ cd YourOmaDirectory
$ wget https://omabrowser.org/All/OmaServer.h5
$ wget https://omabrowser.org/All/oma-go.txt.gz

We also need to make a location to store our pyprofiler databases

$ cd ..
$ mkdir YourHogProfDirectory

Ok. We're ready! Now let's compile a database containing all HOGs and our desired taxonomic levels using default settings. Launch the lshbuilder. dbtypes available on the command line are : all , plants , archaea, bacteria , eukarya , protists , fungi , metazoa and vertebrates. These will use the NCBI taxonomy as a tree to annotate events in different gene family's histories.

$python lshbuilder.py --outpath YourHogProfDirectory --dbtype all --OMA YourOmaDirectory/OmaServer.h5 --nthreads numberOfCPUcores         

This should build a taxonomic tree for the genomes contained in the release and then calculate enhanced phylogenies for all HOGs in OMA.

Once the database is completed it can be interogated using a profiler object. Construction and usage of this object should be done using a python script or notebook. This shown in the example notebook searchenrich.ipynb found in the examples. Please feel free to modify it to suit the needs of your own research.

Metadata

Release files for hogprof 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hogprof 0.0.9
File Size Uploaded Provenance Actions
HogProf-0.0.9.tar.gz 104.9 kB Without provenance Details for HogProf-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hogprof 0.0.9
File Interpreter ABI Platform Actions
HogProf-0.0.9-py3-none-any.whl Python 3 none any Details for HogProf-0.0.9-py3-none-any.whl

Total release size: 220.4 kB

Release files / HogProf-0.0.9.tar.gz

Download URL HogProf-0.0.9.tar.gz
Size 104.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8364039bcd62fd5fcb865abbc6938966a7f1f886b2e66064e24b46043222e4a0
BLAKE2b-256 checksum
How to use checksums
b44fc1d3066b38575593db97ec8144c14b8d5d79fb2c9b56537b8a2040b417d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / HogProf-0.0.9-py3-none-any.whl

Download URL HogProf-0.0.9-py3-none-any.whl
Size 115.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14d6e5ea0c83624596aeab5d51e07181bab1be6363c0bb9861b171d8807adc30
BLAKE2b-256 checksum
How to use checksums
be0b269d46ac1643474c5f274067d6a128dd8789ed22cacd585544c2c7c92a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for hogprof 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page