You need Python 3.9 and pip the package installer for Python pip
Install a virtual environment if you want.
$ python3 -m venv --prompt cmatch venv
$ source ./venv/bin/activate
Install teh dependencies
$ pip install -r requirements.txt
run cmatch.py
$ ./cmatch.py --help
Run cMatch on a simple example, matching the violacein template (template.json) and two synthetic violacein constructs (vio-B0030-B0030-B0030-B0030-B0030.seq, vio-B0030-B0031-B0032-B0033-B0064.seq).
$ cd simple_example/
$ ../cmatch.py template.json vio-B0030-B0030-B0030-B0030-B0030.seq vio-B0030-B0031-B0032-B0033-B0064.seq
The cmatch tool will output JSON.
$ python Testing_Algorithm_CM_0.py
$ python Testing_Algorithm_CM_1.py
$ python test_cm2_vio_easy_1vs1_th75.py
$ python test_cm2_vio_easy_1vs1_th99.py
$ python test_cm2_vio_hard_1vs1_th75.py
$ python test_cm2_vio_hard_1vs1_th99.py
$ python test_cm2_vio_easy_1vsAll_th75.py
$ python test_cm2_vio_easy_1vsAll1_th99.py
$ python test_cm2_vio_hard_1vsAll1_th75.py
$ python test_cm2_vio_hard_1vsAll1_th99.py
$ python test_cm2_lycopene_sanger_10.py
$ python test_cm2_lycopene_sanger_100.py
$ python cm1_cat2.py
$ python cm1_cat2min.py
$ python cm1_cat3.py
$ python cm1_cat3min.py
$ python cm2_cat2.py
$ python cm2_cat2min.py
$ python cm2_cat3.py
$ python cm2_cat3min.py