Error: could not find function "msaConvert"
1
0
Entering edit mode
weiguo0113 • 0
@weiguo0113-7333
Last seen 7.5 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.7k views
ADD COMMENT
0
Entering edit mode
UBod ▴ 290
@ubodenhofer-5425
Last seen 3 days 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

packageDescription("msa")$Version

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 https://bioconductor.org/packages/release/bioc/html/msa.html, 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.

ADD COMMENT

Login before adding your answer.

Traffic: 666 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6