-
Notifications
You must be signed in to change notification settings - Fork 3
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
140 automated e2e tests #143
Conversation
"""Calculate metrics.""" | ||
df = self._data_store["stat.tsv"] | ||
|
||
for col in ["proteins", "precursors", "ms1_accuracy", "fwhm_rt"]: |
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 a naming issue on alphaDIAs side. proteins
and genes
refers to values annotated in the library. pg
is the column for proteins after fdr correction and with the correct inference mode.
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.
hm, not sure what you mean .. I read these values off the actual alphaDIA output?
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 only about the implementation of the metric. AlphaDIA generates the pg column for FDR corrected protein groups. So for counting PGs at 1% FDR you would need to use the pg column.
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.
ah, I see .. given the metrics are only a placeholder for now, I would leave it like this
tests/e2e_tests/prepare_test_data.py
Outdated
CONFIG_SOURCE_PATH = "../../alphadia/constants/default.yaml" | ||
|
||
|
||
def _download_file(url: str, target_name: str) -> None: |
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.
There is some overlap with alphadia.testing
. I think we could unify this.
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.
First working version of end 2 end tests.
For each test case defined in a
yaml
file, download the test data, run alphadia, calculate metrics, and push them to neptune.Can be seen in action here: https://github.com/MannLabs/alphadia/actions/runs/9113110942/job/25053809668
On neptune:
Next steps: