Skip to content
Prev 18204 / 21307 Next

[Bioc-devel] pairwiseAlignment strings too long?

Hello,

I am trying to align two sequences, in DNAString format using the R command pairwiseAlignment.
I keep getting this error:

pairwiseAlignment(si,sj)
Error in .Call2("XStringSet_align_pairwiseAlignment", pattern, subject,  :
  max(nchar(pattern) * nchar(subject)) is too big (must be <= 2147483647)

The 2 DNAstrings are si and sj, and are 108,007 bp and 120,698 bp long, respectively.

Can someone help me? Are the sequences too long perchance?

Thanks, Matthew

Sent with [ProtonMail](https://protonmail.com/) Secure Email.