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

Hotfix progress bar. #90

Merged
merged 4 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion clients/python/koinapy/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import warnings
from functools import partial
from typing import Dict, Generator, KeysView, List, Optional, Union
from math import ceil


import numpy as np
import pandas as pd
Expand Down Expand Up @@ -517,7 +519,7 @@ def __predict_semi_async(self, data, debug=False, disable_progress_bar=False):
results = []
data_subsets = list(self.__slice_dict(data, self.batchsize * 10))
pbar = tqdm(
total=len(data_subsets) * 10,
total=ceil(next(iter(data.values())).shape[0] / self.batchsize),
desc=f"{self.model_name}:",
disable=disable_progress_bar,
)
Expand Down
6 changes: 3 additions & 3 deletions models/Prosit/Prosit_2023_intensity_timsTOF/notes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ description: |
The TOF Prosit 2023 model demonstrates consistent performance across different precursor charges, peptide lengths, and collision energies, with minimal bias towards C- and N-terminal amino acids. Both the tryptic and non-tryptic timsTOF data are available via PRIDE, with the identifiers PXD019086 and PXD043844, respectively.

citation: |
Fragment ion intensity prediction improves the identification rate of non-tryptic peptides in TimsTOF
Charlotte Adams, Wassim Gabriel, Kris Laukens, Mathias Wilhelm, Wout Bittremieux, Kurt Boonen
bioRxiv 2023.07.17.549401; doi: https://doi.org/10.1101/2023.07.17.549401
Fragment ion intensity prediction improves the identification rate of non-tryptic peptides in timsTOF.
Adams, C., Gabriel, W., Laukens, K. et al.
Nat Commun 15, 3956 (2024). https://doi.org/10.1038/s41467-024-48322-0
tag: "Intensity"
tag_url: "https://www.wilhelmlab.org/"
examples:
Expand Down
Loading