simplesam
simplesam copied to clipboard
x.tags errors when test a bam
Hi, I think you have done a good job. When I tested it, an error was occured, my bam tag information was like this:
please help me check it, thanks so much !
Thanks for the report. It looks like you should have some tags in the format XX:B:XX. I can't find anything like this in your screenshot, so maybe you can search your file? I did not implement hex array or byte array tags:
https://github.com/mdshw5/simplesam/blob/3d0c873a4538b76db20659f724eefda307f74128/simplesam.py#L573-L574
However if there is a use case for these I think it would be feasible to add a method.
Thanks for your reply. I had revised the script by your suggestion. It will be loved by more developer if the script can write bam format file.