PeptideFragmentation fragmentation = new PeptideFragmentation(
peptide, pepDataFile);
peptide.setFragmentation(fragmentation);
// Protein info
ProteinSection section;
tokens = proteinInfos[pepIndex].split(":");
String sysname = tokens[0].replace("\"", "");
Protein protein = pepDataFile.getProtein(sysname);
if (protein == null)
protein = new Protein(sysname);
int startRegion = Integer.parseInt(tokens[2]);
int stopRegion = Integer.parseInt(tokens[3]);
int multiplicity = Integer.parseInt(tokens[4]);
section = new ProteinSection(startRegion, stopRegion, multiplicity);
// Link peptide and protein
peptide.setProtein(protein);
protein.addPeptide(peptide, section, isTopScore);