-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
insertion REF alleles and deletion ALT alleles are always set to "N" #422
Comments
got the same problem, ref allele of insertion and alt allele of deletion are always N. (sniffles version 2.2) |
sniffles contains an optional parameter --reference |
And then here is an example of an
And then also an example of a
|
I wonder if this is the same issue that I raised for Survivor, which perhaps would be better served here: |
Hi,
I'm working with SV callsets produced by sniffles2 (v2.0.7). For deletions, the ALT sequence in the VCFs are alwasy set to
N
, while the REF field contains the reference sequence. For insertions, it is the other way around. Here, the REF allele is alwaysN
(which does not match the actual reference sequence at these positions). This leads to several problems when applying tools likebcftools
to post-process these VCFs (e. g.bcftools norm --check-ref
reports mismatches with the reference genome when REF is set toN
).To me, this looks like the
N
is used in the REF/ALT field is representing an empty sequence? If this is the case, in order to fix my sniffles2 VCFs, can I simply modify my VCFs by adding the reference base before the variant to the left of REF + ALT alleles, following the VCF specifications (4.2):Or is there a script already to fix the VCFs to contain the actual reference sequence instead of
N
?Thanks,
Jana
The text was updated successfully, but these errors were encountered: