Error: could not find function "msaConvert"
Entering edit mode
weiguo0113 • 0
Last seen 7.0 years ago
United States

Hi all,

I am interested in going ahead with "msa: An R Package for Multiple Sequence Alignment". I am trying with the software manual. But "Error: could not find function "msaConvert". I can not resolve it. Could you help me? Thanks

Here is the command line that I am using:

> hemoSeq<-readAAStringSet(system.file("examples/HemoglobinAA.fasta",package="msa"))
> hemoAln<-msa(hemoSeq)
use default substitution matrix
Sequence type explicitly set to Protein
> hemoAln2 <- msaConvert(hemoAln,type="seqinr::alignment")#not work
Error: could not find function "msaConvert"

msa software error • 1.5k views
Entering edit mode
UBodenhofer ▴ 290
Last seen 9 months ago
University of Applied Sciences Upper Au…

It seems to me that you have an older version of the package installed. The msaConvert() function has been added in version 1.3.3 in the devel branch. So the first release version that included this function was 1.4.0, which has been released as part of Bioconductor 3.3 on May 4, 2016. You can only install and run this version if you have at least R 3.3.0 on your system. Please enter


I bet you see a 1.2.x number or even older. If so, I'd suggest you upgrade to R 3.3.1 and install Bioconductor 3.4 (released yesterday). If you cannot do so, a simple workaround is to download the latest package archive of the package from, save it to your local harddisk, and install it from there. 'msa' does not rely on any new features of other packages, so it will probably install without any problems also on older R versions.


Login before adding your answer.

Traffic: 542 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6