This is a test version of Biostars. For the public version, visit https://www.biostars.org.
mass spectrometry and bioinformatics

Hello, Can somebody tell me how to find total number of spectra in an mzml file? How to know the number of unassigned spectra remained in a file after tandem run was over?

ms/ms analysis

Not sure if bioinformatics.

I'd say it is bioinformatics. Proteomics, not the genetics and transcriptomics we're most familiar with here.

Ah, I see. Thank you!

pyteomics will give you access to the information about each spectrum, though it might be difficult to access the total number of spectra acquired directly. Of course, sum(1 for scan in mzml.read("path/to/file.mzML")) will work for that. The unassigned question could be solved using the mzid, pepxml or xtandem parsers, but you have to have the search results in the right format.

0 answers

No answers yet.

Log in to answer this question.