Biostrings icon indicating copy to clipboard operation
Biostrings copied to clipboard

Encoding ASCII up to 255

Open gevro opened this issue 2 years ago • 13 comments

How do I use BString / BStringSet for values > 127?

PacBio data uses 0:255 ranges for fp/rp/fi/ri tags. I am trying to use BioStrings to work with these tags.

But I ran into trouble, for values > 127.

Technically, ASCII shoudl go up to 255, so I'm not sure why BString shouldn't be able to handle things like this: BStringSet(rawToChar(as.raw(135)))

It seems to just return '?' for any value > 127.

gevro avatar Mar 24 '22 22:03 gevro