Skip to main content

Translation Initiation Variation

Project description

TIVar

Translation Initiation Variation

Predict translation initiation (TI) efficiency for potential start codons, based on the context sequence near the start codon. Given SNP/Indel variation, this tools can predict changes of TI efficiencies between ref and alt alleles.

INSTALL

Python version >= 3.4.

Requirements

NumPy

PyTorch

Install from source

git clone https://github.com/zhpn1024/TIVar

python setup.py install

or

python setup.py install --user

Install from PyPI

pip install tivar

Usage

predict

This module can calculate TI efficiency scores from given sequences.

Fasta sequence file as input:

tivar predict -S test1.fa -o out1.txt

Provide sequence in the parameter:

tivar predict -s aaaaaacaaaaaaaTGTACAATGGATGCATTGAAATTATATGTAATTGTATAAATGGTGCAACA -o out1.txt

Provide transcript annotation and genome sequence:

tivar predict -g hg38_gc31.gtf.gz -f hg38.fa -o out1.txt

The output is like:

SeqID Pos StartSeq EffScore
Seq 13 aacaaaaaa-aTG-TACA 0.30354
Seq 20 aaaTGTACA-ATG-GATG 0.37131

diff

This module predict TI changes caused by sequence variation.

tivar diff -i test.vcf -g hg38_gc31.gtf.gz -f hg38.fa -o out2.txt

The output is like:

Gid Tid Var GenoPos Strand Pos RefSeq AltSeq EffeRef EffeAlt Diff FC Type
ENSG00000134262.13 ENST00000369569.6 chr1:113895309:A>AC 113895310 - 2056 ACCCTCCAG-ATG-GCTC ACCCTCCAG-AGT-GGCT 0.32097 0.0 -0.321 0.0 TI_decreased
ENSG00000134262.13 ENST00000369569.6 chr1:113895309:A>AC 113895310 - 2056 ACCCTCCAG-ATG-GCTC CCCTCCAGA-GTG-GCTC 0.32097 0.04335 -0.2776 0.1351 TI_decreased

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

tivar-0.1.3-py3-none-any.whl (248.6 kB view details)

Uploaded Python 3

File details

Details for the file tivar-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: tivar-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 248.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.4

File hashes

Hashes for tivar-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c3512fdbc1e0454aded6d331c56192e9cefc282a9a1b66179222fbc849621e
MD5 74bdbcd007af1b8d136cd4bacd7093d6
BLAKE2b-256 9e4e675ea417e6a3a4bd6a04c14caadff1f81cf398deecd0b862b23a99b1dd27

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