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

How to create model using a user input template.pdb file #292

Open
Mayjig opened this issue Oct 29, 2024 · 1 comment
Open

How to create model using a user input template.pdb file #292

Mayjig opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Mayjig
Copy link

Mayjig commented Oct 29, 2024

My script is this:

import requested modules

from PANDORA import Target
from PANDORA import Pandora
from PANDORA import Database
from PANDORA import Template

#db = Database.load()

template = Template(id='1AKJ',
allele_type='HLA-A*02:01',
MHC_class='I',
peptide='ILKEPVHGV',
pdb_path='/data2/bej22/projects/PANDORA/receptor/1AKJ.pdb')
#G_domain_span=[(1,180)])

B. Create Target object

target = Target(id = '1T7I',
MHC_class='I',
allele_type = 'HLA-A*02:01',
peptide = 'ALWGVFPVL',
anchors = [2,9],
templates=template)

C. Perform modelling

case = Pandora.Pandora(target,template=template)

Why I got an empty 1T7I folder

@DarioMarzella
Copy link
Collaborator

Hi @Mayjig , thanks for posting this issue and sorry for the late reply.

First of all, is it just a copy-pasting error or there is no "case.model()" at the end of your script? If that's the case, PANDORA will generate the empty folder when you create the target object but won't fill it because you didn't ask for any modeling to be performed.

In case instead it was only a copy-paste error, do you have by any chance a log of the run or an error message with it?

@DarioMarzella DarioMarzella self-assigned this Nov 4, 2024
@DarioMarzella DarioMarzella added the question Further information is requested label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants