Skip to content

pcdjohnson/BB_bottleneck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 

Repository files navigation

BB Bottleneck Estimator

Description

This is the implementation for transmission bottleneck estimation based on beta-binomial sampling.

This code is adapted from: https://github.com/weissmanlab/BB_bottleneck/blob/master/Bottleneck_size_estimation_exact.r For details of how the code works and examples, see the ReadMe of this repo. I vectorised and parallelised the functions, so it runs about 20x faster on 8 cores than the original code.

The input data for this project are a metadata xlsx file with data on each sequence, and NGS diversity data output by VSensus (https://github.com/rjorton/VSensus).

Requirements

  • R 3.6.2+
  • rmutil
  • parallel
  • openxlsx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%