Skip to content

Report per-aln stats as per-aligned, ignoring unmapped reads#4921

Open
faithokamoto wants to merge 3 commits into
masterfrom
per-aligned-stats
Open

Report per-aln stats as per-aligned, ignoring unmapped reads#4921
faithokamoto wants to merge 3 commits into
masterfrom
per-aligned-stats

Conversation

@faithokamoto
Copy link
Copy Markdown
Contributor

Changelog Entry

To be copied to the draft changelog by merger:

  • vg stats -a reports aggregate bp/alignment stats as per aligned reads, ignoring unmapped reads

Description

The match bp/alignment and softclip bp/alignment stats would go up if you just aligned more reads, even if those alignments actually brought down the average bp per successful alignment. This change makes the denominator of the calculation be the count of reads with a primary alignment, instead of the count of reads period. Seems more meaningful.

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

Successfully merging this pull request may close these issues.

2 participants