Giter Club home page Giter Club logo

hiv_time_of_infection's Introduction

Estimating time of HIV infection from NGS data

by Vadim Puller, Richard Neher, and Jan Albert, biorxiv, doi:10.1101/129387

Code associated with our manuscript on estimating the time of HIV infection from next generation sequencing data. This project uses whole genome deep sequencing data from Zanini et al 2015 to establish a method to estimate time of infection from viral diversity.

Data directories

Frequency_data

The directory Frequency_data contains the training data on which the analysis is based. These files are derived from the NGS data by mapping.

  • patient_tt.npy : time points for patient samples
  • patient_data.npy and patient_mask.npy : data and mask for the array of nucleotide frequencies for all time points
  • patient_viral_load.npy : viral load data
  • patient_dilutions.npy and patient_dilutions_mask.npy : dilutions data (see Zanini et al 2015)
  • annotations.txt : auxhiliary gene annotations info
K31_data

The directory K31_data contains the validation data consisting of two time points from additional 31 patients. The directory content is structured as above in Frequency_data.

Scripts

The scripts EDI_functions.py, EDI_plotting.py, and EDI_median_regression.py contain the source code to load the data, determine the regression coefficients, and generate the figures in the manuscript.

  • EDI_functions.py : functions for loading data, calculating sequence diversity, and linear fitting
  • EDI_plotting.py : functions for data analysis and generating plots
  • EDI_median_regression.py : script generating plots presented in the manuscript
  • K31_prediction.py: Script generating figure 6 (validation of ETI inference on additional 31 patients)

hiv_time_of_infection's People

Contributors

rneher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.