Skip to content

Commit

Permalink
rescoring is working but xl_fdr should be added
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafa Kalhor committed Aug 7, 2023
1 parent e8c0ea5 commit d8ca8a5
Show file tree
Hide file tree
Showing 5 changed files with 821 additions and 275 deletions.
8 changes: 8 additions & 0 deletions spectrum_fundamentals/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@
DOUBLE_CHARGED_MASK = np.tile([0, 1, 0, 0, 1, 0], SEQ_LEN - 1)
TRIPLE_CHARGED_MASK = np.tile([0, 0, 1, 0, 0, 1], SEQ_LEN - 1)

B_ION_MASK_XL = np.tile([0, 0, 0, 1, 1, 1], (SEQ_LEN - 1)*2)
Y_ION_MASK_XL = np.tile([1, 1, 1, 0, 0, 0], (SEQ_LEN - 1)*2)
SINGLE_CHARGED_MASK_XL = np.tile([1, 0, 0, 1, 0, 0], (SEQ_LEN - 1)*2)
DOUBLE_CHARGED_MASK_XL = np.tile([0, 1, 0, 0, 1, 0], (SEQ_LEN - 1)*2)
TRIPLE_CHARGED_MASK_XL = np.tile([0, 0, 1, 0, 0, 1], (SEQ_LEN - 1)*2)




SHARED_DATA_COLUMNS = ["RAW_FILE", "SCAN_NUMBER"]
META_DATA_ONLY_COLUMNS = [
Expand Down
Loading

0 comments on commit d8ca8a5

Please sign in to comment.