Giter Site home page Giter Site logo

gnomad_local_ancestry's Introduction

gnomad_local_ancestry

Hail batch pipeline and scripts for local ancestry inference

gnomad_local_ancestry's People

Contributors

mike-w-wilson avatar koalaqin avatar

Stargazers

 avatar Elizabeth Atkinson avatar

Watchers

James Cloos avatar Elizabeth Atkinson avatar Laurent Francioli avatar  avatar Matthew Solomonson avatar  avatar  avatar William Phu avatar Joshua Nadeau avatar Katherine Chao avatar  avatar  avatar

gnomad_local_ancestry's Issues

Investigate larger mixed vs smaller homogenous panel for RFmix

  • Is it better to have admixed people in the reference panel(similar to the admixed pop) than homogenous people (likely more diverged) in other words does including admixture people in reference panel help or hurt?

  • RFMix has a flag to run on ref panel as well (--reanalyze-reference; -e 1) (We should do this once - will add time but worth it)

  • Incentive to have a smaller panel computationally

  • What is the cost trade off accuracy vs comp cost/storage?

  • RFMix notes it is better to run on entire genome ( we can't do this)

Phase gnomAD v3.1, 1kG, and HGDP

Phase subsetted gnomAD pops, amr and afr, with 1KG and HGDP samples.

Input: subsetted VCF - only variant QC'd variants
Tool: Eagle
Output: Phased VCF by chr
QC: switch-errors

Build Docker image for Batch pipeline

Need a docker image that includes:

  • Eagle
  • RFMix
  • bcftools
  • htslib
  • Tractor

sudo apt-get install:

  • libgomp1

  • build-essential

  • python3-dev

  • unzip

  • update

  • autoconf

  • wget

  • zlib1g-dev

  • libbz2-dev

  • liblzma-dev

Investigate tract distributions for amr and afr pops

Want to make sure you capture all the haplotypes at the level of resolution you expect [EA]

  • More recently admixed populations will have larger tracts - make sure tract lengths make sense given demographic history

Look into XGMix replacing RFMix

Elizabeth benchmarking XGMix (basically new RFMix with heavier training but faster analysis). Same outputs so we should be able to switch with minimal work if it seems advantageous.

Update RFMix Batch pipeline

From Google Doc:

  • Phase the cohort data informed by the reference panel rather than joint-phased with the reference panel
  • Remove some data harmonizing/QC steps at the front end of the pipeline that won't be needed now
  • Plink is currently used for QC
  • Replace shapeit with Eagle2 for phasing
  • Eagle automatically filters SNPs and individuals with missing rates exceeding thresholds of 0.1 on plink files but not on VCF - switch to hail/gnomad_methods?
  • Be aware of overhead in submitting jobs and copying input/output files per job

Overlay rare variants on top of ancestry intervals

To test phasing accuracy, Alicia suggested we overlay rare variants on top of ancestry intervals. Look at pop-specific rare variants. The average person from Africa has 1M more variants so should see more rare variants in African tracts.

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.