In MatchCollectionParser.cpp line 143:
protein = new Protein();
but comments in line 140 say:
//try creating it and adding it to the database as a postprocess protein
This causes incorrect peptide sequence output for targets after using MzIdentMLReader to read in an mzid file. The following line fixes problem:
protein = new PostProcessProtein();