compomics / ms2pip

MS²PIP: Fast and accurate peptide spectrum prediction for multiple fragmentation methods, instruments, and labeling techniques.
https://ms2pip.readthedocs.io
Apache License 2.0
39 stars 18 forks source link

support reading gzipped spectrum files #226

Closed paretje closed 3 weeks ago

paretje commented 3 months ago

Drop file type check and instead catch exception thrown by ms2rescore-rs if the file type is unsupported. When used with https://github.com/compomics/ms2rescore-rs/pull/1, this adds support for gzipped spectrum files.

As an alternative, we could also use the is_supported_file_type function introduced in that pull request.


Added