Table 2 The most commonly used Pyrfume functions for creating and working with archives.

From: Pyrfume: A window to the world’s olfactory data

Function

Module

Arguments

Returns

list_archives()

base

 

List of Pyrfume archives

show_files()

base

archive name

List of archive files in manifest

load_manifest()

base

archive name

Contents of archive manifest

load_data()

base

relative path to archive data file

Contents of data file

get_cid()

odorants

identifier (CAS, name, SMILES, etc)

PubChem Compound ID (CID)

get_cids()

odorants

list of identifiers

Corresponding list of CIDs

from_cids()

odorants

list of CIDs

List of dictionaries containing CID, molecular weight, isomeric SMILES, IUPAC name, and common name for each compound