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

Primary alignment filtering #3

Open
HJeffery opened this issue Jul 7, 2022 · 2 comments
Open

Primary alignment filtering #3

HJeffery opened this issue Jul 7, 2022 · 2 comments

Comments

@HJeffery
Copy link

HJeffery commented Jul 7, 2022

Hi,

I've found a way to reduce background repeat counts.

In line 333 of https://github.com/unique379r/strspy/blob/main/scripts/STRspy_v1.0.sh reads are filtered so that only unmapped are eliminated from repeat counting.

If swapped to keep only primary alignments (-F 2308) instead of -F 4 which also keeps secondary and supplementary alignments, this leads to much tidier repeat counting and reduced background repeat counts.

I propose changing filtering from -F 4 to -F 2308.

Thank you.

@fritzsedlazeck
Copy link
Collaborator

Thanks Heather thats a great suggestion!

@HJeffery
Copy link
Author

HJeffery commented Jul 7, 2022

Thanks Fritz!

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

2 participants