lazear / sage

Proteomics search & quantification so fast that it feels like magic
https://sage-docs.vercel.app
MIT License
201 stars 38 forks source link

Initial tests for non-specific digest (#37) #40

Closed lazear closed 1 year ago

lazear commented 1 year ago

This PR adds support for the items in https://github.com/lazear/sage/issues/37

Notably, min_len, max_len and missed_cleavages still apply to all of the above (however, restrict and c_terminal are ignored for non-specific or no- digest) - the following configuration will produce all possible peptides between 5 and 7 AA's long:

    "enzyme": {
      "missed_cleavages": 0, 
      "min_len": 5, 
      "max_len": 7,
      "cleave_at": "", 
      "restrict": "P" 
      "c_terminal": true
    }