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

traning problem #17

Closed
maxshen29 opened this issue Nov 19, 2022 · 2 comments
Closed

traning problem #17

maxshen29 opened this issue Nov 19, 2022 · 2 comments

Comments

@maxshen29
Copy link

i use the sample :

from igfold import IgFoldRunner
sequences = {
"H": "QVQLQESGGGLVQAGGSLTLSCAVSGLTFSNYAMGWFRQAPGKEREFVAAITWDGGNTYYTDSVKGRFTISRDNAKNTVFLQMNSLKPEDTAVYYCAAKLLGSSRYELALAGYDYWGQGTQVTVS"
}
pred_pdb = "my_nanobody.pdb"

igfold = IgFoldRunner()
igfold.fold(
pred_pdb, # Output PDB file
sequences=sequences, # Nanobody sequence
do_refine=False, # Refine the antibody structure with PyRosetta
do_renum=True, # Renumber predicted antibody structure (Chothia)
)

get the erro:
Warning: AbNumber not available. Provide --use_abnum to renumber with the AbNum server.
cannot import name 'clean_pdb' from 'igfold.utils.pdb' (/data/miniconda3/envs/igfold/lib/python3.9/site-packages/igfold/utils/pdb.py)
Completed folding in 0.90 seconds.

How to solve it?

@jeffreyruffolo
Copy link
Member

Hello, I recently replaced ANARCI with AbNumber for renumbering structures. You may need to install this tool specifically, here's the conda command:

$ conda install -c bioconda abnumber

Altnernatively, you can pass the use_abnum=True argument to the igfold.fold command, which will send your structure to a server for renumbering.

@kimdn
Copy link

kimdn commented Feb 26, 2023

Both my python3.8 and 3.9 condas cannot install abnumber as
Screen Shot 2023-02-26 at 12 55 08 AM

My python3.7 conda local environment cannot install abnumber as well as
Screen Shot 2023-02-26 at 2 14 45 AM

Maybe I just need to use

igfold.fold(
pred_pdb, # Output PDB file
sequences=sequences, # Nanobody sequence
do_refine=False, # Refine the antibody structure with PyRosetta
do_renum=True, # Renumber predicted antibody structure (Chothia)
use_abnum=True,
)

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

3 participants