MannLabs / alphadia

modular & open DIA search
https://alphadia.readthedocs.io
Apache License 2.0
41 stars 3 forks source link

Added features to grouping.py and update tutorial notebook to heuristic grouping #171

Closed vbrennsteiner closed 3 months ago

vbrennsteiner commented 3 months ago
GeorgWa commented 3 months ago

Hi Vincenth, can you change the target to development?

vbrennsteiner commented 3 months ago

I'm on it 👍 Thanks!

On Sat 25. May 2024 at 10:47, Georg Wallmann @.***> wrote:

@.**** approved this pull request.

Looks good!

In .gitignore https://github.com/MannLabs/alphadia/pull/171#discussion_r1614470127:

@@ -139,6 +139,7 @@ dmypy.json

Data

testdata/ +nbs/debug/dev_grouping_comparison_data/

can you move the test data to testdata/?

In alphadia/grouping.py https://github.com/MannLabs/alphadia/pull/171#discussion_r1614471103:

@@ -14,27 +14,21 @@ def group_and_parsimony( precursor_idx: NDArray[np.int64], precursor_ids: NDArray[Any],

  • return_groups: bool = False,

Can we use the same argument name like in perform_grouping() ? e.g. return_parsimony_groups

In alphadia/grouping.py https://github.com/MannLabs/alphadia/pull/171#discussion_r1614471462:

  • precursor_ids : np.array[str]
  • array of variable length semicolon separated str belonging to a given peptide precursor id
  • Args:

Please use Numpy style docstrings

https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html#example-numpy

On nbs/debug/dev_grouping_comparison.ipynb https://github.com/MannLabs/alphadia/pull/171#discussion_r1614472607:

(nit) can you clean the notebook before comitting?

— Reply to this email directly, view it on GitHub https://github.com/MannLabs/alphadia/pull/171#pullrequestreview-2078847041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWUAU42MVF4BTMYKOS6EKDZEBFYZAVCNFSM6AAAAABIHIIDZGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDANZYHA2DOMBUGE . You are receiving this because you were assigned.Message ID: @.***>

GeorgWa commented 3 months ago

As soon as the notebook is clean we are good to go 👍🏻