Skip to main content

No project description provided

Project description

Python pakcage for genomic variant analysis

Pypi Releases Downloads

variant-effect command can infer the effect of a mutation

The input file has 5 columns: chromosome, position, strand, reference allele, alternative allele.

  • No header is required.
  • The 3rd column (strand) is not used by default, just for compatibility with RNA mode.
  • By default, the base of reference and alternative allele are based on DNA information
  • For RNA mode (through --rna argument), the base of reference and alternative allele is reverse complement if the strand is negative(-).

eg:

Store the following table in sites.tsv.

chr3    10301112        -       G       T
chr7    94669540        +       G       N
chr2    215361150       -       A       T
chr15   72199549        -       G       T
chr17   81843580        -       C       T
chr2    84906537        +       C       T
chr14   23645352        +       G       T
chr20   37241351        +       G       T
chrX    153651037       +       G       T
chr17   81844010        -       A       T

By command: variant-effect -i sites.tsv -r human --rna, the output will be:

#chrom  pos     strand  ref     alt     mut_type        gene_name       transcript_id   transcript_pos  transcript_motif        coding_pos      codon_ref       aa_pos  aa_ref
chr3    10301112        -       C       A       Silent  SEC13   ENST00000397117 1441    TTGATCATCTGCCTTAACGTG   849     CTG     284     L
chr7    94669540        +       G       N       ThreePrimeUTR   PEG10   ENST00000612941 6240    TTTTACCCCTGTCAGTAGCCC   None    None    None    None
chr2    215361150       -       T       A       ThreePrimeUTR   FN1     ENST00000323926 8012    GGCCCGCAATACTGTAGGAAC   None    None    None    None
chr15   72199549        -       C       A       ThreePrimeUTR   PKM     ENST00000319622 2197    GCTGTAACGTGGCACTGGTAG   None    None    None    None
chr17   81843580        -       G       A       ThreePrimeUTR   P4HB    ENST00000681020 3061    AGAAGCTTGTCCCCCGTGTGG   None    None    None    None
chr2    84906537        +       C       T       ThreePrimeUTR   TMSB10  ENST00000233143 327     CCTGGGCACTCCGCGCCGATG   None    None    None    None
chr14   23645352        +       G       T       ThreePrimeUTR   DHRS2   ENST00000344777 1391    CTGCCATTCTGCCAGACTAGC   None    None    None    None
chr20   37241351        +       G       T       ThreePrimeUTR   RPN2    ENST00000237530 1959    AAAACTGAATGTCAAGAAAAG   None    None    None    None
chrX    153651037       +       G       T       ThreePrimeUTR   DUSP9   ENST00000342782 2145    CTGCTACTTTGGGGGGTGGGG   None    None    None    None
chr17   81844010        -       T       A       ThreePrimeUTR   P4HB    ENST00000681020 2631    GAACTGTAATACGCAAAGCCA   None    None    None    None

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

variant-0.0.8.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

variant-0.0.8-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file variant-0.0.8.tar.gz.

File metadata

  • Download URL: variant-0.0.8.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.8 Darwin/20.6.0

File hashes

Hashes for variant-0.0.8.tar.gz
Algorithm Hash digest
SHA256 f3a5e9e08a09c5be02c3a4c6ba84f09019af392794c58f22c2ce87ab3cd66d2c
MD5 f2006f1321b8396c3b5592010aed5a99
BLAKE2b-256 0c50c5d1afa4fb0d5e41250f78fb4d0b3a0ebf97c5c51791c5366328fdf0fec8

See more details on using hashes here.

File details

Details for the file variant-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: variant-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.8 Darwin/20.6.0

File hashes

Hashes for variant-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4bae137853dea50ad6d582114c20b9760f645f31069f3f0c3040fc5ec4ff85f4
MD5 005ea668aa046dd5d8db7844047104e8
BLAKE2b-256 80d4458b4b4cb4395449fa4375ebcb35e1423213caacf9b4a54f46a79dc9ceef

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