Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

peptide

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peptide - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

src/allowNeutralLoss.js

2

bower.json
{
"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++) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc