etal / cnvkit

Copy number variant detection from targeted DNA sequencing
http://cnvkit.readthedocs.org
Other
501 stars 162 forks source link

Fix IndexError for export vcf #818

Closed pwwang closed 1 year ago

pwwang commented 1 year ago

I'm not entirely sure why this occurred, but while working with SNP data, I attempted to export the outcomes to a VCF file, and it happened.

It appears that the 'bins.end' or 'bins.start' fields are empty Series. Assigning them to 'np.nan' seems to bypass the issue.