tlemane / kmtricks

modular k-mer count matrix and Bloom filter construction for large read collections
GNU Affero General Public License v3.0
76 stars 7 forks source link

Specify python version in Conda recipe #7

Closed kbseah closed 3 years ago

kbseah commented 3 years ago

I installed kmtricks v0.0.2 with conda. Running kmtricks.py with python < 3.6 results in the following error message:

  File "/ebio/abt2_projects/ag-swart-loxodes/envs/kmtricks/bin/kmtricks.py", line 109
    self.global_parser: argparse.ArgumentParser = None
                      ^
SyntaxError: invalid syntax

It appears that the version check in lines 40-42 of kmtricks.py isn't used because it's not enclosed in the main code block.

Perhaps the python version could be included in the Conda recipe? I've gotten it to work now and look forward to trying out the pipeline.

tlemane commented 3 years ago

Hi,

Thank you for reporting this. The minimal python version is now included in the conda recipe.