-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature_test
- Loading branch information
Showing
11 changed files
with
616 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
InChI Key SMILES Occurrences | ||
VEXZGXHMUGYJMC-UHFFFAOYSA-N Cl 7206 | ||
FKNQFGJONOIPTF-UHFFFAOYSA-N [Na+] 3488 | ||
XLYOFNOQVPJJNP-UHFFFAOYSA-N O 1608 | ||
NPYPAHLBTDXSSS-UHFFFAOYSA-N [K+] 811 | ||
XLYOFNOQVPJJNP-UHFFFAOYSA-M [OH-] 791 | ||
CPELXLSAUQHCOX-UHFFFAOYSA-N Br 645 | ||
BHPQYMZQTOCNFJ-UHFFFAOYSA-N [Ca+2] 526 | ||
QAOWNCQODCNURD-UHFFFAOYSA-N OS(=O)(=O)O 510 | ||
AFVFQIVMOAPDHO-UHFFFAOYSA-N CS(=O)(=O)O 350 | ||
XMBWDFGMSWQBCA-UHFFFAOYSA-N I 326 | ||
JLVVSXFLKOJNIY-UHFFFAOYSA-N [Mg+2] 316 | ||
QGZKDVFQNNGYKY-UHFFFAOYSA-N N 300 | ||
QTBSBXVTEAMEQO-UHFFFAOYSA-N CC(=O)O 280 | ||
GPRLSGONYQIRFK-UHFFFAOYSA-N [H+] 277 | ||
REDXJYDRNCIFBQ-UHFFFAOYSA-N [Al+3] 270 | ||
VZCYOOQTPOCHFL-UPHRSURJSA-N OC(=O)/C=C\C(O)=O 259 | ||
PTFCDOFLOPIGGS-UHFFFAOYSA-N [Zn+2] 241 | ||
VEXZGXHMUGYJM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 31 |
84 changes: 84 additions & 0 deletions
84
gsrs-module-substance-example/src/main/resources/salt_data_public.tsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
InChI Key SMILES Occurrences | ||
VEXZGXHMUGYJMC-UHFFFAOYSA-N Cl 7206 | ||
FKNQFGJONOIPTF-UHFFFAOYSA-N [Na+] 3488 | ||
XLYOFNOQVPJJNP-UHFFFAOYSA-N O 1608 | ||
NPYPAHLBTDXSSS-UHFFFAOYSA-N [K+] 811 | ||
XLYOFNOQVPJJNP-UHFFFAOYSA-M [OH-] 791 | ||
CPELXLSAUQHCOX-UHFFFAOYSA-N Br 645 | ||
BHPQYMZQTOCNFJ-UHFFFAOYSA-N [Ca+2] 526 | ||
QAOWNCQODCNURD-UHFFFAOYSA-N OS(=O)(=O)O 510 | ||
AFVFQIVMOAPDHO-UHFFFAOYSA-N CS(=O)(=O)O 350 | ||
XMBWDFGMSWQBCA-UHFFFAOYSA-N I 326 | ||
JLVVSXFLKOJNIY-UHFFFAOYSA-N [Mg+2] 316 | ||
QGZKDVFQNNGYKY-UHFFFAOYSA-N N 300 | ||
QTBSBXVTEAMEQO-UHFFFAOYSA-N CC(=O)O 280 | ||
GPRLSGONYQIRFK-UHFFFAOYSA-N [H+] 277 | ||
REDXJYDRNCIFBQ-UHFFFAOYSA-N [Al+3] 270 | ||
VZCYOOQTPOCHFL-UPHRSURJSA-N OC(=O)/C=C\C(O)=O 259 | ||
PTFCDOFLOPIGGS-UHFFFAOYSA-N [Zn+2] 241 | ||
VEXZGXHMUGYJMC-UHFFFAOYSA-M [Cl-] 240 | ||
FEWJPZIEWOKRBE-JCYAYHJZSA-N [C@@H]([C@H](C(=O)O)O)(C(=O)O)O 214 | ||
NBIIXXVUZAFLBC-UHFFFAOYSA-N OP(=O)(O)O 212 | ||
JPVYNHNX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LZRMCYVCSSEQC-UHFFFAOYSA-N [Cd+2] 43 | ||
LENZDBCJOHFCAS-UHFFFAOYSA-N C(C(CO)(CO)N)O 41 | ||
LCKIEQZJEYYRIY-UHFFFAOYSA-N [Ti+4] 39 | ||
BQPIGGFYSBELGY-UHFFFAOYSA-N [Hg+2] 39 | ||
NBIIXXVUZAFLBC-UHFFFAOYSA-K O=P([O-])([O-])[O-] 39 | ||
MUBZPKHOEPUJKR-UHFFFAOYSA-L C(=O)(C(=O)[O-])[O-] 39 | ||
GLUUGHFHXGJENI-UHFFFAOYSA-N C1CNCCN1 39 | ||
VEQPNABPJHWNSG-UHFFFAOYSA-N [Ni+2] 38 | ||
RJOJUSXNYCILHH-UHFFFAOYSA-N [Gd+3] 38 | ||
RWSOTUBLDIXVET-UHFFFAOYSA-M [SH-] 37 | ||
DTQVDTLACAAQTR-UHFFFAOYSA-N C(=O)(C(F)(F)F)O 37 | ||
JOXIMZWYDAKGHI-UHFFFAOYSA-M Cc1ccc(cc1)S(=O)(=O)[O-] 35 | ||
XQTIWNLDFPPCIU-UHFFFAOYSA-N [Ce+3] 34 | ||
CRBHXDCYXIISFC-UHFFFAOYSA-N C[N+](C)(C)CC[O-] 33 | ||
KIWBPDUYBMNFTB-UHFFFAOYSA-M CCOS(=O)(=O)[O-] 33 | ||
JAWGVVJVYSANRY-UHFFFAOYSA-N [Co+3] 32 | ||
ZMZDMBWJUHKJPS-UHFFFAOYSA-N C(#N)S 32 | ||
RGHNJXZEOKUKBD-SQOUGZDYSA-N C([C@H]([C@H]([C@@H]([C@H](C(=O)O)O)O)O)O)O 31 | ||
CKLJMWTZIZZHCS-REOHCLBHSA-L C([C@@H](C(=O)[O-])N)C(=O)[O-] 31 |
59 changes: 59 additions & 0 deletions
59
gsrs-module-substance-example/src/test/java/example/chem/SaltRemovalTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package example.chem; | ||
|
||
import example.GsrsModuleSubstanceApplication; | ||
import gov.nih.ncats.molwitch.Chemical; | ||
|
||
import gsrs.module.substance.utils.ChemicalUtils; | ||
import gsrs.substances.tests.AbstractSubstanceJpaFullStackEntityTest; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
import org.junit.jupiter.params.ParameterizedTest; | ||
import org.junit.jupiter.params.provider.Arguments; | ||
import org.junit.jupiter.params.provider.MethodSource; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
import org.springframework.security.test.context.support.WithMockUser; | ||
|
||
import java.io.*; | ||
import java.util.stream.Stream; | ||
|
||
@Slf4j | ||
@SpringBootTest(classes = GsrsModuleSubstanceApplication.class) | ||
@WithMockUser(username = "admin", roles = "Admin") | ||
class SaltRemovalTest extends AbstractSubstanceJpaFullStackEntityTest { | ||
|
||
@Autowired | ||
private ChemicalUtils chemicalUtils; | ||
|
||
@Test | ||
void testRemoveSalts() throws IOException { | ||
|
||
String inputSmiles = "C[C@H]1[C@@]2([H])CC[C@@]3([H])[C@]4([H])CC=C5C[C@H](CC[C@]5(C)[C@@]4([H])CC[C@]23CN1C)N(C)C.Br.Br"; | ||
Chemical chemical = Chemical.parseMol(inputSmiles); | ||
double massBefore = chemical.getMass(); | ||
Chemical cleaned = chemicalUtils.stripSalts(chemical); | ||
double massAfter = cleaned.getMass(); | ||
log.warn("formula before: {}; after: {}", chemical.getFormula(), cleaned.getFormula()); | ||
Assertions.assertTrue(massAfter < massBefore, String.format("formula before: %s; after: %s", chemical.getFormula(), cleaned.getFormula())); | ||
} | ||
|
||
@ParameterizedTest | ||
@MethodSource("inputData") | ||
void testSaltRemoval(String smiles, int atomCountChange) throws IOException { | ||
Chemical chemical = Chemical.parseMol(smiles); | ||
Chemical cleaned = chemicalUtils.stripSalts(chemical); | ||
Assertions.assertEquals(atomCountChange, (chemical.getAtomCount() - cleaned.getAtomCount()), | ||
String.format("formula before: %s; after: %s", chemical.getFormula(), cleaned.getFormula())); | ||
} | ||
|
||
private static Stream<Arguments> inputData() { | ||
return Stream.of( | ||
Arguments.of("C[C@H]1[C@@]2([H])CC[C@@]3([H])[C@]4([H])CC=C5C[C@H](CC[C@]5(C)[C@@]4([H])CC[C@]23CN1C)N(C)C.Br.Br", 2), | ||
Arguments.of("CCC1C(Cc2cncn2C)COC1=O.Cl", 1), | ||
Arguments.of("c1cc(ccc1C(=C2C=CC(=O)C=C2)c3ccc(cc3)[O-])[O-].[Na+].[Na+]", 2), | ||
Arguments.of("[F-][Ti+4]([F-])([F-])([F-])([F-])[F-].[Li+].[Li+]", 2), | ||
Arguments.of("Cc1c(CCN2CCC(=C(c3ccc(cc3)F)c4ccc(cc4)F)CC2)c(=O)n5ccsc5n1.[C@@H]([C@H](C(=O)O)O)(C(=O)O)O", 10) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -586,3 +586,4 @@ gsrs.importAdapterFactories.substances = | |
} | ||
] | ||
|
||
gsrs.substance.structures.saltFilePath=salt_data_public.tsv |
15 changes: 15 additions & 0 deletions
15
...e-substances-core/src/main/java/gsrs/module/substance/StructureHandlingConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package gsrs.module.substance; | ||
|
||
import lombok.Data; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
@ConfigurationProperties("gsrs.substance.structures") | ||
@Data | ||
@Slf4j | ||
public class StructureHandlingConfiguration { | ||
|
||
private String saltFilePath; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.