ultimatesource / denovogear

A program to detect denovo-variants using next-generation sequencing data.
http://www.nature.com/nmeth/journal/v10/n10/full/nmeth.2611.html
GNU General Public License v3.0
49 stars 25 forks source link

dng phaser for indels #298

Closed sjin09 closed 5 years ago

sjin09 commented 5 years ago

To whom it may concern,

I am writing to inquire whether "dng phaser --dnm dnm_f --pgt gts_file --bam alignment.bam --window 1000" can also be used to haplotype phase indels and somatic mutations. I have identified germline indels and somatic indels using gatk and strelka2. I would like to be able to use read-backed phasing to haplotype phase these indels, but the example (sample_phasing_dnm_f and sample_phasing_GTs_f) seems to only include SNP for haplotype phasing.

Many thanks, Sangjin Lee

reedacartwright commented 5 years ago

I recommend using whatshap (https://whatshap.readthedocs.io/en/latest/) for read-backed phasing.