Skip to content
Repository of code for the paper "The evolutionary history of Neandertal and Denisovan Y chromosomes" by Petr et al.
Jupyter Notebook Other
Branch: master
Clone or download

Latest commit

Latest commit d5b014d Mar 10, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
ychr.Rproj Move R script Apr 4, 2019

This repository contains all computational analyses used in my 2020 paper “The evolutionary history of Neandertal and Denisovan Y chromosomes”.


You can find here:

  • my complete data processing and data-generation pipeline - processing of BAM files, genotype calling, simulations etc. (Makefile);
  • scripts used by the Makefile pipeline (src/) and R functions used for analyses (R/);
  • R Jupyter notebooks used to generate every result in the paper (notebooks/);
  • cached results in the rds format - useful for re-producing all tables and figures in the paper without having to first re-process sequencing data or run SLiM simulations (data/rds/); for full data access see here.

Note that the repository is structured as an R package, with the exception that it contains not only the required R package components (R code in R/, the DESCRIPTION file etc.), but also the data and analyses themselves. Therefore, after cloning this repository, you can simply call devtools::load_all(".") from the root of the repository in an R console and immediately start exploring the data yourself.

All software dependencies used in the project are described in detail in this notebook.

Data availability

In addition to cached results in data/rds in this repository, all sequencing data (BAM/VCF/FASTA files), raw simulation outputs, as well as the sequences of capture probes can be found at:


In case of trouble, please don’t hesitate to contact me or Janet Kelso.

You can’t perform that action at this time.