Skip to main content

PySnpTools

Project description

PySnpTools

PySnpTools is a library for reading and manipulating genetic data.

Main Features:

  • SnpReader: Efficiently read genetic PLINK formats including *.bed/bim/fam files. Also, efficiently read parts of files, read kernel data, and standardize data. New features include multi-threaded BED reading, cluster-ready BED data, on-the-fly SNP generation, and larger in-memory data.

  • DistReader: Efficiently work with unphased BGEN format and other diploid, biallelic distribution data. Also, efficiently read parts of files. See Distribution IPython Notebook.

  • util: In one line, intersect and re-order IIDs from snpreader and other sources. Also, efficiently extract a submatrix from an ndarray.

  • IntRangeSet: Efficiently manipulate ranges of integers - for example, genetic position - with set operators including union, intersection, and set difference.

  • mapreduce1: Run loops locally, on multiple processors, or on any cluster.

  • filecache: Read and write files locally or from/to any remote storage.

Install

pip install pysnptools

Note: Windows users must use Python 3.7 to 3.9. Python 3.10 is not supported on Windows.

Documentation

Code

Contacts

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

pysnptools-0.5.8.tar.gz (216.6 kB view details)

Uploaded Source

File details

Details for the file pysnptools-0.5.8.tar.gz.

File metadata

  • Download URL: pysnptools-0.5.8.tar.gz
  • Upload date:
  • Size: 216.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pysnptools-0.5.8.tar.gz
Algorithm Hash digest
SHA256 ed39e1942dd27d6401e0ab5e4c1a58246be6e2bf007a6014a8dc869c1ef7ebca
MD5 7ab0fad387fbb6645975ffcb97d40f57
BLAKE2b-256 17b0bc1c6f31051df9fa7f5b40cb6a49fc2f6bc6a069a06320a93b57c59e127e

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