Skip to main content

A variant annotation package

Project description

PyPI GitHub PyPI - Python Version PyPI - Format

AIV: Annotation of Identified Variants

Annotation of Identified Variants to Create Reports for Clinicians to Assist Therapeutic Decisions

Prerequisites

It requires three main modules: pandas, myvariant and reportlab

pip install pandas
pip install myvariant
pip install reportlab

Installation

pip install aiv

Upgrade

pip install aiv --upgrade

Usage

import aiv

# Get variant info 
aiv.getvariant('chr1', 69635, 'G', 'C')

# Annotate variants, reference genome: hg38
aiv.annotate_mutations('variant_calls.tsv', assembly='hg38')

# Annotate variants, reference genome: hg19
aiv.annotate_mutations('bwa_mutect2_nb09_50_lines.txt', assembly='hg19')

Tests

You can test your installation with sample variant call files. Input test files can be found at:

./tests/test_annotate_variants.tsv
./tests/bwa_mutect2_nb09_50_lines.txt
./tests/my_data.txt

Input File Format

Input file

Report Preview

Output file

Future Work

  • Performance can be determined by calculating the running time for a given input file with 6000+ mutations.

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

aiv-0.4.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

aiv-0.4.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file aiv-0.4.3.tar.gz.

File metadata

  • Download URL: aiv-0.4.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/2.7.16

File hashes

Hashes for aiv-0.4.3.tar.gz
Algorithm Hash digest
SHA256 10e0938dc4a92a04f1a04a86a8bcdac3b4265e7652aa0acd40afc090b5f1a75c
MD5 4154b757e3326911922ee1b164032cba
BLAKE2b-256 e58570ce5d038978be8ec2ebb02ec88963d579c5c1be24864866bed13f48ee9f

See more details on using hashes here.

File details

Details for the file aiv-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: aiv-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/2.7.16

File hashes

Hashes for aiv-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 064f02ea9f717b784744c6107fbd49399e9144822d9d8534fa2f964b6f480ec5
MD5 96130f1365eeefbcd708f1af0b010bc4
BLAKE2b-256 28cf3363409f8d97997a02f8e0d13ae3f823c7f4c5d696f87791d2c8e48e9efe

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