dot-CtermPepCut: Make Named Character Vector Of Sequential C-Terminal...

.CtermPepCutR Documentation

Make Named Character Vector Of Sequential C-Terminal Fragments

Description

Make named character vector of sequential C-terminal fragments.

Usage

.CtermPepCut(
  pe,
  mi,
  se1 = ".",
  se2 = "-",
  mainName = NULL,
  indexOffs = NULL,
  silent = FALSE,
  debug = FALSE,
  callFrom = NULL
)

Arguments

pe

(character, length=1) sequence to be cut in sequential way

mi

(integer) min number of AA residues for considering peptide fragments; should be <= length(pe) (otherwise the full length of 'pe' ALWAYS returned !)

se1

(character, length=1) separators for adding numbers to specify partial/fragment locations

se2

(character, length=1) separators for adding numbers to specify partial/fragment locations

mainName

(character, length=1)

indexOffs

(logical) offset to add for custom numbering in names (numeric, length=1), ie '1' will already increase by +1

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allow easier tracking of messages produced

Value

This function returns a numeric vector with mass(es) and sequence in name(s)

See Also

more flexible/sophisticated see .termPepCut; makeFragments; convAASeq2mass

Examples

## Ubiquitin example
P0CG48 <- "MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG"  
cut1 <- .CtermPepCut(P0CG48, mi=3, mainName="P0CG48")
head(cut1); tail(cut1)


wrTopDownFrag documentation built on June 8, 2025, 1:34 p.m.