Comparing version 1.4.2 to 1.5.0
{ | ||
"name": "peptide", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "Peptide", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "peptide", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "Peptide", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -38,4 +38,15 @@ # peptide | ||
#### allowNeutralLoss(mf, options) | ||
Allow neutral loss : | ||
- H2O for S, T, E, D residues | ||
- NH3 for R, K, Q, N residues | ||
The residues may not be modified. | ||
__Arguments__ | ||
* `mf` - string with a molecular formula to charge | ||
#### generatePeptideFragments(mf, [options]) | ||
@@ -42,0 +53,0 @@ |
@@ -6,2 +6,3 @@ 'use strict'; | ||
var chargePeptide = require('./chargePeptide'); | ||
var allowNeutralLoss = require('./allowNeutralLoss'); | ||
var splitPeptide = require('./splitPeptide'); | ||
@@ -94,4 +95,4 @@ var digestPeptide = require('./digestPeptide'); | ||
exports.chargePeptide = chargePeptide; | ||
exports.allowNeutralLoss = allowNeutralLoss; | ||
function aa1To3(code) { | ||
@@ -98,0 +99,0 @@ for (var i = 0; i < aa.length; i++) { |
25678
17
709
149