Hi Brendan,
Currently, Tandem2XML scans the “potential modifications” tags of
tandem results file and writes them to the modification summary in the
pepXML. Point mutations would not be listed in “potential
modifications” tags of tandem results file. Only way you can find out
about them is to look for “point mutations” tag in the tandem XML. If
that tag is set to “yes”, then you have to pre-scan all peptide-
spectral matches (PSMs), build a table of point mutations seen in the
entire file, and write them to modification summary.
Another clean way of doing the same is to ignore the “potential
modifications” tag altogether. Pre-scan all PSMs for mods, and build a
table of seen mods, and write them to the modification summary. This
would option would work regardless of whether tandem is configured to
find mods or mutations. Both these options require a redesign of the
Tandem2XML source.
Meanwhile, I put in a stop gap fix that would write unknown mods to
pepXML instead of ignoring them. To me, ignoring them altogether is a
bigger problem than leaving them out of modification summary. Sure, it
produces inconsistent pepXMLs for programs that look at the
modification summary, but my feeling is that not a lot of programs
look at that summary.
Thanks,
Surendra