PyVCF
PyVCF copied to clipboard
a problem when use vcfReader in loop
dear all: when I filter file by vcf file,I have a problem,when I use vcf module in loop,after I use i.CHROM,next loop,it doesn't work,I must enter myvcf = vcf.Reader(open(file,'r')) again, it would world work.I install pyvcf with pip install on Linux recent days.Do you know why it happened? Thanks FAFU milkcookie
I have the same problem where if I iterate through records from vcf.Reader, then I lose all the data.