awesome, thank you!
• 0 views
•
link
I'm attempting to change my SNP ids (in my bim file) from "rs_________" to "chr_pos_ref_alt" but am having some trouble.
Can someone provide some guidance? What awk scripts could I use?
EDIT: basically trying to switch from "rs11260745" to "1_24088128_G_A"
plink 2.0's --set-all-var-ids flag provides one way to do this.
Use bcftools annotate -I. Your requirement is the exact example given in the manual.
perfect, thanks for linking the manual!
Log in to answer this question.