Skip to content
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

Feature request: norm --remove-duplicates report removed dupes in summary stats #2346

Open
davmlaw opened this issue Dec 20, 2024 · 0 comments

Comments

@davmlaw
Copy link

davmlaw commented Dec 20, 2024

Norm produces summary stats, eg:

Lines   total/split/joined/realigned/skipped:	2/0/0/0/0

It would be nice if this included "removed duplicates" (or rmdup or whatever)

Eg sample file w/dupes:

##fileformat=VCFv4.0
##contig=<ID=1,length=249250621,assembly=hg19>
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
1	99167215	rs5776431	CA	C	4675.23	PASS	.
1	99167215	rs5776431	CA	C	4675.23	PASS	.
bcftools norm -f /data/annotation/fasta/Homo_sapiens.GRCh37.75.dna.primary_assembly.fa.gz --remove-duplicates dupes.vcf

Output:

Lines   total/split/joined/realigned/skipped:	2/0/0/0/0

Suggested output:

Lines   total/split/joined/realigned/skipped/removed_dupes:	2/0/0/0/0/1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant