Skip to main content

Siblings is a code base to compute homologs between genomes and make them publicly available through a REST api

Project description

How to install siblings

in principle, a - pip install -e . (from the repostitory root) should do the work. But unfortunately, the pytable package does not properly resolve all its dependencies. Hence, pytables needs to be already installed. See http://www.pytables.org/moin/Downloads for description (a longer version is contained in the documentation)

installing in ubuntu allows for: sudo apt-get install python-tables but depending on the ubuntu version, the package might be quite outdated.

instead, I used: sudo apt-get install libhdf5-serial-dev libbz2-dev liblzo2-dev pip install numpy pip install numexpr pip install cython pip install tables

and finally, install the siblings package - pip install -e .

Example session of direct siblings usage (not as a server)

import siblings

r = siblings.Reader(‘/path/to/master/file.h5’) genomes = r.genomes filterCond = siblings.QueryFilter(‘Score>500 & PamDistance<100’) idtype = r.createReturnIdType(‘UniProtKB/TrEMBL’,’SourceAC’) res = r.getMatchesBetweenGenomePair(genomes[1],genomes[2], matchFilter=filterCond, idType=idtype)

print(len(res[‘data’])) print(res[‘colnames’]) print(res[‘data’][0:10])

res = r.getHomologsOfGene(genomes[0],1,idType=idtype)

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

siblings-0.4.0.tar.gz (304.3 kB view details)

Uploaded Source

File details

Details for the file siblings-0.4.0.tar.gz.

File metadata

  • Download URL: siblings-0.4.0.tar.gz
  • Upload date:
  • Size: 304.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for siblings-0.4.0.tar.gz
Algorithm Hash digest
SHA256 459f392334f5efe5858b3c208655b0ca8cc91f3cb76370bcb1e04abe3095236d
MD5 8405d2c49009c3a5f2a22c33c03e679f
BLAKE2b-256 38d64567a515922946d513f5bff04df4c620b125341e7df5e2e3a8f21b976a46

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