protein_digest
In-silico protease digestion of one protein sequence (trypsin with the proline rule, trypsin without it, Lys-C, chymotrypsin, Glu-C, CNBr, or a custom rule) with up to 5 missed cleavages: every peptide with its positions, formula, monoisotopic and average mass and m/z at charges 1 to 3, the mass balance of the complete digest, and sequence coverage by peptides in a mass window.
Masses come from element counts and IUPAC element masses, never from a residue mass table.
- Field
- Mass spectrometry
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.05 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001hand count, trypsin with the proline rule: MAKRPGLKFRPSKKEDRAWK cuts to MAK|RPGLK|FRPSK|K|EDR|AWK (R-P and R-P bonds kept); 2 missed cleavages give 6+5+4 = 15 peptides; masses are hand formulas x IUPAC element masses (closed form, rel 10⁻⁹); pieces sum to protein + 5 H₂Opassed
cleavage_sites= 55lockedexact matchn_pieces= 66lockedexact matchn_peptides= 1515lockedexact matchlimit_peptides= ["MAK", "RPGLK", "FRPSK", "K", "EDR", "AWK"]["MAK", "RPGLK", "FRPSK", "K", "EDR", "AWK"]lockedexact matchprotein_formula= C₁₀₉H₁₈₁N₃₅O₂₆SC₁₀₉H₁₈₁N₃₅O₂₆Slockedexact matchprotein_mono_mass_Da2428.36 ± 2.4 × 10⁻⁶2428.36lockedunder 0.01 % of the tolerance usedsum_limit_mono_mass_Da2518.42 ± 2.5 × 10⁻⁶2518.42lockedunder 0.01 % of the tolerance usedmass_balance_residual_Da0 ± 10⁻⁸0lockedunder 0.01 % of the tolerance usedpeptides.2.sequence= MAKRPGLKFRPSKmisseddifferspeptides.2.missed_cleavages= 2misseddifferspeptides.2.mono_mass_Da= 1514.886772, within 1.000000 × 10⁻⁹ relativereading not recorded on this pagepeptides.2.mz2= 758.450663, within 1.000000 × 10⁻⁹ relativereading not recorded on this pager0002angiotensin II DRVYIHPF intact (protease none): published formula C₅₀H₇₁N₁₃O₁₂; M = 1045.534515 Da from IUPAC element masses (closed form, rel 10⁻⁹); [M+H]+ = 1046.5418, the textbook MS calibrant value (abs 10⁻⁴, 4 decimals); m/z at z = 2, 3 from (M + z
m_p)/z with CODATAm_p; average mass from standard atomic weightspassedprotein_formula= C₅₀H₇₁N₁₃O₁₂C₅₀H₇₁N₁₃O₁₂lockedexact matchn_pieces= 11lockedexact matchprotein_mono_mass_Da1045.53 ± 10⁻⁶1045.53lockedunder 0.01 % of the tolerance usedprotein_avg_mass_Da1046.18 ± 10⁻⁶1046.18lockedunder 0.01 % of the tolerance usedpeptides.0.mz1= 1046.5418, within 1.000000 × 10⁻⁴reading not recorded on this pagepeptides.0.mz2= 523.774534, within 1.000000 × 10⁻⁹ relativereading not recorded on this pagepeptides.0.mz3= 349.518781, within 1.000000 × 10⁻⁹ relativereading not recorded on this pager0003peptide count n + (n-1) + ... + (n-m): Lys-C on (GK)x10 gives n = 10 pieces, m = 3 gives 10+9+8+7 = 34; GK = Gly + Lys - H₂O = C₈H₁₇N₃O₃ and GKGK by hand formula x IUPAC element masses (closed form, rel 10⁻⁹)passed
cleavage_sites= 99lockedexact matchn_pieces= 1010lockedexact matchn_peptides= 3434lockedexact matchpeptides.0.formula= C₈H₁₇N₃O₃misseddifferspeptides.0.mono_mass_Da= 203.126991, within 1.000000 × 10⁻⁹ relativereading not recorded on this pagepeptides.1.mono_mass_Da= 388.243418, within 1.000000 × 10⁻⁹ relativereading not recorded on this pagepeptides.3.sequence= GKGKGKGKmisseddiffersmass_balance_residual_Da0 ± 10⁻⁸0lockedunder 0.01 % of the tolerance usedr0004CNBr on GAMSLMK: cuts after each Met, which becomes homoserine lactone (- CH₄S): GA-Hsl = C₉H₁₅N₃O₄, SL-Hsl = C₁₃H₂₃N₃O₅, K; pieces sum = M + 2 H₂O - 2 CH₄S (closed form, element masses, rel 10⁻⁹)passed
n_pieces= 33lockedexact matchlimit_peptides= ["GAM", "SLM", "K"]["GAM", "SLM", "K"]lockedexact matchpeptides.0.formula= C₉H₁₅N₃O₄misseddifferspeptides.0.mono_mass_Da= 229.106256, within 1.000000 × 10⁻⁹ relativereading not recorded on this pagepeptides.1.formula= C₁₃H₂₃N₃O₅misseddifferspeptides.1.mono_mass_Da= 301.163771, within 1.000000 × 10⁻⁹ relativereading not recorded on this pageprotein_mono_mass_Da736.361 ± 7.4 × 10⁻⁷736.361lockedunder 0.01 % of the tolerance usedsum_limit_mono_mass_Da676.376 ± 6.8 × 10⁻⁷676.376lockedunder 0.01 % of the tolerance usedmass_balance_residual_Da0 ± 10⁻⁸-1.13687 × 10⁻¹³lockedunder 0.01 % of the tolerance usedr0005hand count, chymotrypsin (after F, Y, W, L, not before P) on AFPAYGWLE: AFPAY|GW|L|E (F-P kept), 4 pieces; GW mass by hand formula x element masses (rel 10⁻⁹)passed
n_pieces= 44lockedexact matchlimit_peptides= ["AFPAY", "GW", "L", "E"]["AFPAY", "GW", "L", "E"]lockedexact matchpeptides.1.mono_mass_Da= 261.111341, within 1.000000 × 10⁻⁹ relativereading not recorded on this pager0006hand count, Glu-C in phosphate (after D, E, not before P) on AEPGEKDE: AEPGE|KD|E (E-P kept), 3 pieces; AEPGE by hand formula x element masses (rel 10⁻⁹)passed
n_pieces= 33lockedexact matchlimit_peptides= ["AEPGE", "KD", "E"]["AEPGE", "KD", "E"]lockedexact matchpeptides.0.mono_mass_Da= 501.207092, within 1.000000 × 10⁻⁹ relativereading not recorded on this pager0007coverage by hand: of the tryptic pieces of MAKRPGLKFRPSKKEDRAWK only RPGLK (569.365 Da) and FRPSK (633.360 Da) lie in 500-700 Da, so 10 of 20 residues are covered = 50 % (exact count)passed
n_in_window= 22lockedexact matchcovered_residues= 1010lockedexact matchcoverage_pct50 ± 10⁻¹²50lockedunder 0.01 % of the tolerance usedr0008carbamidomethyl Cys (iodoacetamide adds C₂H₃NO): ACK intact = C₁₄H₂₇N₅O₅S, mass by hand formula x IUPAC element masses (closed form, rel 10⁻⁹)passed
protein_formula= C₁₄H₂₇N₅O₅SC₁₄H₂₇N₅O₅Slockedexact matchprotein_mono_mass_Da377.173 ± 3.8 × 10⁻⁷377.173lockedunder 0.01 % of the tolerance used
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
sequence | Protein in one-letter code (20 standard letters, plus U and O), plain or one FASTA record; white space, digits and a final · are ignored. Up to 40000 residues. | ||
sequence_file | A staged FASTA or plain-text file with one protein, used when sequence is empty. | ||
protease | trypsin | trypsin: after K, R, not before P. trypsin_p: after K, R. lys_c: after K. chymotrypsin: after F, Y, W, L, not before P. chymotrypsin_high: after F, Y, W, not before P. glu_c: after E, not before P. glu_c_de: after D, E, not before P. cnbr: after M. none: the intact chain. custom: cut_after and not_before. | |
cut_after | protease = custom only: residues the cut follows, e.g. "KR". | ||
not_before | protease = custom only: residues that block the cut when they come next, e.g. "P". | ||
missed_cleavages | 1 | 0 | Most cleavage sites one peptide may span uncut. |
mass_min_Da | Da | 500 | Lower edge of the monoisotopic neutral mass window used for coverage. |
mass_max_Da | Da | 5000 | Upper edge of the mass window (greater than mass_min_Da). |
cys | free | Fixed Cys chemistry: free thiol, + C₂H₃NO (iodoacetamide) or + C₂H₂O₂ (iodoacetic acid). | |
cnbr_product | homoserine_lactone | protease = cnbr: what each Met cut after becomes (lactone: - CH₄S; homoserine: - CH₄S + H₂O). |
Readings
| Name | Unit | Meaning |
|---|---|---|
protein_length | 1 | |
protein_formula | 1 | |
protein_mono_mass_Da | Da | |
protein_avg_mass_Da | Da | |
cleavage_sites | 1 | |
n_pieces | 1 | |
n_peptides | 1 | |
longest_piece_length | 1 | |
sum_limit_mono_mass_Da | Da | |
sum_limit_avg_mass_Da | Da | |
water_mono_mass_Da | Da | |
mass_balance_residual_Da | Da | |
n_in_window | 1 | |
covered_residues | 1 | |
coverage_pct | % | |
peptides_listed | 1 | |
peptides | The first 200 peptides; out/peptides.csv holds all. m/z is in thomson (Da per elementary charge), written as plain numbers. | |
files | out/peptides.csv (every peptide: positions, formula, masses, m/z 1-3, in window), out/coverage.csv (per residue: peptides in the window covering it). |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.