microsoft / evodiff

Generation of protein sequences and evolutionary alignments via discrete diffusion models
MIT License
516 stars 73 forks source link

Following basic code doesn't work #35

Closed dannyoo closed 8 months ago

dannyoo commented 8 months ago
python evodiff/generate_msa.py --model-type msa_oa_dm_maxsub --batch-size 1 --n-sequences 64 --n-sequences 256 --subsampling MaxHamming
Traceback (most recent call last):
  File "evodiff/generate_msa.py", line 2, in <module>
    import evodiff
  File "/home/jimendi1/miniconda3/envs/evodiff/lib/python3.8/site-packages/evodiff/__init__.py", line 2, in <module>
    from . import collaters
  File "/home/jimendi1/miniconda3/envs/evodiff/lib/python3.8/site-packages/evodiff/collaters.py", line 3, in <module>
    from evodiff.utils import Tokenizer
  File "/home/jimendi1/miniconda3/envs/evodiff/lib/python3.8/site-packages/evodiff/utils.py", line 4, in <module>
    from sequence_models.constants import MASK, MSA_PAD, MSA_ALPHABET, MSA_AAS, GAP, START, STOP
ModuleNotFoundError: No module named 'sequence_models'
dannyoo commented 8 months ago

pip install sequence-models