I am interested in checking if a SNP/position lies within a target region. These are the steps that I have in my script.
My script prints what I need, but is incredibly slow if there are say 10,000 lines or more in the input file.
Is there an quicker way to achieve the same?
I greatly appreciate any input in this regard!