phi-grib / data_curation Goto Github PK
View Code? Open in Web Editor NEWPython code for handling data curation: SMILES of problematic molecules, dataset selection, train and test split.
License: GNU General Public License v3.0
Python code for handling data curation: SMILES of problematic molecules, dataset selection, train and test split.
License: GNU General Public License v3.0
Some molecules fail at Sanitization step. There should be a function that handles this errors and allows to classify the molecule despite this error.
Example:
from rdkit import Chem
error_struc = [Na+].[Na+].[Na+].[Na+].[Cu]1Oc2cc(ccc2N\\N=C\\3C(=O1)c4c(N)cc(cc4C=C3[S]([O-])(=O)=O)[S]([O-])(=O)=O)c5ccc6N\\N=C\\7C(=O[Cu]Oc6c5)c8c(N)cc(cc8C=C7[S]([O-])(=O)=O)[S]([O-])(=O)=O
Chem.MolFromSmiles(error_struc)
RDKit ERROR: [13:08:10] Explicit valence for atom # 16 O, 3, is greater than permitted
This either requires a specific handler for this error or a workaround to correct the molecule at make it valid for sanitization.
Generation of a python code that handles SMILES curation semi automatically.
Implement it in a general way so the rest of the group can use it for different projects.
Some molecules such as CO are being miss-classified.
In this case, CO should be considered inorganic but it's classified as organic.
The filter applied in principle should be able to establish this difference, since first checks for molecules with C or c atoms, then runs Chem.AddHs to see if the molecule has carbons and hydrogens and if not, checks if it has halogen elements (Cl, F, Br, I).
It None is returned from those filters, the molecule is considered inorganic.
Filters need to be checked with this particular cases to see what is happening.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.