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

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?

proteomics

1 answer

The total number of scans should be listed in the count attribute of the <spectrumList> element of an mzML file. A shell approach to finding this is to run grep "<spectrum " path/to/mzml | wc -l

Without knowing the program you used to assign spectra, answering the second part of your question is much harder. Can you name the program you used, please?

Log in to answer this question.