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

Ion mobility column of spectronaut report not being read in by psm_reader #215

Open
mlorenz49 opened this issue Aug 8, 2024 · 1 comment

Comments

@mlorenz49
Copy link

When trying to read in the output of spectronaut_report file, the column called "FG.ApexIonMobility" is not being imported with the rest of the data (the column seems to be dropped). Trying out the following seems to read in the information into self._psm_df.

from alphabase.psm_reader.dia_psm_reader import psm_reader_yaml
psm_reader_yaml["spectronaut_report"]["column_mapping"]["mobility"]="FG.ApexIonMobility"

However, the data type of the entries in the "mobility" column are strings and not floats. This leads to a downstream error in the alphabase.peptide.mobility.mobility_to_ccs_bruker function, as here the strings are multiplied with a float value (CCS_IM_COEF). Ive attached a screenshot with the issue.

Is there a way to import the column correctly?

Screenshots
image

Version:

  • Installation Type pip install
    • Platform information
      • system windows
    • Python information:
      • alphabase version 1.2.5
      • [other packages]
@jalew188
Copy link
Collaborator

jalew188 commented Aug 9, 2024

@mlorenz49 Please checkout #216 for testing

jalew188 added a commit that referenced this issue Sep 12, 2024
…tronaut-report-not-being-read-in-by-psm_reader

#215 add FG.ApexIonMobility for SPN report reader
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

No branches or pull requests

2 participants