Comments (5)
Thanks, the problems have been solved.
It seems that you're invited by Prof. Zeng for a report tomorrow, and I'm looking forward to attending it.
from caster.
Hi Yifan,
The chembl_seq.txt is a txt file containing all SMILES in the ChEMBL dataset. Each line is a SMILES string.
Yeah, the SMILES strings should be canonicalized. You can achieve this by "Chem.MolToSmiles(Chem.MolFromSmiles(SMILES_STRING))"
I suggest you generate your own ESPF fingerprint for the best performance after canonicalization. To generate, you can checkout this notebook example: https://github.com/kexinhuang12345/ESPF/blob/master/generate_drug.ipynb
from caster.
Hi Kexin,
The problems have been solved. However, there is still another problem which bothers me a lot. For example, for Drug:Cisplatin (DB00515), the SMILES from Drugbank is [H]N([H])Pt(Cl)N([H])[H]. The Chem.MolFromSmiles didn't work for this SMILES. (Similar circumstances occur for other SMILES which contain [Pt]). In order to deal with it, I downloaded the Mol files for these drugs and use Chem.MolToSmiles(Chem.MolFromMolFile("DB00515.mol")), and get the result of 'NPt(Cl)Cl'.
Is the procedure right?
from caster.
Yes, the issue is the element Pt should be wrapper like [Pt]; if you try [H]N([H])PtN([H])[H]; it should work.
The procedure you described also works too; 'NPt(Cl)Cl' and '[H]N([H])Pt(Cl)N([H])[H]' are the same thing, since I guess the default Chem.MolFromMolFile() may automatically remove the hydrogen key in the SMILES.
from caster.
Hi!
Thanks for your work.
Giving "chembl_seq.txt" along with the code, will be very helpful for people like me that have just started studying and doesn't have a clear clue on how to obtain it, but still want to use your code and be able to generate his own ESPF fingerprint.
Can you give it now, please?
from caster.
Related Issues (12)
- Will you upload the training and test dataset? HOT 2
- 'unsup_dataset.csv' dataset problem HOT 1
- About 'training server setup' problem HOT 3
- About "'DataParallel' object has no attribute 'src_device_obj'" Error HOT 5
- dataset requeset HOT 3
- How to get the scores as Fig.4 in the paper did? HOT 9
- How to get the roc-auc on BIOSNAP?
- ask for help
- How to generate unsup_datatest.csv
- Lack of Dataset HOT 3
- Label_Multi in dataset
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 caster.