popgenmethods / smcpp

SMC++ infers population history from whole-genome sequence data.
GNU General Public License v3.0
149 stars 32 forks source link

haploid genome runing #222

Open wushyer opened 1 year ago

wushyer commented 1 year ago

Hi, I am working on a haploid genome and want to use SMC++ . Yet with the error : Expected a diploid genotype at position 337 for individual MaG-1 but found. My snp is haploid type with only 0 or 1.

chr1 214173 . G A 1615.72 PASS . GT:AD:DP:FT:GQ:PL 0:3,0:3:PASS:99:0,121

Is there some way to run smc++ on haploid data? Thanks.

Best, Shuangyang