(initial wanted change:) The output now keeps the original 'feature_id' (could also be scan if needed) instead of creating new ones. This allows using MGF where feature_ids are not renumbered (as for IIN for example).
-c argument added. It allows skipping cleaning steps if wanted. The only one that needs to be kept is 'add_precursor_mz' (implemented as 'minimal_processing'). It sadly needs to be kept because of the conversion to float, could not manage saving an MGF with precursor_mz added and reading it as a float. A bit suboptimal so, but allows >1min gain each time. 👍🏼
Ideally, those changes should be in separate commits. That makes things such as bisect much easier in case we need to find the source of a bug. I'll check the code now.
Multiple changes here: