Hi,
I have just finished imputing my genetic data on the Michigan server (filtered on r2=0.3) and I want to convert to plink. What are the next steps such as cleaning and converting to plink? Anyone have any useful scripts and to do this over all chromosomes?
Any advice would be much appreciated!
Thanks
Hmmm.. I've found some commands to annotate and convert to plink. However, the output is definitely not a correct plink .bim file! I tried to also just convert into plink without annotating (in case that caused it) but the same thing happens. the second column is chr:pos:A1:A2:snp or chr:pos:A1:A2 (without the annotation step). Do you have any idea why this may happen?
Thanks
The files downloaded from the Michigan server are v4.1 using minimac4.
Please use
ADD COMMENT/ADD REPLY
when responding to existing posts to keep threads logically organized.SUBMIT ANSWER
is for new answers to original question.I think I've tried that before but couldn't get it work as it needs a C++ library which I couldn't seem to install. I'll try and see if I can figure it out if its the only way to convert! Thanks for the advice.
Please post the error about the C library, if possible. Generally, working with these genetics programs is a tiring affair.
Yes, I'm not tech-savvy so it makes it even more tiring! So, I've closed it into my directory using Git and then, the next step is downloading cget. I do this in the directory of DosageConvertor (not sure if this is what is needed but it is unclear)
Then I type bash install.sh and I have the following message:
So, I am not sure what I've done wrong!
Thanks for your help!
hmm, I wonder could you try to do all of this in a dedicated conda environment? This usually overcomes issues like this. For install cget, it would then be: https://anaconda.org/compbiocore/cget