Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh install fails SCOPData from Bio.Data import #234

Closed
grandrea opened this issue Jan 4, 2024 · 2 comments
Closed

Fresh install fails SCOPData from Bio.Data import #234

grandrea opened this issue Jan 4, 2024 · 2 comments

Comments

@grandrea
Copy link

grandrea commented Jan 4, 2024

Just re-installed AlphaPulldown following README instructions, I get a fail due to new BioPython modules

 create_individual_features.py --fasta_paths=candidates.fasta,baits.fasta --data_dir=/data/software/dbs3 --save_msa_files=False --output_dir=/data/alphafold_runs/alphapulldown/output_data --max_template_date=2023-11-11 --skip_existing=False
 
 
Traceback (most recent call last):
  File "/data/software/anaconda3/envs/AlphaPulldown/bin/create_individual_features.py", line 7, in <module>
    from alphapulldown.objects import MonomericObject
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphapulldown/objects.py", line 11, in <module>
    from alphafold.data import pipeline_multimer
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphafold/data/pipeline_multimer.py", line 29, in <module>
    from alphafold.data import feature_processing
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphafold/data/feature_processing.py", line 20, in <module>
    from alphafold.data import msa_pairing
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphafold/data/msa_pairing.py", line 23, in <module>
    from alphafold.data import pipeline
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphafold/data/pipeline.py", line 23, in <module>
    from alphafold.data import templates
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphafold/data/templates.py", line 27, in <module>
    from alphafold.data import mmcif_parsing
  File "/data/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/alphafold/data/mmcif_parsing.py", line 24, in <module>
    from Bio.Data import SCOPData
ImportError: cannot import name 'SCOPData' from 'Bio.Data' (/data/graziadei/software/anaconda3/envs/AlphaPulldown/lib/python3.10/site-packages/Bio/Data/__init__.py)

See also this issue
Rappsilber-Laboratory/AlphaLink2#17

Fix seems to be in the recipe to force biopython==1.81

@grandrea
Copy link
Author

grandrea commented Jan 4, 2024

ah i see it was already mentioned and taken care of

@grandrea grandrea closed this as completed Jan 4, 2024
@dingquanyu
Copy link
Collaborator

Hi @grandrea

Thank you very much for the suggestion :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants