Skip to content

Read quality can be "Phred + 64" encoded #5

@hukai916

Description

@hukai916

Hi developers,

I noticed that the current implementation only considers "Phred + 33" encoding for read qualities, however, "Phred + 64" encoding is also commonly used.

In particular, the following line is only compatible if the read quality is "Phred + 33" encoded.

quality <- as(quality(reads1), "matrix")

Will changing it to the following, and remove all + 33 help?

quality <- apply(as.matrix(quality(reads1)@quality), c(1,2), FUN = utf8ToInt)

Thanks!

--Kai

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions