- Apelon notifies us monthly when a new version of NDFRT is available and sends us instructions for how to login to the download site.
Download
- Once there, navigate to "SPL ProjectDownloads" and select the files "NDFRT Public YYYY.MM.DD TDE", "NDFRT Public YYYY.MM.DD TDE Inferred", "NDFRT Public YYYY.MM.DD TDE ByName" and "NDFRT YYYY.MM.DD SPL"
- Now navigate to NDFRT Downloads and select "NDFRT vYYYY.MM.DDxx" full load and diff load files.
For LexEVS
- Copy NDFRT_Public_YYYY-MM-DD_TDE_ByName.zip to the private ftp at /evs/upload/NDFRT
- Notify nci-meta-l that the file is ready for processing
- When notified, download the OWL file from the private ftp and load to LexEVS
TDE files
- Copy NDFRT_Public_<date>_TDE.zip onto the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming/_Old+Misc
- Copy NDFRT_Public_<date>_TDE.zip onto the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming and rename to NDFRT_Public_All.zip
- Put a copy of NDFRT_Public_All.zip in the public ftp at cacore/EVS/NDF-RT
- Copy NDFRT_Public_<date>_TDE.zip onto the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming and rename to NDFRT_Public_All YYYY-MM-DD.zip.
- Delete the previous month's NDFRT_Public_All YYYY-MM-DD.zip from NCICB/EVS/FTP/NDF-RT/0_Incoming
- Put a copy of NDFRT_Public_All YYYY-MM-DD.zip in the public ftp at cacore/EVS/NDF-RT/archive
- Copy NDFRT_Public_<date>_TDE_inferred.zip onto the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming/_Old+Misc
- Copy NDFRT_Public_<date>_TDE_inferred.zip onto the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming and rename to NDF-RT_XML_Inferred.zip
- Put a copy of NDF-RT_XML_Inferred.zip in the public ftp at cacore/EVS/NDF-RT
- Copy NDFRT_Public_<date>_TDE_inferred.zip onto the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming and rename to NDF-RT_XML_Inferred YYYY-MM-DD.zip
- Delete the previous month's NDF-RT_XML_Inferred YYYY-MM-DD.zip from NCICB/EVS/FTP/NDF-RT/0_Incoming
- Put a copy of NDF-RT_XML_Inferred YYYY-MM-DD.zip in the public ftp at cacore/EVS/NDF-RT/Archive
- Copy the 77_full and 77_diff files to the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming
- Delete the previous month's 77_full and 77_diff files from NCICB/EVS/FTP/NDF-RT/0_Incoming
- Put a copy of each in the public ftp at cacore/EVS/NDF-RT/archive
- Put a copy of each in the public ftp at cacore/EVS/NDF-RT
- Delete the previous month's 77_full and 77_diff files from the public ftp at cacore/EVS/NDF-RT
- Extract NDFRT_Public_YYYY.MM.DD_TDE.xml from NDFRT_Public_YYYY.MM.DD_TDE.zip.
- zip NDFRT_Public_YYYY.MM.DD_TDE.xml into NDF-RT_XML.zip
- Put a copy of NDF-RT_XML.zip on the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming
- Put a copy of NDF-RT_XML.zip in the public ftp at cacore/EVS/NDF-RT
- Put a copy of NDF-RT_XML.zip on the group drive at NCICB/EVS/FTP/NDF-RT/0_Incoming and rename it NDF-RT_XML YYYY-MM-DD.zip
- Delete the previous month's NDF-RT_XML YYYY-MM-DD.zip from NCICB/EVS/FTP/NDF-RT/0_Incoming
- Put a copy of NDF-RT_XML YYYY-MM-DD.zip in the public ftp at cacore/EVS/NDF-RT/archive
Release Notes
- Extract NDFRT_Public_Edition_Release_Notes_YYYY.MM.DD.txt from NDFRT_Public_YYYY.MM.DD_TDE.zip.
- Open NDFRT_Public_Edition_Release_Notes_YYYY.MM.DD.txt in a text editor and edit to make 78 character lines and remove special characters from text.
- Save a copy as NDF-RT Public Edition Release Notes.txt
- Save a copy as NDF-RT Public Edition Release Notes YYYY-MM-DD.txt
- Put both copies onto group drive under NCICB/EVS/FTP/FDA/ndfrt/0_Incoming
- Put the dated copy onto group drive NCICB/EVS/FTP/FDA/ndfrt/Archive
- Delete the previous month's NDF-RT Public Edition Release Notes YYYY-MM-DD.txt from NCICB/EVS/FTP/FDA/ndfrt/0_Incoming
- Put both copies in the public ftp at cacore/EVS/FDA/ndfrt
- Put the dated copy in the public ftp at cacore/EVS/FDA/ndfrt/Archive
- Delete the previous month's NDF-RT Public Edition Release Notes YYYY-MM-DD.txt from the public ftp at cacore/EVS/FDA/ndfrt
- Extract NDFRT_Public_YYYY.MM.DD_NUI.txt from NDFRT_Public_YYYY.MM.DD_TDE.zip
Check to make sure each line of the file has 2 fields using the command:
gawk -F"\t" 'NF != 2' *_NUI.txt
Sort the lines and move NUIs from end to start of line using the command:
sort -f *_NUI.txt | gawk -F"\t" 'BEGIN { OFS = "\t" } { print $2, $1 }' > NDF-RT.txt
- Open in editor and convert " [" to "\t["
- Save a copy of NDF-RT.txt as NDF-RT YYYY-MM-DD.txt
- Put copies of both NDF-RT.txt and NDF-RT YYYY-MM-DD.txt on group drive NCICB/EVS/FTP/NDF-RT/0_Incoming
- Delete previous month's NDF-RT YYYY-MM-DD.txt from group drive NCICB/EVS/FTP/NDF-RT/0_Incoming
- Put copy of NDF-RT.txt on public ftp under cacore/EVS/NDF-RT
- Put copy of NDF-RT YYYY-MM-DD.txt on public ftp under cacore/EVS/NDF-RT/Archive
SPL Files
- Copy NDFRT_YYYY.MM.DD_SPL.zip to group drive EVS/FTP/FDA/ndfrt/_Old+Misc
- Extract NDFRT_YYYY.MM.DD_SPL.zip to get the 3 SPL files.
- Create header files for each of the SPL files
echo "NDF-RT Code NDF-RT Name" > MechanismOfAction.txt
echo "NDF-RT Code NDF-RT Name" > StructuralClass.txt
echo "NDF-RT Code NDF-RT Name" > PhysiologicEffect.txt - Merge the SPL files into the headers.
sort -f +1 *moa_nui.txt >> MechanismOfAction.txt
sort -f +1 *cs_nui.txt >> StructuralClass.txt
sort -f +1 *pe_nui.txt >> PhysiologicEffect.txt - Using a text editor, convert "|" to tab for all 3 SPL files and change the spaces in the column headers to tab.
- Copy the three txt files to the group drive in NCICB/EVS/FTP/FDA/ndfrt
- Copy the three txt files to the public FTP at /cacore/EVS/FDA/ndfrt
- Create dated versions of each of the 3 files of format * YYYY-MM-DD.txt
- Copy the three dated text files to the public FTP at /cacore/EVS/FDA/ndfrt/Archive
- Create header files for each of the SPL files
SPL Excel Files
- Open last month's MechanismOfAction.xls
- Delete all the data from row 2 down, leaving the column headers.
- Open this month's MechanismOfAction.txt and copy all the data from the second row down. Paste this into the MechanismOfAction.xls and save.
- Save a copy as MechanismOfAction YYYY-MM-DD.xls
- Open last month's PhysiologicEffect.xls
- Delete all the data from row 2 down, leaving the column headers.
- Open this month's PhysiologicEffect.txt and copy all the data from the second row down. Paste this into the PhysiologicEffect.xls and save.
- Save a copy as PhysiologicEffect YYYY-MM-DD.xls
- Open last month's StructuralClass.xls
- Delete all the data from row 2 down, leaving the column headers.
- Open this month's StructuralClass.txt and copy all the data from the second row down. Paste this into the StructuralClass.xls and save.
- Save a copy as StructuralClass YYYY-MM-DD.xls
- Distribute the xls files
- Copy each of the undated xls files to the group drive at NCICB\EVS\FTP\FDA\ndfrt
- Copy each of the undated xls files to the public FTP at cacore/EVS/FDA/ndfrt
- Copy each of the dated xls files to the group drive at cacore/EVS/FDA/ndfrt/Archive