Skip to content

Commit 3b43a9d

Browse files
committed
revise README for dailymed indexing source
1 parent e0e8b0b commit 3b43a9d

File tree

1 file changed

+15
-16
lines changed
  • linkedSPLs/LinkedSPLs-update

1 file changed

+15
-16
lines changed

linkedSPLs/LinkedSPLs-update/README

+15-16
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,9 @@ Put in folder at "bio2rdf/linkedSPLs/LinkedSPLs-update/data/dailymed-mappings/"
100100

101101
Download pharmacologic_class_indexing_spl_files.zip from http://dailymed.nlm.nih.gov/dailymed/spl-resources-all-indexing-files.cfm
102102

103-
Put in folder at "bio2rdf/linkedSPLs/LinkedSPLs-update/data/dailymed-indexings/"
103+
Put in folder at "bio2rdf/linkedSPLs/LinkedSPLs-update/data/dailymed-indexings/pharmacologic_class_indexing_spl_files"
104104

105-
unzip XMLs to folder "pharmacologic_class_indexing_spl_files"
106-
107-
$ cd pharmacologic_class_indexing_spl_files; unzip \*.zip; rm *.zip
105+
$ unzip pharmacologic_class_indexing_spl_files.zip -d pharmacologic_class_indexing_spl_files
108106

109107
--------------------------------------------------------
110108
FDA (Preferred terms, UNIIs):
@@ -118,9 +116,9 @@ Downloads UNII List ('UNIIs <DATE> Names.txt' as UNII lists)
118116
(2) UNIIs_Records
119117
Downloads UNII Data ('UNIIs <DATE> Records.txt' as UNII records)
120118

121-
Keep in directory LinkedSPLs-update/data/FDA
122-
123-
(replace whitespace ' ' in file name to underscore '_')
119+
Put in directory LinkedSPLs-update/data/FDA
120+
Unzip UNII_Data.zip and UNIIs.zip in LinkedSPLs-update/data/FDA/
121+
Replace whitespace ' ' in file names to underscore '_'
124122

125123
Edit LinkedSPLs-update/data-source.properties to reset FDA_UNII_NAMES and FDA_UNII_RECORDS
126124

@@ -130,15 +128,16 @@ Drugbank (Drug bank Id) :
130128

131129
Download from http://www.drugbank.ca/downloads
132130

133-
download drugbank.xml as drugbankX.X and keep in directory LinkedSPLs-update/data/DrugBank/drugbank.xml
131+
download and unzip drugbank.xml as drugbankX.X in directory:
132+
LinkedSPLs-update/data/DrugBank/drugbank.xml
134133

135134
--------------------------------------------------------
136135
UMLS (rxcui):
137136
--------------------------------------------------------
138137

139138
Download RXNORM mappings (full rxnorm) from UMLS at "http://www.nlm.nih.gov/research/umls/rxnorm/docs/rxnormfiles.html"
140139

141-
keep in directory: "LinkedSPLs-update/data/UMLS"
140+
Unzip and keep in directory: "LinkedSPLs-update/data/UMLS/rxnorm-full/"
142141

143142
------------------------------------------------------------------------
144143
PharmagxTable && FDAPharmgxTableToOntologyMap
@@ -152,8 +151,8 @@ put at "LinkedSPLs-update/mappings/FDA-pharmacogenetic-info-mapping/"
152151

153152
Edit data-source.properties
154153
ex.
155-
BIOMARKER = mappings/FDA-pharmacogenetic-info-mapping/biomarker-to-ontology-mapping-07242015.xlsx
156-
GENETIC= genetic-biomarker-table-update-07242015.csv
154+
BIOMARKER = mappings/FDA-pharmacogenetic-info-mapping/biomarker-to-ontology-mapping-01262017.csv
155+
GENETIC= mappings/FDA-pharmacogenetic-info-mapping/FDA_PGx_Table.csv
157156

158157
--------------------------------------------------------
159158
umlsdbmi (DronId for drug and ingredient):
@@ -164,21 +163,21 @@ Code: https://bitbucket.org/uamsdbmi/dron/src
164163
Download repository from "https://bitbucket.org/uamsdbmi/dron/downloads"
165164

166165
unzip repository and then:
167-
copy dron-rxnorm.owl at data/umasdbmi/dron-rxnorm.owl
168-
copy dron-ingredient.owl at data/umasdbmi/dron-ingredient.owl
166+
copy dron-rxnorm.owl from repository to data/umasdbmi/dron-rxnorm.owl
167+
copy dron-ingredient.owl from repository to data/umasdbmi/dron-ingredient.owl
169168

170169
dron-rxnorm.owl for drug product
171170
dron-ingredient.owl for active ingredients
172171

173-
174172
------------------------------------------------------------------------
175173
OMOP concept Id from OHDSI or query OMOP CDM V5 (GeriOMOP) by SQL query
176174
-----------------------------------------------------------------------
177175

178176
Download from "https://github.com/OHDSI/KnowledgeBase/tree/master/LAERTES/terminology-mappings/StandardVocabToRxNorm/imeds_drugids_to_rxcuis.csv"
179177

180-
OR
178+
OR query OMOP CDM vocabulary Version 5 (below example via client sqldeveloper)
181179

180+
(1) For drug product
182181
SELECT cpt.CONCEPT_ID as omopid, cpt.CONCEPT_CODE as rxcui FROM
183182
CONCEPT cpt
184183
WHERE
@@ -188,7 +187,7 @@ right click result table and export to delimited ('|' delimited, none Left or Ri
188187
save name as: clinical-drug-omopid-rxcui-<DATE>.dsv
189188
to dir: LinkedSPLs-clinicalDrug/mappings/
190189

191-
AND
190+
(2) For active ingredient
192191

193192
query OMOP CDM V5 (GeriOMOP) by SQL query below:
194193
SELECT cpt.CONCEPT_ID as omopid, cpt.CONCEPT_CODE as rxcui FROM

0 commit comments

Comments
 (0)