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

Spectra from Thermo mzML files is hard to read #1

Open
benbowen opened this issue Jun 7, 2016 · 2 comments
Open

Spectra from Thermo mzML files is hard to read #1

benbowen opened this issue Jun 7, 2016 · 2 comments

Comments

@benbowen
Copy link
Member

benbowen commented Jun 7, 2016

@oruebel Yesterday we uploaded a file that was acquired on a MALDI LTQ/XL (Thermo) and had been converted to mzML using msconvert with default parameters. BASTet correctly identified the unique m/z values and binned the data on m/z axis, but its really hard to read when plotted as a line plot.
image
I think adding ~5ppm binning as a minimum failsafe would help prevent this.

Basically debunch the closely spaced m/z values and then add in m/z values where closest is far away.

I'd be happy if this was in "analysis_0" so the raw data could be preserved. With the new jupyter.nersc.gov setup users should be able to add custom analysis to their openmsi files without much trouble at all.

@oruebel
Copy link
Collaborator

oruebel commented Jun 7, 2016

Can you send me the raw file so that I can have a look at the convert process. If the data is profiled, then the default rebinning should use 5ppm already but depending on whether the file is Bruker or Thermo there are some different paths the code is taking. The functions in the omsi/dataformat/mzml_file.py reader to look at are 1) __compute_mz_axis(..) which computes the mz axis and 2) spectrum_iter(..) which retrieves (and possible reinterpolates). We should make sure that the functions do what you expect.

@benbowen
Copy link
Member Author

benbowen commented Jun 8, 2016

The file above is from: this file I just shared with you

The other Orbitrap files markus has uploaded are here:
bpb@cori02:~> ls /project/projectdirs/openmsi/original_data/raad0102/ | grep Orbi
20160406_MDR_MaldiOrbi_Maldi_ARGO_1
20160428_MDR_MOrbi_Maldi_ARGO_quant_1
20160525_MDR_Orbi_Maldi_ARGO_cello_t2
20160526_MDR_Orbi_Maldi_ARGO_cel_scr1
20160526_MDR_Orbi_Maldi_LCMS_samples
20160531MdR_MaldiOrbi_Maldi_ARGO_AT_reactions_3_Sigma_AT
20160601_MDR_Orbi_Maldi_ARGO_GH_scr2

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