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

Filter supplementary alignments when reading BAMs, not prefilter #426

Open
diekhans opened this issue Feb 25, 2025 · 3 comments
Open

Filter supplementary alignments when reading BAMs, not prefilter #426

diekhans opened this issue Feb 25, 2025 · 3 comments
Labels
enhancement New feature or request mod; align

Comments

@diekhans
Copy link
Collaborator

Supplementary alignments are very useful in understanding issues with the primary alignment while they can cause FLAIR to create spurious models.

It would be good to leave these in the filtered BAM, and have FLAIR discard the supplementary alignments when it is reading the BAM

@cafelton
Copy link
Collaborator

FLAIR does not read the bam, it reads the bed, which cannot contain information about supplementary alignments

@cafelton
Copy link
Collaborator

I guess maybe we just need to do the filtering in the bam to bed conversion while leaving the original bam. That makes sense

@diekhans
Copy link
Collaborator Author

diekhans commented Feb 26, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mod; align
Projects
None yet
Development

No branches or pull requests

2 participants