User 2e29183b3d
06-03-2007 18:20:42
Hi,
I have imported an SDF file, and one of the SDF-tags is let's say called "CLASS" and can have multiple discrete values out of {1,2,3,4, ...}. In the SDF file these classes are each one on a line. When the SDF file is imported, in Instan JChem they turn up as a various lines in a VARCHAR field.
Are there any functions to assess each of those lines? What if I wanted to extract these classes into new fields, class1, class2, class3? I found the chemical terms function fields('...') but this didn't even copy what was in the field to the new CT field.
I found searching with LIKE and %class% as query to find all molecules with a given class, but what if I want to find all molecules 1) in classX but NOT in classY, or 2) all molecules ONLY in classX?
Thanks a lot,
Florian
I have imported an SDF file, and one of the SDF-tags is let's say called "CLASS" and can have multiple discrete values out of {1,2,3,4, ...}. In the SDF file these classes are each one on a line. When the SDF file is imported, in Instan JChem they turn up as a various lines in a VARCHAR field.
Are there any functions to assess each of those lines? What if I wanted to extract these classes into new fields, class1, class2, class3? I found the chemical terms function fields('...') but this didn't even copy what was in the field to the new CT field.
I found searching with LIKE and %class% as query to find all molecules with a given class, but what if I want to find all molecules 1) in classX but NOT in classY, or 2) all molecules ONLY in classX?
Thanks a lot,
Florian