Skip to main content

Snptools is a tool for Single Nucleotide Polymorphism (SNP) data processing

Project description

snptools

Snptools is a tool for SNP (Single Nucleotide Polymorphism) data processing, parentage calculation and call rate estimation.

Introduction

SNP (Single Nucleotide Polymorphism) represent genetic variations, that can be used to analyze genetic data. SNPTools provides a set of tools for working with SNP data, including the following capabilities:

  • SNP data processing - FinalReport.
  • Parentage Verification and Parentage Discovery Based on SNP Genotypes (ICAR).
  • Call rate estimation (percentage of missing data).
  • Processing and preparation of data in plink formats.

Installation

You can install snptools via pip from PyPI:

pip install snplib

Usage

Snptools provides commands for a variety of operations. Here are examples of usage:

SNP data processing:

from snplib import FinalReport

Computation of parentage:

from snplib import Discovery, Verification

Preparation format files:

from snplib import (
   Snp, make_fam, make_ped, make_lgen, make_map
)

Stat:

from snplib import (
   hwe, hwe_test, call_rate, allele_freq, minor_allele_freq
)

Documentation

Detailed documentation on how to use SNPTools is available see the docs.

License

This project is licensed under the GNU General Public License - see the LICENSE file for details.

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

snplib-1.2.11.tar.gz (414.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snplib-1.2.11-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file snplib-1.2.11.tar.gz.

File metadata

  • Download URL: snplib-1.2.11.tar.gz
  • Upload date:
  • Size: 414.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for snplib-1.2.11.tar.gz
Algorithm Hash digest
SHA256 135f560283a3a83f390eee8d4936d0c0f139357105d76c823c7e5606921d7c9f
MD5 4e899b6fb8ae1cffef5c0c56aef01e55
BLAKE2b-256 5fa98f4c5cfc7114c24b523c22b6cf0d6b926ea4c2de28c8cfcdeb9f3db2c7b3

See more details on using hashes here.

File details

Details for the file snplib-1.2.11-py3-none-any.whl.

File metadata

  • Download URL: snplib-1.2.11-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for snplib-1.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9a20587ecb2901145546a283dfef28b6780a7d2d17dc8ccf5fb8acaccf930df0
MD5 ab9e73a79d3461ce97e7a24470b96a39
BLAKE2b-256 99389e2b0bbee6539dbeac8187f3b709dae9fcf7f76ee7d50bf1613c1fe86450

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