Comments (4)
!pip install selfies
import selfies as sf
sm = "NC(CC1=CC(NN=C1C=1OC=CC1)=O)CC)"
new_sm = sf.decoder(sf.encoder(sm))
Chem.MolFromSmiles(new_sm)
from auto_martini.
Dear Mei Woo,
Yes, that unfortunately happens once in a while. I don't have a systematic fix. That often happens on some aromatic nitro groups. I would suggest trying to parametrize a molecule that's similar but doesn't have the problematic group. I'm not sure which one it is here, but you could play around with the chemistry and see what works. Also, it doesn't seem like the SMILES you provide is valid. Did you check that?
Best,
Tristan
from auto_martini.
Hi Tristan,
Thanks for your reply.
I have tried another SMILES translator and tired this SMILES ( CCC(N)Cc1cc(=O)[nH]nc1c2ccco2 ) as well but I still got the same error. Do you get the same error as well? Are there any ways those we can work around this problem. I have a set of molecules to parametrize with this starting structure.
Regards,
Mei Woo
from auto_martini.
I do get the same error.
I would replace the aromatic nitrogens by carbon and try to parametrize that. For instance, the slightly different compound CCC(N)Cc1cc(=O)ncc1c2ccco2
does go through in the Master branch. You'll then need to manually adjust the bead type to correct for the change in water/oil partitioning.
Not extremely systematic unfortunately, but that might do it.
Best,
Tristan
from auto_martini.
Related Issues (20)
- "Missing parentheses in call to 'print'." HOT 15
- Max. number of attempts: 54517 HOT 1
- VisibleDeprecationWarning
- Improving molecule sanitization HOT 1
- auto_martini as an interoperable component HOT 2
- auto_martini fails 4 tests
- auto_martini doesn't work for silica coarse graining HOT 1
- setup.py
- The CG model for ethanol is different from the original paper HOT 1
- martini3 HOT 3
- ALOGPS can't predict fragment HOT 2
- Installation instructions are incomplete HOT 5
- No Metadata for AutoMartini HOT 5
- Meets ValueError when testing example molecules HOT 6
- ValueError: setting an array element with a sequence HOT 4
- pytest fail HOT 5
- Can we ask one bead per heavy atom? [question] HOT 2
- How many heavy atoms can be processed[no reply required]
- Installation not working HOT 7
- Problems with installation HOT 1
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 auto_martini.