You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on large data and using the cyvcf2 module in python3, I got tons of warnings [W::vcf_parse] Contig 'chr[X]' is not defined in the header. (Quick workaround: index the file with tabix.)
It would be great if these warnings could be silenced, or if they used Python's warning handling system. As it is, I haven't figured out how to easily shut them up. Would that be possible?
Thanks for your help and for the module anyway.
The text was updated successfully, but these errors were encountered:
hi, these messages come directly from htslib.
I'd accept a PR that allowed setting the hts_log_level with an environment variable.
meanwhile, you can index the file to stop these warnings.
Working on large data and using the cyvcf2 module in python3, I got tons of warnings
[W::vcf_parse] Contig 'chr[X]' is not defined in the header. (Quick workaround: index the file with tabix.)
It would be great if these warnings could be silenced, or if they used Python's warning handling system. As it is, I haven't figured out how to easily shut them up. Would that be possible?
Thanks for your help and for the module anyway.
The text was updated successfully, but these errors were encountered: