Open boasvdp opened 6 months ago
Stops counting SNP differences above a certain threshold (default: 9_999_999). Adds nearly negligible overhead by comparing diff to maxdiff (https://github.com/boasvdp/snp-dists/blob/master/main.c#L28).
Comparison on an alignment of 500 simulated (non-masked) TB genomes which differ ~2000 SNPs on average, measured using /usr/bin/time -v and 8 threads:
/usr/bin/time -v
Inspired by the -x option in cgmlst-dists.
Stops counting SNP differences above a certain threshold (default: 9_999_999). Adds nearly negligible overhead by comparing diff to maxdiff (https://github.com/boasvdp/snp-dists/blob/master/main.c#L28).
Comparison on an alignment of 500 simulated (non-masked) TB genomes which differ ~2000 SNPs on average, measured using
/usr/bin/time -v
and 8 threads:Inspired by the -x option in cgmlst-dists.