ancestry_pipeline
ancestry_pipeline copied to clipboard
rfmix2
Is it possible to use rfmix2 in this pipeline and/or its results as input for rfmix2plink. It would have been easier if there was a toy example for this pipeline. Thanks
I am also trying to generate a karyogram plot sig RFmix v2 results. Has anyone had any luck with converting the RFmix outputs into bed files for plotting?
I'm not sure how accurate that is and if by bed file you mean plink bed, but you can use ExtractTracts.py to convert rfmix2 results to vcf and then use them by plink. Hope this helps!
Appreciate the tip. After the VCF files are generated, how did you generate the 2 .bed files? I see that the karyogram plot requires bed_a and bed_b. In my case, I have RFmix2 results for 5 ancestries, and therefore ExtractTracts.py generates 5 sets of VCF and txt files. Would appreciate any pointers on how you did the subsequent file conversions/what was used for the 2 bed files.