66 releases (29 breaking)

0.30.1 Nov 21, 2024
0.29.6 Oct 16, 2024
0.25.7 Jun 18, 2024
0.25.4 Mar 8, 2024
0.6.2 Jul 17, 2023

#124 in Biology

Download history 12/week @ 2024-08-24 182/week @ 2024-08-31 27/week @ 2024-09-07 86/week @ 2024-09-14 153/week @ 2024-09-21 83/week @ 2024-09-28 385/week @ 2024-10-05 199/week @ 2024-10-12 61/week @ 2024-10-19 50/week @ 2024-10-26 18/week @ 2024-11-02 9/week @ 2024-11-09 278/week @ 2024-11-16 43/week @ 2024-11-23 539/week @ 2024-11-30 1800/week @ 2024-12-07

2,661 downloads per month
Used in varfish-server-worker

MIT license

650KB
14K SLoC

Crates.io Crates.io Crates.io CI codecov DOI

Mehari

a camel

Mehari is a software package for annotating VCF files with variant effect/consequence. The program uses hgvs-rs for projecting genomic variants to transcripts and proteins and thus has high prediction quality.

Other popular tools offering variant effect/consequence prediction include:

Mehari offers HGVS predictions that aim to mirror VariantValidator, the gold standard for HGVS variant descriptions, and consequence predictions compatible with VEP. Further, it is written in the Rust programming language and can be used as a library for users' Rust software.

Usage

To annotate variant consequences, gnomAD frequencies and clinVar information for sequence variants:

    mehari annotate seqvars \
      --transcripts resources/transcript_db \
      --frequencies resources/gnomad_db \
      --clinvar resources/clinvar_db \
      --path-input-vcf input.vcf \
      --path-output-vcf output.vcf

The corresponding database builds can be obtained from:

See Getting Started for more information on usage, and Development Setup for more information on how to build mehari and its databases from scratch.

Dependencies

~103MB
~2M SLoC