iTaxoTools / concatenator

GNU General Public License v3.0
1 stars 0 forks source link

Error in calculation of the numbers of nucleotides #66

Open mvences opened 2 years ago

mvences commented 2 years ago

I have used Concatenator to obtain numbers of nucleotides in a fasta file, and found a bug in the calculation. It seems that for some of the counts, the algorithm has a bug and provides a number that is approximately double from what should be provided. I attach the example file here. The problems occur in the following reports:

necrosovereign commented 2 years ago

@StefanPatman I tested the doubling issue with the total data in the backend and it gave correct numbers. It might be a problem with ConcatenatorGui

necrosovereign commented 2 years ago

This is weird. I tried it again with ConcatenatorGui and now the total report has the correct numbers. This problem seem to be caused by some particular combination of options.

mvences commented 2 years ago

Indeed. I have just tried it again with the compiled version and various input files, and it gave the correct numbers. This is very strange, I should have made screenshots and noted down the exact kind of steps I made, to better document the moment that the problem showed up. I will do some more tests when I have time, let's leave the issue open for now to make sure it is not forgotten. But it is a relief to know that the program in principle is performing correctly.