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
Hi Brentp,
cyvcf2 is very good, thanks for your effort!
But I found the vcf.samples is very slow in this code:
The test.vcf is just a part of 1000k genome file (~1000 head lines )with ~2500 samples.
cyvcf2 does not cache the result. It is indeed faster to get it outside of the loop. I don't consider this a bug, but would gladly accept a pull-request to document this behavior.
Hi Brentp,
cyvcf2 is very good, thanks for your effort!
But I found the vcf.samples is very slow in this code:
The test.vcf is just a part of 1000k genome file (~1000 head lines )with ~2500 samples.
However, when I store vcf.samples as a new python variable, it is fast.
So, I infer there may be some excessive behaviour when using vcf.samples.
The text was updated successfully, but these errors were encountered: