bcm-uga / Loter

A software package for local ancestry inference and haplotype phasing
Other
38 stars 7 forks source link

Use of Loter in haploid organisms #22

Closed pabloangulo7 closed 2 years ago

pabloangulo7 commented 2 years ago

Hello,

I would like to ask if it is possible to use loter with haploid organisms, and if so, what parameters need to be adjusted or modified to perform such analysis. On the other hand, I have VCF files containing SNP information for different samples, how could I obtain the haplotype matrices for these haploid organism samples? Finally, would it be necessary to perform linkage disequilibrium prunning of the SNPs before using the program?

Thanks

gdurif commented 2 years ago

Hi, sorry for the late answer.

You can use Loter on haploid organisms. The only constraint it to NOT use the phase correction module, which means:

To format your VCF data for Loter:

Regarding the linkage disequilibrium prunning of the SNPs, it should not be necessary. Loter exploits the fact that consecutive SNPs are likely to be inherited from the same parent.

Do not hesitate if some points are not clear or if you have any further question. Best

pabloangulo7 commented 2 years ago

Thank you very much. I will try to do it following your advice and report back later. Congratulations for this great tool.

Best