Closed mbhall88 closed 2 months ago
thanks for bringing this to my attention. i think this is because python3.12 removed SafeConfigParser
and replaced it with ConfigParser
. khmer
is a fantastic tool, but i am finding that it is not a good neighbor when it comes to installation. i am going to see if i can replace khmer
with something friendlier.
using python 3.12 and above is not supported by khmer
. this will not change unless khmer
releases a new version.
Okay. Might be worth mentioning this in the installation instructions then.
Also, given the base environment for the most recent release of miniconda is now python 3.12, it is important to note in the install instructions that 3.12 is not support.
Yeah it is such a shame that khmer
is no longer supported and the conda
installation is incompatible outside of Python 3.6 and 3.7. Currently conda install
won't work until I can some how fix khmer
's installer. The Countgraph
functionality is golden and nothing else (that I'm aware of) provides a way to count the number of times a kmer appears without iterating across the sequence. I'd use a different tool if it could keep the runtime and memory footprint as low as khmer
does.
I have set up the pip
installer so it will fail if an incompatible Python version is being used and to report that in the error message. The environment file for manual install will use an appropriate version of Python. I will double check the readme tomorrow to make sure it explicitly states which versions of Python are compatible.
Ah what a shame! I assume you can't use Sourmash (which seems to be where khmer evolved to) as you don't want minhash kmers?
yeah we tried using sourmash. the problem that we encountered was that counting the number of times a given kmer appeared in a sequence required that we iterated across the sequence, which makes the time complexity go up by a lot.
In relation to https://github.com/openjournals/joss-reviews/issues/6850
When I try and pip install the latest (v1.2.5) version with python 3.12 I get the following error
I have no such problems with python 3.11