nucleotide
Version:
Deal with nucleotides and molecular formula
16 lines • 617 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addThreeTerm = addThreeTerm;
function addThreeTerm(mfs, threeTerm, i, options) {
if (options.w)
mfs.push(`HO${threeTerm}$w${i}`); // neutral ok
if (options.x)
mfs.push(`H-1${threeTerm}$x${i}`); // neutral ok
if (options.y)
mfs.push(`O-2P-1${threeTerm}$y${i}`); // neutral ok
if (options.z)
mfs.push(`O-3H-2P-1${threeTerm}$z${i}`); // neutral ok
if (options.zch2)
mfs.push(`O-3H-4C-1P-1${threeTerm}$z${i}-CH2`); // TODO to confirm
}
//# sourceMappingURL=addThreeTerm.js.map