Noble-Lab / casanovo

De Novo Mass Spectrometry Peptide Sequencing with a Transformer Model
https://casanovo.readthedocs.io
Apache License 2.0
90 stars 31 forks source link

Implement bidirectional decoding #320

Open wsnoble opened 3 months ago

wsnoble commented 3 months ago

Following NovoB, implement a bidirectional decoder, which consists of two decoders operating from left-to-right and right- to-left. After the two decoders have made complete predictions, the one with the higher score is reported.

wsnoble commented 3 months ago

As per Wout, to implement this, have two separate models in the model runner. They give separate predictions and then do a post hoc selection.