Comments (3)
The issue lies in the naming of the variables in the program. Since seq_ss_set is defined twice, the second definition is passed to the function. I fixed the problem by changing X[i] = res_ind[res] in the function label_seq_ss to X[i] = seq_ss_set[res]. I also had to move everything inside the if name == "main" call into a new function called main and calling main inside the if statement. Hope this helps
from camp.
Thank you @AnthonyYao7 !
I'll be trying this out and send an update if anyone has the same issue.
from camp.
Sorry this bug is due to my careless when changing the variable name for this script. Actually "seq_ss_set" should be used twice (both for peptide and protein). For the "seq_ss_set" , as @AnthonyYao7 pointed out, seq_ss_set was named twice and I've rename the one for the label_seq_ss into seq_ss_dict. Hope this can help.
from camp.
Related Issues (20)
- Running CAMP on own data HOT 7
- Could you check PLIPv2.2.2 output vs v1.4.2? current codes only for PLIPv1.4.2? HOT 1
- About blast database HOT 1
- Questions about creating "query_peptide.fasta" and "target_peptide.fasta" HOT 3
- step2_pepBDB_pep_bindingsites.py 'df_part_all' is not defined HOT 1
- dataset HOT 2
- peptide_dense_feature_dict generated by step3 has only two features per AA whereas given example data has three features per AA
- interpretion of results HOT 1
- error in CAMP_BS.h5 modelling HOT 5
- We couldn't run program HOT 3
- Failed to predict protein-peptide interactions in PPD-bench HOT 3
- Unknown loss function: conditional_BCE; predict_CAMP.py HOT 2
- Request for Guidance in Step 1 to Step 3 of step2_pepBDB_pep_bindingsites.py
- can not load 'CAMP_BS.h5' successfully HOT 4
- problem unpickling CAMP_pytorch files HOT 4
- analyzed file generated by PLIP HOT 1
- Step 4 of step1_pdb_process.py
- "query_peptide.fasta" and "target_peptide.fasta" HOT 2
- How to generate 'pep_concat_seq' and 'prot_concat_seq' in my own camp input data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camp.