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 chimeric/supplementary alignments #1

Open
skchronicles opened this issue Jan 29, 2025 · 0 comments
Open

Filter chimeric/supplementary alignments #1

skchronicles opened this issue Jan 29, 2025 · 0 comments
Assignees

Comments

@skchronicles
Copy link
Contributor

About

It appears that some of the reads have a 1:M relationship to their alignment. We are running minimap2 with the --secondary=no option set; however, even with this option enabled, minimap2 will still report chimeric alignments. With that being said, let's update the pipeline with a new filter to remove any chimeric alignments. This will prevent any 1:M relationships between reads/alignments that will inflate the numbers in the krona report.

Here is the filter to be added:

samtools view -h -F 2048,2064  ${sample}.sam > ${sample}.filtered.sam
@skchronicles skchronicles self-assigned this Jan 29, 2025
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

No branches or pull requests

1 participant