In this project, we will develop, implement, and validate a novel genotypic HIV-1 drug resistance test based on viral DNA rather than RNA as is common practice. The test involves computational methods for distinguishing relevant mutations in the viral DNA that are related to drug resistance from irrelevant hypermutations. These methods will be integrated into V-pipe, a bioinformatics pipeline for automated and reproducible end-to-end analyses of viral next-generation sequencing data. In order to validate the test, we will analyze, in collaboration with the Swiss HIV Cohort Study, a unique data set from over 2000 people living with HIV, which includes HIV-1 DNA sequencing data as well as clinical and epidemiological data.