Open Yuanzhou-W opened 12 months ago
How exactly did you solve the problem? I have this error and I have standardised the fasta files (80 characters for each line) and I still have the problem. I am using contigs level assemblies.
Hi @ZiliaMR - if your NUCmer run is failing there are two likely possibilities:
Your first action should be to examine the output (if any) for the comparison that pyani
is indicating has a problem, and try to rerun the NUCmer comparison independently. This will usually indicate one of the two situations above. To resolve it, either remove one of the unrelated genomes from the analysis, or fix the NUCmer issue that is reported.
L.
Thanks so much! :) I found the error. I have another question but I will open an issue for it.
failed running with a different format fasta doc while running the following line:
Current Output:
pyani Version:
0.2.12
Operating System:
ubuntu 14.04
We have investigated the issue of the sequence file error. Ultimately, the possible cause of the error could be the inconsistent line length in the FASTA file: different number of characters per line led to the error. The files that triggered the error had eighty characters per line for some and sixty characters per line for others. The errors only occurred when comparing FASTA files of different formats. After standardizing the format (eighty characters per line for all or sixty characters per line for all), the error disappeared. No further testing was done.