Check out the pyvcf.merge() method (documentation) and the pyvcf.VcfFrame.merge() method (documentation) in the Python package fuc (documentation). If you have any questions about the use of these methods, please feel free to leave a comment (I'm the author of fuc).
Thankyou for your kind reply. The assignment says that avoid usage of Pandas or any other vcf reader modules to read vcf files. and Solve using core python data structures. I am pretty much newbie in this field and still trying to grasp the assignment.
Thankyou for your kind reply. The assignment says that avoid usage of Pandas or any other vcf reader modules to read vcf files. and Solve using core python data structures. I am pretty much newbie in this field and still trying to grasp the assignment.