MinVar: automatic detection of drug-resistance mutations in HIV-1

MinVar is a command-line tool to discover mutations conferring drug resistance in HIV-1 and HCV populations using deep sequencing data.


The simplest example

[user@host ~]$ minvar -f sample_file.fastq
... a few minutes later ...
[user@host ~]$ column -t -s ',' merged_muts_drm_annotated.csv
gene      pos  mut  freq    category
...
RT        238  T    1.0     NNRTI
RT        250  N    0.9547  unannotated
RT        272  P    1.0     unannotated
RT        293  V    1.0     unannotated
RT        297  A    1.0     unannotated
RT        333  D    0.9384  unannotated
RT        333  E    0.0354  unannotated
RT        335  C    1.0     unannotated
protease  10   P    0.0223  Other
protease  10   Q    0.0185  Other
protease  10   S    0.0741  Other
protease  10   T    0.0468  Other
protease  10   V    0.5948  PIMinor
protease  11   L    1.0     PIMinor
protease  13   V    1.0     unannotated
protease  14   R    1.0     unannotated
protease  15   V    0.7143  unannotated
protease  20   T    1.0     PIMinor
protease  32   I    1.0     PIMajor
...

Important features

[contact]
unit = name_of_your_unit_here
phone = phone_number
fax = fax_number
email = your_unit@your_company
logo = filename_without_extension

The logo file in pdf format must be present in the same directory. In other words, if we want to use the file ~/.minvar/company_logo_bw.pdf, then in the INI file we will write logo = company_logo_bw.

Citation

MinVar (version 1, HIV-1 support only) has been introduced and validated in
Huber, Metzner et al., (2017) MinVar: A rapid and versatile tool for HIV-1 drug resistance genotyping by deep sequencing Journal of virological methods 240:7-13, doi:10.1016/j.jviromet.2016.11.008

Output files

Created by prepare.py

Created by callvar.py

Created by annotate.py

Created by reportdrm.py

Add a new reference to the sequence database

MinVar looks for reference sequences in two files. Respectively, in

where organism is HIV or HCV.

New reference sequences can be added there, provided that related data structures in src/minvar/common.py are updated to reflect the reference names as outlined below.

If an HIV reference sequence was added

If an HCV reference sequence was added

Citation

MinVar has been introduced and validated in
Huber, Metzner et al., (2017) MinVar: A rapid and versatile tool for HIV-1 drug resistance genotyping by deep sequencing Journal of virological methods 240:7-13, doi:10.1016/j.jviromet.2016.11.008