Question: How to read vcf file in python?
8 months ago by
ja4123 • 0
ja4123 • 0 wrote:
When I try to do simply like this:
import vcf vcf_reader = vcf.Reader(filename="in.vcf.gz")
there is an error:
AttributeError: partially initialized module 'vcf' has no attribute 'Reader' (most likely due to a circular import)
But vcf module has that attribute .. Kindly help.
ADD COMMENT • link •