trimal
trimal copied to clipboard
'compareset' error when using trimAL 1.2 on Windows
Dear developer,
I experienced an error while using trimAL. When I using "trimal -compareset Api0000040.cmp" command. I got an error: "Alignment not loaded: "" Check the file's content.". I also tried to use the absolute path of the alignment, but I still got that error. Could you please tell me how to resolve this? I am using trimAl 1.2 on Windows (downloaded from http://trimal.cgenomics.org/downloads).
By the way, could you please compile a new version of trimAL for windows? I can currently only use version 1.2 on Windows.
Best wishes,
Dong Zhang
I got the same error
I think I got it!
Here is my experiences.
- Windows version 1.2 fails when testing
-compareset
. - Therefore, I download and extract the source files for v1.4, compile with make in a Linux environment, and then copy
trimal
andreadal
to the bin directory or another execution directory. Under Linux environment, thefilesetlist.txt
file must use Unix character format; - the MAS files' name can not contain space characters, such as "_", otherwise you will encounter "
Alignment not loaded: "" Check the file's content. file's content.?
" error. - The datasets to be compared must have the same number of sequences, otherwise the error "
ERROR: The files to compare do not have the same number of sequences
" will occur. Using mafft and masce results in different datasets, while masce results in reordering of sequences, the results of the two methods are not compatible and cannot be used together as input for comparison.
$ ./trimal -h
trimAl v1.4.rev15 build[2013-12-17]. 2009-2013. Salvador Capella-Gutierrez and Toni Gabaldón.
$ ls *.fasta
globalpair100.fasta mafft.fasta
$ cat filesetlist.txt
mafft.fasta
globalpair100.fasta
$ ./trimal -compareset filesetlist.txt -out optimal_alignment
File: mafft.fasta
Values: Sequences: 2365 Residues: 1507 Pond. Hits: 1449.62 %Consistency: 0.961923
File: globalpair100.fasta
Values: Sequences: 2365 Residues: 1507 Pond. Hits: 1450.15 %Consistency: 0.962274
--------------
File Selected: globalpair100.fasta
Value: 0.962274
Hi,
Thank you for the explanation. I just uploaded the Windows binaries for version 1.4. Moreover, I think the errors that arose with -compareset
might be solved in the last version of the main branch. It would be great if you could try it and give me some feedback.