seqaln() cannot access muscle installed through bioconductor

Issue #254 resolved
Former user created an issue

I installed MUSCLE in R through Bioconductor. Then I want to use pdbaln() that will call underlying function seqaln(). However seqaln() could not invoke MUSCLE. I know I can use muscle() directly for multiple sequence alignment. But if I want to access it through bio3d using seqaln() so that seqidentity() can use the aligned result, how should I do it?

Comments (5)

  1. Xinqiu Yao

    Hi,

    Make sure your installed MUSCLE is in the PATH and the command name is 'muscle'. A simple test is to type 'muscle' in a terminal and see if it shows help message. It it gives an error, you need to figure out first where the muscle is installed and what it is named. Then, provide the full path to the muscle program to seqaln() via the argument 'exefile'. For example,

    aln <- seqaln(seqs, exefile='/path/to/muscle/name_of_your_muscle')
    
  2. Log in to comment