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 Mar 2, 2021. It is now read-only.
Based on what I can tell, stvk standardize flips CHR1/CHR2 for BND records in the VCF to have the numerically-sorted smaller chromosome assigned to the CHR field in the standardized record, but then doesn’t appear to re-sort the records afterwards. Internalizing the re-sorting of the vcf would be preferred, because otherwise it breaks tabix.
For example, I have a VCF with calls only on three chromosomes (chr8, 11, and 19), some of which are BNDs connected to other chromosomes (like, for example, a chr1-chr19 BND). I make sure to sort my VCF when I’m filtering it down to the three chromosomes of interest, but then when I run it through standardize the order becomes unsorted.
Reposting the contents of our previous conversation on slack:
Based on what I can tell,
stvk standardize
flipsCHR1
/CHR2
forBND
records in the VCF to have the numerically-sorted smaller chromosome assigned to theCHR
field in the standardized record, but then doesn’t appear to re-sort the records afterwards. Internalizing the re-sorting of the vcf would be preferred, because otherwise it breaks tabix.For example, I have a VCF with calls only on three chromosomes (chr8, 11, and 19), some of which are
BND
s connected to other chromosomes (like, for example, a chr1-chr19BND
). I make sure to sort my VCF when I’m filtering it down to the three chromosomes of interest, but then when I run it through standardize the order becomes unsorted.I've attached an example VCF before and after standardization here:
G94051_VIR_00001.manta.standardized.vcf.gz
G94051_VIR_00001.manta.vcf.gz
In particular, there are two offending records:
Thanks,
Ryan
The text was updated successfully, but these errors were encountered: