heibl / ips

R Interfaces to Phylogenetic Software
10 stars 3 forks source link

Implementing --reorder option in ips::mafft #10

Open amartinezgarcia opened 2 years ago

amartinezgarcia commented 2 years ago

Thank you for developing this function! It is helping me a lot! Is it possible to implement the option "--reorder" so the output of the alignment is based on the alignments instead of in the input fasta file order?

**More specifically, I'd like to run:

mafft --reorder --adjustdirection --auto input

**I'm using the instruction:

ips::mafft(this.aligmment, method='auto', options = c("--adjustdirection","--reorder")

**But I get the error:

Error in match.arg(options, c("--adjustdirection", "--adjustdirectionaccurately")) : 'arg' must be of length 1

Thanks in advance!