Open dariober opened 7 years ago
Hi, thanks very much for this. You are absolutely right and your suggested fix looks perfect. We are going to add this to the next stable CAVA release. If next time you have a feedback/suggestion, could you please post it to the CAVA User Group so that all users registered there would be able to see it?: https://groups.google.com/forum/#!forum/cava-user-group Many thanks again for your feedback.
Hello- It seems that CAVA throws an exception if the input VCF file has no records. This is what I get:
I think a vcf with no records is a legitimate input so I fixed this on my local copy by adding this check just after https://github.com/RahmanTeam/CAVA/blob/master/cava.py#L416 :
In this way cava writes out the VCF header and exits clean.
Maybe it should be fixed in the master as well?