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

Test secondary alignments #365

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Test secondary alignments #365

merged 2 commits into from
Nov 17, 2023

Conversation

marcelm
Copy link
Collaborator

@marcelm marcelm commented Nov 17, 2023

An improvement I plan to make for #364 affects the code that outputs the secondary alignments. We didn’t have tests covering that, so this adds a couple.

There’s also a change in here related to how empty reads are encoded in SAM output. samtools insists it should be *, so this is changed here as well.

Otherwise (when the field is left empty), samtools view converts it to "*"
in the output, which makes testing harder because of spurious differences.
@ksahlin
Copy link
Owner

ksahlin commented Nov 17, 2023

Approved

@marcelm marcelm merged commit 24d4861 into main Nov 17, 2023
9 checks passed
@marcelm marcelm deleted the secondary branch November 17, 2023 14:19
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