You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use biogo to retrieve data from tabixed file for a VCF file. I use go routine and each routine use a preloaded index and a specific access to the tabixed file (for exemple 8 routines are used with GOMAXPROC=8).
All seem to work fine however when I launch the script, it take ~2 seconds for 1000 rows. (cpu < 100% during all the process) and when it done, If I relaunch it for the same file (same parameters) , it take ~300ms for 1000 rows (cpu > 700% during all the process).
I use the NewChunkReader function to retrieve data after get region with Chunks function.
When I load file I use bgzf.NewReader function with rd = 1
Is it normal to have this behaviour ?
thank you
The text was updated successfully, but these errors were encountered:
Hello Everybody,
I use biogo to retrieve data from tabixed file for a VCF file. I use go routine and each routine use a preloaded index and a specific access to the tabixed file (for exemple 8 routines are used with GOMAXPROC=8).
All seem to work fine however when I launch the script, it take ~2 seconds for 1000 rows. (cpu < 100% during all the process) and when it done, If I relaunch it for the same file (same parameters) , it take ~300ms for 1000 rows (cpu > 700% during all the process).
I use the NewChunkReader function to retrieve data after get region with Chunks function.
When I load file I use bgzf.NewReader function with rd = 1
Is it normal to have this behaviour ?
thank you
The text was updated successfully, but these errors were encountered: