UNPKG

sequaljs

Version:

JavaScript/TypeScript library for parsing and manipulating ProForma peptide sequence notation

12 lines 546 B
/** * Calculates the mass of a sequence. * * @param seq - The sequence of amino acids. * @param massDict - A dictionary of masses for the amino acids. * @param NTerminus - The mass of the N-terminus. * @param OTerminus - The mass of the O-terminus. * @param withWater - Whether to include the mass of water. * @returns The mass of the sequence. */ export declare function calculateMass(seq: any[], massDict?: Record<string, number>, NTerminus?: number, OTerminus?: number, withWater?: boolean): number; //# sourceMappingURL=mass.d.ts.map