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

Pass sample identifier to minimap in read group metadata #2

Open
ssadedin opened this issue Apr 3, 2024 · 0 comments
Open

Pass sample identifier to minimap in read group metadata #2

ssadedin opened this issue Apr 3, 2024 · 0 comments
Assignees

Comments

@ssadedin
Copy link

ssadedin commented Apr 3, 2024

Currently minimap is executed in a way that does not add read group metadata in the output BAM file. The result is that the resulting BAM file doesn't identify which sample it is for.

I would assume this is done the same way as for BWA, so it could be copied from there, ie: adding the flag

   -R "@RG\\tID:${sample}_${lane}\\tPL:$PLATFORM\\tPU:1\\tLB:${library}\\tSM:${sample}"  
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