mgalardini / pyseer

SEER, reimplemented in python 🐍🔮
http://pyseer.readthedocs.io
Apache License 2.0
104 stars 25 forks source link

Calculating LD post annotating significant unitig/kmer #187

Closed Srividhya-Sainath closed 2 years ago

Srividhya-Sainath commented 2 years ago

Hi,

So I used both unitigs & kmers as inputs to identify significant unitigs and kmers respectively. I could annotate them and now would like to check for Linkage disequilibrium between the annotated unitig/kmer if any. Though calculating LD isn't in Pyseer's pipeline, is there a method/tool that you would recommend?

Thank you

johnlees commented 2 years ago

plink2 is pretty good: https://www.cog-genomics.org/plink/1.9/ld Accepts many input formats, but you may need to do some wrangling to get k-mers in (including mapping them). I would also set the window size to the genome length.

It's also easy enough to calculate in e.g. R with the pres/abs vectors

Srividhya-Sainath commented 2 years ago

Thankyou