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
A recent change in minimac 4.1 lead to confusing error messages: jobs were being rejected without an error message, when minimac failed due to allele swaps.
The CG QC pipeline was recently amended with an option to check allele swaps, but it appears to be incomplete. The UM team has noted two issues:
What counters are checked, and,
How those counters are calculated
Proposed changes
Check both counters for swaps
Allele switches/swaps may be tracked in two separate counters: "allele switch" or "allele switch + strand flips".
Strand flips check both of these counters, but allele swaps check only one of the two applicable counters.
By generating our own test data, we have verified that jobs are not correctly failed in a scenario of mixed "allele swaps + strand flips".
Allele swaps should be written to excludedsnps
Jonathan notes that the handling of Allele switches is not consistent with other QC conditions. Of the four conditions in this block: strand flips and allele mismatches are written to excluded snps, but allele switches are not.
The GenomicTools.AlleleSwitch() condition should both return and write to the exludedSnps file as it does in the other conditions.
As an example, compare the code for these two conditions.
The text was updated successfully, but these errors were encountered:
abought
added a commit
to statgen/imputationserver
that referenced
this issue
Apr 18, 2024
Purpose
A recent change in minimac 4.1 lead to confusing error messages: jobs were being rejected without an error message, when minimac failed due to allele swaps.
The CG QC pipeline was recently amended with an option to check allele swaps, but it appears to be incomplete. The UM team has noted two issues:
Proposed changes
Check both counters for swaps
Allele switches/swaps may be tracked in two separate counters: "allele switch" or "allele switch + strand flips".
Strand flips check both of these counters, but allele swaps check only one of the two applicable counters.
By generating our own test data, we have verified that jobs are not correctly failed in a scenario of mixed "allele swaps + strand flips".
Allele swaps should be written to excludedsnps
Jonathan notes that the handling of Allele switches is not consistent with other QC conditions. Of the four conditions in this block: strand flips and allele mismatches are written to excluded snps, but allele switches are not.
As an example, compare the code for these two conditions.
The text was updated successfully, but these errors were encountered: