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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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