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

if a tag value in RG header of a input BAM has '\t' (the literal string not a tab), star_mapping.pl will break. #32

Open
byb121 opened this issue Aug 27, 2019 · 0 comments
Labels

Comments

@byb121
Copy link
Contributor

byb121 commented Aug 27, 2019

star_mapping.pl uses PCAP-core::BAM::rg_line_for_output to get input BAM header line. The PCAP subroutine uses the literal string '\t' as the separator in its returning header line string, but in fact, this string is allowed in a SAM tag value, hence when it exists in an input BAM header, star_mapping.pl breaks.

Potential fixes depend on fixes of PCAP-core: cancerit/PCAP-core#47

This is a bug, but in a very low priority to fix, as it should really only affect the edge case
that I stated is this issue.

@byb121 byb121 added the bug label Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant