PyVCF
PyVCF copied to clipboard
Pandas dataframe integration
Hello,
Is there an easy way to create a data frame from the records? Something like below?
vcf_reader = vcf.Reader(open(somatic, 'r'))
lines = [el for el in vcf_reader]
df_vcf = pd.DataFrame(lines)
Thanks!