User 941c2467a3
21-02-2008 19:43:06
Dear Chemaxon,
I have troubles in trying to query some SMILES string with special patterns . Here are two example,
I want to query out compounds containing halogen (F,Cl,Br,I) with more than one bond. for example,
C1CCC(CC1)C2CCC[Cl]C2
c1ccc(cc1)C2=CC=ClC=Cl2
c1ccc(cc1)C2=CCl=CC=Cl2
c1ccc(cc1)C2=ClC=CC=Cl2
C1=CC=C(Cl=C1)C2=CC=CC=Cl2
C1CCC([Cl]C1)C2CCCC[Cl]2
c1cc[cH+]cc1
C1=C(Cl=ClCl=Cl1)C2=ClCl=ClCl=Cl2
[Cl]1[Cl][Cl]C([Cl][Cl]1)C2[Cl][Cl][Cl][Cl][Cl]2
I want to query out compounds containing O with more than two bonds. for example,
CCCCCCCCCCCCO[O]([O-])(=O)=O
CCCCCCCCCCC([o-])=O
When I use jcsearch, I can use a group of similar command lines together to query what I want,
jcsearch -q "*-Cl-*" -f smiles "C1CCC(CC1)C2CCC[Cl]C2"
jcsearch -q "*=Cl" -f smiles "c1ccc(cc1)C2=CC=ClC=Cl2"
etc.
But I'd like to know can I use a single command line to do the whole thing? If there is one, that would be great!
Thanks.
Jeff
I have troubles in trying to query some SMILES string with special patterns . Here are two example,
I want to query out compounds containing halogen (F,Cl,Br,I) with more than one bond. for example,
C1CCC(CC1)C2CCC[Cl]C2
c1ccc(cc1)C2=CC=ClC=Cl2
c1ccc(cc1)C2=CCl=CC=Cl2
c1ccc(cc1)C2=ClC=CC=Cl2
C1=CC=C(Cl=C1)C2=CC=CC=Cl2
C1CCC([Cl]C1)C2CCCC[Cl]2
c1cc[cH+]cc1
C1=C(Cl=ClCl=Cl1)C2=ClCl=ClCl=Cl2
[Cl]1[Cl][Cl]C([Cl][Cl]1)C2[Cl][Cl][Cl][Cl][Cl]2
I want to query out compounds containing O with more than two bonds. for example,
CCCCCCCCCCCCO[O]([O-])(=O)=O
CCCCCCCCCCC([o-])=O
When I use jcsearch, I can use a group of similar command lines together to query what I want,
jcsearch -q "*-Cl-*" -f smiles "C1CCC(CC1)C2CCC[Cl]C2"
jcsearch -q "*=Cl" -f smiles "c1ccc(cc1)C2=CC=ClC=Cl2"
etc.
But I'd like to know can I use a single command line to do the whole thing? If there is one, that would be great!
Thanks.
Jeff