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

add /1 or /2 information back into read name if missing #1

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

bluegenes
Copy link
Contributor

cc @ctb:

This PR modifies calc-coverage-diff-2.py to add /1 and /2 read name suffixes back into each read name when missing. Read pair information is stored in the bam FLAG field, which pysam interprets for us.

When running calc-coverage-diff-2.py previously, we were running into issues where we only had read pair information for some files. Upon digging, this may be because the bam2fq step used in genome-grist adds /1 and /2 information back into read names after it is presumably dropped in the minimap2 step.

@jeanzzhao jeanzzhao merged commit e7920c8 into jeanzzhao:main Jul 31, 2023
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