|
171 | 171 |
|
172 | 172 | <target name ="check-mapping-sources">
|
173 | 173 |
|
174 |
| - <property name="datasource" value="${FDA_UNII_NAMES},${FDA_UNII_RECORDS},${DRUGBANK_XML},${PG_CLASS_INDEXING_SPLS},${RXNORM_SETID},${RXNCONSO_RRF},${RXNORM_FULL_SCHEMA},${DRON_RXCUI_INGREDIENT},${DRON_RXNORM_DRUG},${ERROR_LOG}"/> |
| 174 | + <property name="datasource" value="${FDA_UNII_NAMES},${FDA_UNII_RECORDS},${DRUGBANK_XML},${PG_CLASS_INDEXING_SPLS},${RXNORM_SETID},${RXNCONSO_RRF},${RXNORM_FULL_SCHEMA},${DRON_RXCUI_INGREDIENT},${DRON_RXCUI_INGREDIENT},${DRON_RXCUI_DRUG},${ERROR_LOG}"/> |
175 | 175 | <filelist id="data.sources" dir="." files="${datasource}" />
|
176 | 176 |
|
177 | 177 | <restrict id="missing.files">
|
|
232 | 232 | <!-- <antcall target="load-FDAPharmgxTable" /> -->
|
233 | 233 | <!-- <antcall target="load-FDAPharmgxTableToOntologyMap" /> -->
|
234 | 234 |
|
235 |
| - <!-- <antcall target="load-DrOn_RXCUI_DRUG" /> --> |
236 |
| - <!-- <antcall target="load-DrOn_RXCUI_INGREDIENT" /> --> |
| 235 | + <!-- <antcall target="load-DrOn_RXCUI_DRUG" /> --> |
| 236 | + <!-- <antcall target="load-DrOn_RXCUI_INGREDIENT" /> --> |
237 | 237 |
|
238 |
| - <!-- <antcall target="load-OMOPId-RXCUIs-from-OHDSI" /> --> |
| 238 | + <!-- <antcall target="load-OMOPId-RXCUIs-from-OHDSI" /> --> |
239 | 239 |
|
240 | 240 | <antcall target="set.timestamp">
|
241 | 241 | <param name="message" value="updated all mappings in ${mysql-schema}" />
|
|
327 | 327 | </java>
|
328 | 328 |
|
329 | 329 | <!-- old apporach that query bioportal -->
|
330 |
| - <exec executable="python" failonerror="true"> |
331 |
| - <arg line="${PT-UNII-ChEBI-mapping}/getChebiMappingsFromJSON.py data/FDA/FDAPreferredSubstanceToUNII.txt" /> |
332 |
| - <redirector append="true"> |
333 |
| - <outputmapper type="merge" to="${PT-UNII-ChEBI-mapping}/UNIIToChEBI.txt"/> |
334 |
| - <errormapper type="merge" to="${ERROR_LOG}"/> |
335 |
| - </redirector> |
336 |
| - </exec> |
| 330 | + <!-- <exec executable="python" failonerror="true"> --> |
| 331 | + <!-- <arg line="${PT-UNII-ChEBI-mapping}/getChebiMappingsFromJSON.py data/FDA/FDAPreferredSubstanceToUNII.txt" /> --> |
| 332 | + <!-- <redirector append="true"> --> |
| 333 | + <!-- <outputmapper type="merge" to="${PT-UNII-ChEBI-mapping}/UNIIToChEBI.txt"/> --> |
| 334 | + <!-- <errormapper type="merge" to="${ERROR_LOG}"/> --> |
| 335 | + <!-- </redirector> --> |
| 336 | + <!-- </exec> --> |
337 | 337 |
|
338 | 338 | <antcall target="set.timestamp">
|
339 | 339 | <param name="message" value="mappings of FDA preferred term and ChEBI is created at ${PT-UNII-ChEBI-mapping}/UNIIToChEBI.txt" />
|
|
868 | 868 | </classpath>
|
869 | 869 | <transaction>
|
870 | 870 | truncate FDAPharmgxTableToOntologyMap;
|
871 |
| - LOAD DATA LOCAL INFILE "${BIOMARKER}" INTO TABLE FDAPharmgxTableToOntologyMap FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES(FDAReferencedSubgroup,HGNCGeneSymbol,Synonymns,AlleleVariant,Pharmgkb,URI,Ontology,CuratorComments); |
| 871 | + LOAD DATA LOCAL INFILE "${BIOMARKER}" INTO TABLE FDAPharmgxTableToOntologyMap FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' IGNORE 1 LINES(FDAReferencedSubgroup,HGNCGeneSymbol,Synonymns,AlleleVariant,Pharmgkb,URI,Ontology,CuratorComments); |
872 | 872 | </transaction>
|
873 | 873 | </sql>
|
874 | 874 |
|
|
0 commit comments