Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify custom residues to train Casanovo from scratch? #298

Closed
irleader opened this issue Feb 18, 2024 · 1 comment
Closed

How to specify custom residues to train Casanovo from scratch? #298

irleader opened this issue Feb 18, 2024 · 1 comment
Labels
question Further information is requested

Comments

@irleader
Copy link

Since release of version 3.5.0, "Specifying custom residues to retrain Casanovo is now possible."

  1. I assume retrain means train Casanovo from scratch, it is still not possible to add extra residues to train Casanovo from a pretrained weights, am I right?
  2. Are there any other actions I shall do apart from modifying the residues part in config.yaml? e.g., other than the residues specified in original config.yaml, I added "K+42.022": 170.11676305 #Lysine Guandination 128.094963050 + 42.02180. Is it all I need to do to specify custom residues?
  3. Actually, I have been adding/removing residues to train Casanovo from scratch since version 3.1.0, it seems to work well. So, what has been changed between v3.5.0 and previous v3.x.0 regarding specifying custom residues?

Thanks!

@bittremieux bittremieux added the question Further information is requested label Feb 18, 2024
@bittremieux
Copy link
Collaborator

  1. Correct, when you change the residue alphabet, training from scratch is necessary.
  2. No. (Besides having spectra for peptides with those modifications in your training data of course.)
  3. Before version 3.5.0 modifications specified in the config would be ignored. This was fixed in version 3.5.0. For more details, see Fix custom residues in config #229.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants