Coder Social home page Coder Social logo

genmark's Introduction

Snakemake based pipeline to perform WGS joint-calling, annotation, and GWAS for the genMARK project. Pipeline takes GVCFs as inputs; does not perform mapping, individual variant calling (haplotyper).

Snakemake GATK

Input: TSV file with sampleID, path to GVCF files

Worklow

  1. Combine GVCFs (genomicsdb)
  2. Joint-genotype (GenotypeGVCF)
  3. Filter variants on qual and depth
  4. Annotate variants (vep)
  5. Convert the joint-called VCF to Plink BED format (Plink v1.9 & 2)
  6. Quality control of sample and variants
  7. PCA and population stratification
  8. Add phenotype information
  9. Association testing and results (manhattan plots and significant variants report)
  10. Validation of results and prioritization

Installation

  1. Download and install mamba
  2. mamba create -c conda-forge -c bioconda -n snakemake8.11 snakemake=8.11.3
  3. mamba activate snakemake8.11
  4. Install executor plugins required for slurm submission: 4.1. pip install snakemake-executor-plugin-slurm 4.2. pip install snakemake-storage-plugin-fs
  5. git clone this repo
  6. make a directory with more space to create tool-sepcific conda environments
  7. Edit the paths in genmark.sh according to your system; run the code listed as 1 and 2 for testing and setup

Running the pipeline (this is not tested yet!)

  1. Add the input sampleid, gvcf paths to config/samples.tsv
  2. edit config/config.yaml with project names and any other settings as required
  3. use the "dry-run" line in workflow/genmark.sh to test
  4. use the "run pipeline" in workflow/genmark.sh to submit jobs.

Folder description

  • config: Snakemake config files
  • data: folder with test data
  • workflow: main folder with rules, wrappers, Snakefile, envs, and dependent scripts.
  • notebooks: Jupyter notebook used for REDCap files (input csv files should not be uploaded to github and listed in .gitignore; )

genmark's People

Contributors

aarthi-mohan avatar

Watchers

 avatar

genmark's Issues

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.