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

Omics reader #58

Merged
merged 24 commits into from
Feb 3, 2025
Merged

Omics reader #58

merged 24 commits into from
Feb 3, 2025

Conversation

lucas-diedrich
Copy link
Owner

@lucas-diedrich lucas-diedrich commented Jan 31, 2025

This PR addresses Issue #11

Implementation of readers and documentation for proteomics data. Implementation in dvpio.read.omics submodule.

Not ready to merge yet, pending tests for read_precursor_table factory.

Pending

  • Test data for read_precursor_table

Functionality

Implemented functions are

  • parse_df Generic, custom function that enables users to parse any pandas dataframe (e.g. a protein.group table) to an anndata object.
  • read_precursor_table A function that enables users to parse most PSM reports, parse them to a filtered protein group table, and convert them to anndata. This function wraps the alphabase.anndata.AnnDataFactory class (see development branch on alphabase, and PR291)

Tutorials

Tutorial on real-world single-cell DVP data by Rosenberger et al, 2023

@codecov-commenter
Copy link

codecov-commenter commented Feb 1, 2025

Codecov Report

Attention: Patch coverage is 97.77778% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.22%. Comparing base (d9c46f5) to head (6eb7fa1).
Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
src/dvpio/read/omics/report_reader.py 96.87% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
+ Coverage   92.14%   93.22%   +1.07%     
==========================================
  Files          11       14       +3     
  Lines         191      236      +45     
==========================================
+ Hits          176      220      +44     
- Misses         15       16       +1     
Files with missing lines Coverage Δ
src/dvpio/_utils.py 100.00% <100.00%> (ø)
src/dvpio/read/omics/__init__.py 100.00% <100.00%> (ø)
src/dvpio/read/omics/report_reader.py 96.87% <96.87%> (ø)

@lucas-diedrich lucas-diedrich merged commit d86d334 into main Feb 3, 2025
6 checks passed
@lucas-diedrich lucas-diedrich deleted the omics-reader branch February 3, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants