First download the latest version of the plain text tab delimited files. This should include both the main thesaurus file and the cross mapping file
Download the file
wget https://evs.nci.nih.gov/ftp1/NCI_Thesaurus/Thesaurus.FLAT.zip
unzip Thesaurus.FLAT.zip
rm Thesaurus.FLAT.zip
This is a headerless tab delimited file with the following format
- code
- concept IRI
- parents
- synonyms
- definition
- display name
- concept status
- semantic type
- concept in subset
Next use the general file loader to load the NCIt terms
node bin/load.js file ncit Thesaurus.txt
Now download the FDA cross-mapping reference file
wget https://evs.nci.nih.gov/ftp1/FDA/UNII/FDA-UNII_NCIt_Subsets.txt
Then, after you have loaded the FDA-SRS data (if you are planning to load it) load the cross-reference mapping data
node bin/load.js file ncitFdaXref FDA-UNII_NCIt_Subsets.txt