ISA-tools / mzml2isa

Parser to get meta information from mzML file and parse relevant information to a ISA-Tab structure
GNU General Public License v3.0
12 stars 6 forks source link

Multiple instrument configuration mismatch #4

Open althonos opened 7 years ago

althonos commented 7 years ago

Originally opened by @althonos on althonos/mzml2isa:

Information about instruments is not extracted correctly if an mzML file contains more than one InstrumentConfiguration element in the InstrumentConfigurationList tag.

This happens for instance with MTBLS266, where the mzML file contains two InstrumentConfiguration (IC1 and IC2) although only the first one is ever used in all the scans. Unfortunately mzml2isa will extract IC2 as the real InstrumentConfiguration.

Though uncommong, this issue should be adressed some day. Potential fix involve looking at the number of InstrumentConfiguration tags, and if there is more than one, check the DefaultInstrumentConfiguration attribut of the run mzML element.