-
Notifications
You must be signed in to change notification settings - Fork 22
Prosit ptm #202
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
Merged
Merged
Prosit ptm #202
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0cec73a
Added prosit 22-PTM and 40-PTM models
WassimG 9d6052e
fix notebook viewing issue on github
WassimG daffe64
Fix PTM modesl notes
WassimG d48a4eb
fix irt PTM model notes
WassimG b951a34
fix model weights zenodo link
WassimG 02fa8bd
update interval to run docker container.
WassimG f13b072
fix model notes
WassimG 9c2f00b
increased interval for health check of docker container
WassimG cc8bd55
try to add the timeout directly in the ci yml file
WassimG 51be2c0
separating develop and serving startup
WassimG 1e0ed07
add timeout to downloading models
WassimG 74f4b87
updated timeout for downloads
WassimG 3d57033
add colab batch
jesseangelis a462a9d
increase retries for docker startup
WassimG 1669092
Merge branch 'Prosit_PTM' of github.com:wilhelm-lab/koina into Prosit…
WassimG 3b8e3c0
check im2deep_only
WassimG 7882773
Increase download timeout
WassimG d402244
Update Notebook url
jesseangelis 0765b1e
add figshare links for model weights
WassimG e12c4e9
Merge branch 'Prosit_PTM' of github.com:wilhelm-lab/koina into Prosit…
WassimG b945dbd
update download logic
jesseangelis af3745d
Make logs more understandable
jesseangelis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/records/13928958/files/model_orbitrap.zip?download=1 | ||
| md5:0b3beb45d6ca6e7c82271bf3be9e3eee | ||
| md5:0b3beb45d6ca6e7c82271bf3be9e3eee | ||
| https://ndownloader.figshare.com/files/61421536 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/records/13928958/files/model_qtof.zip?download=1 | ||
| md5:8ac637326f9378c6c3d2535183ae439a | ||
| md5:8ac637326f9378c6c3d2535183ae439a | ||
| https://ndownloader.figshare.com/files/61458817 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7576732/files/model.pt.zip?download=1 | ||
| md5:64bad0a110e8aa911520ce42c79c92c9 | ||
| https://ndownloader.figshare.com/files/61458970 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7576749/files/model.pt.zip?download=1 | ||
| md5:07a99a478f284a58865785af90089a0a | ||
| https://ndownloader.figshare.com/files/61459084 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7576813/files/model.pt.zip?download=1 | ||
| md5:27d0a2871dde5da1bff96f8733c359f9 | ||
| https://ndownloader.figshare.com/files/61459141 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/records/14894501/files/model.pt.zip?download=1 | ||
| md5:714e2cd897171e42e61cce94bba28f8e | ||
| https://ndownloader.figshare.com/files/61459279 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/records/13742304/files/model.pt.zip?download=1 | ||
| md5:aa9f5fcdd7c074ca060e68799fdd764f | ||
| md5:aa9f5fcdd7c074ca060e68799fdd764f | ||
| https://ndownloader.figshare.com/files/61459444 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7971241/files/model.savedmodel.zip?download=1 | ||
| md5:831807c5938e52decb579a7968e4d11e | ||
| https://ndownloader.figshare.com/files/61460860 |
1 change: 1 addition & 0 deletions
1
models/Deeplc/IM2Deep_full_hc_peprec_CCS_v4_cb975cfdd4105f97efa0b3afffe075cc/1/.zenodo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/records/13134482/files/model.savedmodel.zip?download=1 | ||
| md5:f29a01ed7af11a0f6df0670e1690aaf7 | ||
| https://ndownloader.figshare.com/files/61460983 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/records/15064340/files/model.zip?download=1 | ||
| md5:329707c3cf59e2a56346656933fbf357 | ||
| https://ndownloader.figshare.com/files/61461658 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7565518/files/model.savedmodel.zip?download=1 | ||
| md5:97a7493f4c48c8c4183ca00d3482056f | ||
| https://ndownloader.figshare.com/files/61461964 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7671314/files/model.savedmodel.zip?download=1 | ||
| md5:4052b8ee575a7d92bc831f0fd1bbbbaa | ||
| https://ndownloader.figshare.com/files/61462003 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7671350/files/model.savedmodel.zip?download=1 | ||
| md5:37a819bd15cf1a8ee017c90b6601afd6 | ||
| https://ndownloader.figshare.com/files/61470367 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7681435/files/model.savedmodel.zip?download=1 | ||
| md5:51fa15a10ab1ceb4bbb9e41e304ff5a5 | ||
| https://ndownloader.figshare.com/files/61462042 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7681452/files/model.savedmodel.zip?download=1 | ||
| md5:0afd65f8bbe79cc792acb90f2ff611c1 | ||
| https://ndownloader.figshare.com/files/61465054 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ description: | | |
| Limitations of the training data: The model was not trained on peptides containing free cysteine side chains or other amino acid modifications that may be identified on HLA peptides. Also, the training data only included peptides with TMT label on the n-treminus. | ||
| False positives/negatives: The training data was filtered for 1% FDR. | ||
| **Optimization** | ||
| Optimization target: y and b fragment ion intensities with charge 1-3 | ||
| Optimization target: y and b fragment ion intensities with charge 1-3. | ||
| Experimental variability: No comparison with experimental variability is published. | ||
| Metric: Spectral angle (SA) was used to compare predicted and experimental spectra. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
| **Model** | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7681498/files/model.savedmodel.zip?download=1 | ||
| md5:468235bd92d2a70bd1840feac6a4aab9 | ||
| https://ndownloader.figshare.com/files/61465057 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/7681553/files/model.savedmodel.zip?download=1 | ||
| md5:425586cf82f75a049d330cc143fac8f1 | ||
| https://ndownloader.figshare.com/files/61465060 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/8211811/files/model.savedmodel.zip?download=1 | ||
| md5:cc476156badc4bee501c42568bd68b15 | ||
| https://ndownloader.figshare.com/files/61465069 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/14060540/files/model.savedmodel.zip?download=1 | ||
| md5:6d235a40dc613c5dcb170e7ea6ca9b84 | ||
| md5:6d235a40dc613c5dcb170e7ea6ca9b84 | ||
| https://ndownloader.figshare.com/files/61465078 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/14673884/files/model.savedmodel.zip?download=1 | ||
| md5:9e3a2cdca019767ded49eeb6efe8e6a3 | ||
| md5:9e3a2cdca019767ded49eeb6efe8e6a3 | ||
| https://ndownloader.figshare.com/files/61465075 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/14060493/files/model.savedmodel.zip?download=1 | ||
| md5:0f9196ee4b4cf381de476afccb38c61e | ||
| md5:0f9196ee4b4cf381de476afccb38c61e | ||
| https://ndownloader.figshare.com/files/61465084 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| https://zenodo.org/record/13891386/files/model.savedmodel.zip?download=1 | ||
| md5:d97e9c5b1993e9a8121f8dd8031dffaa | ||
| md5:d97e9c5b1993e9a8121f8dd8031dffaa | ||
| https://ndownloader.figshare.com/files/61465081 |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,212 @@ | ||
| max_batch_size: 1000 | ||
| platform: "ensemble" | ||
| input [ | ||
| { | ||
| name: 'peptide_sequences', | ||
| data_type: TYPE_STRING, | ||
| dims: [-1] | ||
| }, | ||
| { | ||
| name: 'precursor_charges', | ||
| data_type: TYPE_INT32, | ||
| dims: [1], | ||
| }, | ||
| { | ||
| name: 'collision_energies', | ||
| data_type: TYPE_FP32, | ||
| dims: [1], | ||
| }, | ||
| { | ||
| name: 'fragmentation_types', | ||
| data_type: TYPE_STRING, | ||
| dims: [1], | ||
| } | ||
| ] | ||
| output [ | ||
| { | ||
| name: 'intensities', | ||
| data_type: TYPE_FP32, | ||
| dims: [174] | ||
| }, | ||
| { | ||
| name: 'mz', | ||
| data_type: TYPE_FP32, | ||
| dims: [174] | ||
| }, | ||
| { | ||
| name: 'annotation', | ||
| data_type: TYPE_STRING, | ||
| dims: [174] | ||
| } | ||
| ] | ||
|
|
||
| ensemble_scheduling { | ||
| step [ | ||
| { | ||
| model_name: "Prosit_Preprocess_charge_cit" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "precursor_charges" | ||
| value: "precursor_charges" | ||
| }, | ||
| output_map { | ||
| key: "precursor_charges_in:0" | ||
| value: "precursor_charges_in_preprocessed:0" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_charge" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "precursor_charges" | ||
| value: "precursor_charges" | ||
| }, | ||
| output_map { | ||
| key: "precursor_charges_in:0" | ||
| value: "precursor_charges_in_preprocessed_FP" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_unmod" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "peptide_sequences" | ||
| value: "peptide_sequences" | ||
| }, | ||
| output_map { | ||
| key: "stripped_peptide" | ||
| value: "stripped_peptide" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_ac_gain" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "peptide_sequences" | ||
| value: "peptide_sequences" | ||
| }, | ||
| output_map { | ||
| key: "ac_gain" | ||
| value: "ac_gain" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_ac_loss" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "peptide_sequences" | ||
| value: "peptide_sequences" | ||
| }, | ||
| output_map { | ||
| key: "ac_loss" | ||
| value: "ac_loss" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_mod_peptide" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "peptide_sequences" | ||
| value: "stripped_peptide" | ||
| }, | ||
| output_map { | ||
| key: "peptides_in:0" | ||
| value: "peptides_in:0" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_collision_energy" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "raw_collision_energy" | ||
| value: "collision_energies" | ||
| }, | ||
| output_map { | ||
| key: "norm_collision_energy" | ||
| value: "norm_collision_energy" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Preprocess_fragmentation_types_PTMs" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "fragmentation_types" | ||
| value: "fragmentation_types" | ||
| }, | ||
| output_map { | ||
| key: "fragmentation_types_encoding" | ||
| value: "fragmentation_types_encoding" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_2025_intensity_22PTM_core" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "modified_sequence" | ||
| value: "peptides_in:0" | ||
| }, | ||
| input_map { | ||
| key: "mod_loss" | ||
| value: "ac_loss" | ||
| }, | ||
| input_map { | ||
| key: "mod_gain" | ||
| value: "ac_gain" | ||
| }, | ||
| input_map { | ||
| key: "collision_energy_aligned_normed" | ||
| value: "norm_collision_energy" | ||
| }, | ||
| input_map { | ||
| key: "method_nbr" | ||
| value: "fragmentation_types_encoding" | ||
| }, | ||
|
|
||
| input_map { | ||
| key: "precursor_charge_onehot" | ||
| value: "precursor_charges_in_preprocessed:0" | ||
| } | ||
| output_map { | ||
| key: "output_1" | ||
| value: "output_1" | ||
| } | ||
| }, | ||
|
|
||
| { | ||
| model_name: "Prosit_2019_intensity_postprocess" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "peptides_in:0" | ||
| value: "peptide_sequences" | ||
| }, | ||
| input_map{ | ||
| key: "precursor_charges_in:0" | ||
| value: "precursor_charges_in_preprocessed_FP" | ||
| } | ||
| input_map{ | ||
| key: "peaks_in:0", | ||
| value: "output_1" | ||
| } | ||
| output_map { | ||
| key: "intensities" | ||
| value: "intensities" | ||
| } | ||
| output_map { | ||
| key: "mz" | ||
| value: "mz" | ||
| } | ||
| }, | ||
| { | ||
| model_name: "Prosit_Helper_annotation" | ||
| model_version: 1 | ||
| input_map { | ||
| key: "precursor_charges" | ||
| value: "precursor_charges" | ||
| }, | ||
| output_map { | ||
| key: "annotation" | ||
| value: "annotation" | ||
| } | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the documentation for the intensity model, the model should be optimized for intensities, right?