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 skip softclip #1293

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DrYak
Copy link

@DrYak DrYak commented Jun 12, 2024

This pull request addresses issue #1292.

It introduces a new option to pysam.AlignedSegment.get_aligned_pairs: skip_soft_clipping
Soft clipping are discarded (similarly to what happens to them with the matches_only), but keeps all other features (matches, inserts, deletions, skip and padding).

I've expanded the test to cover the modified line 2052, making sure that soft-clippings are discarded, whereas inserts and padding remain unaffected by the new option.

DrYak added 2 commits June 12, 2024 20:10
- soft-clipped regions are ignored and not returned
- inserts and padding should not be affected
- soft clipping should be similar to matches_only
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