Dear pyteomics team,
I'm interested in extracting specific peptide spectra for quality control/inspection purposes. I am currently interested in acetylated peptides, and have been trying to review mascot output using pyteomics to enable a programmatic way of extracting modified peptides of interest highlighted during my analysis (e.g. differentially abundant between conditions).
I am able to read my mgf file using mgf.MGF(), and from iterating through this it seems like I get a dictionary of dictionaries. My question is, how can I extract peptides of interest which are highlighted during my separate analysis? At the lab I have joined we use Mascot Distiller to generate mgf files, and then identify modifications using Mascot's database search resulting in a DAT file.
Could you provide any advice on how I could parse the mgf and DAT files so that I can link the spectra and modified peptide id for further inspection? I would be interested in inspecting certain peptides and comparing these with their theoretical spectra, similar to the mirror plot example shown in the pyteomics documentation.
Any help would be appreciated,
Many thanks
Luke