Comparing version 1.3.1 to 1.4.0
{ | ||
"name": "peptide", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "Peptide", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "peptide", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "Peptide", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,2 +8,13 @@ 'use strict'; | ||
function chargePeptide(mf, options) { | ||
if (Array.isArray(mf)) { | ||
for (var i=0; i<mf.length; i++) { | ||
mf[i]=chargeOnePeptide(mf[i], options); | ||
} | ||
return mf; | ||
} else { | ||
return chargeOnePeptide(mf, options); | ||
} | ||
} | ||
function chargeOnePeptide(mf, options) { | ||
var options=options || {}; | ||
@@ -10,0 +21,0 @@ if (options.pH === undefined) options.pH=0; |
@@ -5,2 +5,12 @@ 'use strict'; | ||
/* | ||
Iotuibs: | ||
* minMissed (default: 0) | ||
* maxMissed (default: 0) | ||
* minResidue: 0; | ||
* maxResidue: infinity | ||
* enzyme: chymotrypsin, trypsin, glucph4, glucph8, thermolysin, cyanogenbromide : Mandatory, no default value ! | ||
*/ | ||
function digestSequence(sequence, options) { | ||
@@ -7,0 +17,0 @@ var options=options || {}; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24556
684
1