The LIB2NIST converter can convert data
From:
Into:
It is possible to convert a subset of spectra, as specified by ID numbers or CAS registry numbers.
Files SYNON.MSP and SYNON.JDX are examples of the converter input files to illustrate how compound name synonyms can be added to the user mass spectral library.
Synonyms in the user libraries are supported by NIST MS Search Program starting from version 1.7.
To export synonyms to NIST user library or .MSP format make sure the “Include Synonyms” option is selected.
Synonyms cannot be exported to a HP-JCAMP file.
Molecular structures located in separate MOLfiles can be associated with the spectra located in a single .MSP file and converted into the user library.
To achieve this the MOLfiles should have predefined names and be located in the folder with same name as the name of the input .MSP file and extension .MOL.
To associate a MOLfile with a compound having, for example, CAS reg. number 50555, the MOLfile should have name s50555.mol
To associate a MOLfile with a compound having, for example, ID=15 (15 is either an ordering number of the spectrum in the .MSP file or the spectrum in the .MSP file has line “ID: 15” or a spectrum in the input library has ID = 15), the MOLfile should have the name id15.mol
The folder containing MOLfiles should be located in the folder where .MSP file is. For example, if .MSP file is C:\NIST11\MYSPECS.MSP then the folder with MOLfiles MUST be C:\NIST11\MYSPECS.MOL and contain files like C:\NIST11\MYSPECS.MOL\s50555.mol C:\NIST11\MYSPECS.MOL\id15.mol
When converting any .MSP file the converter always looks for a folder with a name derived from the name of the .MSP file. In the case 2 MOLfiles are associated with the particular spectrum (one by CAS reg. number, another by ID) the converter ignores the former and picks up the latter MOLfile.
The names and locations described above are exactly the same as those the converter would produce when converting to a text file in .MSP format with structures saved in MOLfiles.
Files TEXTSAMP.MSP and STRUSAMP.SDF are sample input text files for the LIB2NIST converter. They represent two of the text file types recognized by the present version of the LIB2NIST library converter.
TEXTSAMP.MSP is self-explanatory. In addition to a mass spectrum and a name, this kind of file may contain a CAS rn, a formula, and a nominal molecular weight.
Please note the STRUSAMP.SDF format is rather strict. In consists of a series of MOLfiles. A record for each compound is made out of 5 parts, the first of them (structure) may have no atoms or bonds:
Please note there are no blank lines between “$$$$” line and the first line of the next record.
STRUSAM2.SDF was created by Lib2NIST from STRUSAMP.SDF. It is an example of an alternate SDF file format. This format is also recognized by the LIB2NIST.
msms_spectrum.MSP and msms_spectrum.SDF are examples of MSP and SDF files containg MS/MS spectra. A MS/MS spectrum file must have precursor m/z value. Examples of MSP files containing peptide MS/MS spectra may be found here: http://peptide.nist.gov. This site uses term “Library” for MSP files.
The LIB2NIST mass spectral data conversion program consists of the following files (which are contained in a ZIP archive): lib2nist.exe the conversion program ctNT66.dll part of conversion program zlib1.dll part of conversion program hptrans.tbl transliteration table used by Lib2NIST synon.jdx JCAMP-DX file example, includes synonyms synon.MSP MSP file example, includes synonyms Textsamp.msp compound MSP file example Strusamp.sdf SDFile chemical structure example Strusam2.sdf alternate SDFile format msms_spectrum.MSP example of a MS/MS spectrum msms_spectrum.SDF example of a MS/MS spectrum CMDLINE.pdf explains LIB2NIST command line options Readme_lib2NIST.txt description of the program