Hello everyone!
Today I was trying to check whether all SNPs in my list (thousands of SNPs, GRCh37) belong to the particular chromosome (let's say chr 19) but I had some issues with it. I am doing everything on R and my strategy was this:
- To prepare list of SNP as a file (all starts with rs...)
- To download the human chromosome 19 from dbSNP
- To search my list as a pattern within downloaded chromosome
However, downloading process of chr 19 is going on for many hours already... And the fastest download option doesn't give the proper information for analysis.
I would love to know whether there is another way to check the list of SNPs for belonging to the particular chromosome in R?
Thanks in advance!
Can you provide the code you are using for this and some example data?
I'm sorry that I did not reply to you! I am a bit new to bioinformatics and could not find a proper example data. However, @zx8754 helped me to resolve this question. May you have a nice day!