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
{{ message }}
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.
We assume that the AD info field will be a variable length number of values as can be seen here where we check the length and truthiness of AD. Unfortunately, if someone tried to load a VCF with this format:
##FORMAT=<ID=AD,Number=1,Type=Integer,Description="Depth of variant-supporting bases (reads2)">
the loader will crash because ad will be an integer and len(ad) will throw an error. We need to handle the case where ad is just a single number and cannot always assume that people are loading VCFs with this format for AD:
##FORMAT=<ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed">
We assume that the AD info field will be a variable length number of values as can be seen here where we check the length and truthiness of AD. Unfortunately, if someone tried to load a VCF with this format:
the loader will crash because
ad
will be an integer andlen(ad)
will throw an error. We need to handle the case wheread
is just a single number and cannot always assume that people are loading VCFs with this format for AD:Originally reported as chop-dbhi/varify#310
The text was updated successfully, but these errors were encountered: