File Exchange

image thumbnail

Matlab InChIKey Scripts - IKextract, IKfreqFH, IKstring, and IKmusic

version 1.1.0.0 (5.88 KB) by Vincent Scalfani
A collection of scripts for working with InChIKeys (chemical identifiers).

1 Download

Updated 11 May 2017

View License

Matlab InChIKey Scripts – IKextract, IKfreqFH, IKstring, and IKmusic
IKextract, InChIKey Extract, can extract InChIKeys from chemical Structure data files (SDFs). This script was successfully used to extract over 90 million InChIKeys (unique chemical identifiers) from over 5000 PubChem SD files. Users can also extract other data from SDFs by specifying the desired SD tag.

IKfreqFH, InChIKey frequency of first hash block, extracts the first hash block of InChIKeys and sorts them by frequency. Such a method is useful for analyzing the variety of chemical connectivity in large datasets.

IKstring, InChIKey String, allows for searching for strings within InChIKeys. I use it to search the > 90 million InChIKeys in PubChem.

IKmusic, InChIKey music, creates music from InChIKeys. A unique song is created for each InChIKey (i.e. every unique chemical substance has a different song!)

Cite As

Vincent Scalfani (2020). Matlab InChIKey Scripts - IKextract, IKfreqFH, IKstring, and IKmusic (https://www.mathworks.com/matlabcentral/fileexchange/62870-matlab-inchikey-scripts-ikextract-ikfreqfh-ikstring-and-ikmusic), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!