Skip to content

surject: rank paths by their best alignment - #5009

Draft
Sagorikanag wants to merge 1 commit into
vgteam:masterfrom
Sagorikanag:fix-surject-path-ranking
Draft

surject: rank paths by their best alignment#5009
Sagorikanag wants to merge 1 commit into
vgteam:masterfrom
Sagorikanag:fix-surject-path-ranking

Conversation

@Sagorikanag

Copy link
Copy Markdown

Changelog Entry

  • vg surject -m now ranks each target path using its best
    non-supplementary surjection.

Description

When multiple non-supplementary surjections were produced for one path,
path ranking used the first one encountered. This could select a lower-scoring
alignment and rank the path incorrectly.

This change examines every non-supplementary surjection and uses the highest
score for each path. Paths containing only supplementary alignments retain
a score of zero.

The behavior is updated for both Alignment and MultipathAlignment input.

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.

1 participant