in reply to Re^3: What is the best approach to check if a position falls within a target range?
in thread What is the best approach to check if a position falls within a target range?

Hi BrowserUk,
Thanks much for all your replies. I did some major refactoring of the code these past few days and was able to achieve significant improvement in speed.
Major changes are:
1. split the target region into 24 chunks for 24 chromosomes (chr) and only loaded the chr of interest in memory.
2. Converted the target hash to a target array. This caused a big gain in speed.
UPDATE
3.Divided target region into 8 chunks 10-12.5-25-50 and so on. Checked the if the query snp is in which chunk before assigning target status. Uma
  • Comment on Re^4: What is the best approach to check if a position falls within a target range?

Replies are listed 'Best First'.
Re^5: What is the best approach to check if a position falls within a target range?
by BrowserUk (Patriarch) on Feb 19, 2011 at 22:04 UTC

    How long is your current processing taking?