Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

norm doesn't normalize <DUP> symbolic variants #2145

Closed
davmlaw opened this issue Apr 2, 2024 · 1 comment
Closed

norm doesn't normalize <DUP> symbolic variants #2145

davmlaw opened this issue Apr 2, 2024 · 1 comment

Comments

@davmlaw
Copy link

davmlaw commented Apr 2, 2024

I raised an issue as #1919 "norm doesn't normalize symbolic variants" but it was closed after only fixing <DEL> - so there's no open issue for all of the other symbolic variants which are still affected.

<DUP> is the next most common indel I guess so I've attached a normal VCF (which is normalized) and a symbolic representation of the same variant (which is not) as a test case:

bcftools_norm.zip

bcftools norm norm_dup_grch38.vcf -f /data/annotation/fasta/GCF_000001405.39_GRCh38.p13_genomic.fna.gz

The explicit alt one gets left aligned:

#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
NC_000001.11	117395877	.	G	GGATTACA	.	PASS	.
Lines   total/split/realigned/skipped:	1/0/1/0
@pd3
Copy link
Member

pd3 commented Apr 27, 2024

This is now supported.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants