iTaxoTools / TaxI2

Calculation and analysis of pairwise sequence distances
GNU General Public License v3.0
0 stars 0 forks source link

Add distance matrices in percent as output in all-against-all comparison #33

Closed mvences closed 2 years ago

mvences commented 2 years ago

This modification only applies to the "all against all" program mode.

When using the program today, I realized that sometimes, it will be good to have the genetic distance output in percent rather than proportion. For instance, 50 instead of 0.50 or 5.3 instead of 0.053

So, it would be great if additional output could be added, this would mean, the following tables: pairwise_uncorrected_distance_betweensequences(Ordered_by_species).txt pairwise_uncorrected_distance_betweensequences(Alphabetical_order).txt pairwise_uncorrected_distance_between_sequences.txt Minimum_and_maximum_pairwise_uncorrected_distance_between_species.txt Mean_pairwise_uncorrected_distance_between_species.txt Mean,_minimum_and_maximum_pairwise_uncorrected_distance_between_species.txt Mean,_minimum_and_maximum_pairwise_uncorrected_distance_between_genera.txt Mean,_minimum_and_maximum_intra-species_pairwise_uncorrected_distance.txt Mean,_minimum_and_maximum_intra-genus_pairwise_uncorrected_distance.txt

would all be printed in two versions, once as they are now, and once in percent (which basically means, each value multiplied by 100). The file name can simply have at the end "in_percent" added.

This is very trivial, but will be very useful (manually transforming the values in Excel is extremely cumbersome, especially in cases where different valus such as min and max are combined).

I think directly outputting the two versions of the matrix tables is better and easier than adding another option to the GUI.