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 v4.0, we created the gnomad_methods function split_vds_by_strata which splits a vds based on a n expression. The desired behavior was to split a vds and maintain all alleles in each subset. This does not happen as it utilizes hail's vds.filter_samples function which unexpectedly removes all variants that are not present in a filtered sample subset despite keeping the arg remove_dead_alleles as false.
As it stands, our function does not state it will maintain or remove the dead alleles simply it will split the vds. However, we should consider updating the function so removing or keeping the dead alleles/variants is an option and it is documented.
The text was updated successfully, but these errors were encountered:
Working on v4.0, we created the gnomad_methods function
split_vds_by_strata
which splits a vds based on a n expression. The desired behavior was to split a vds and maintain all alleles in each subset. This does not happen as it utilizes hail's vds.filter_samples function which unexpectedly removes all variants that are not present in a filtered sample subset despite keeping the argremove_dead_alleles
as false.As it stands, our function does not state it will maintain or remove the dead alleles simply it will split the vds. However, we should consider updating the function so removing or keeping the dead alleles/variants is an option and it is documented.
The text was updated successfully, but these errors were encountered: