gkichaev / PAINTOR_V3.0

Fast, integrative fine mapping with functional data
55 stars 21 forks source link

decrease time complexity of vcf loading #26

Open Helkafen opened 5 years ago

Helkafen commented 5 years ago

Before extracting the population haplotypes to generate an LD matrix, this script parses the VCF header to find the indices of the samples that belong to a certain population. This patch decreases the time complexity of the header parsing from O(n^2) to O(n).