//ArrayList<Protein> proteins = db.getProteins();
//for(Protein prot: proteins){
//if(prot.getTitleLine().contains(bestAccn)){
//int nxstIndex = getIndex(pep);
AroundSitePeptideObject aroundSitePeptide = new AroundSitePeptideObject(pep, center);
//String protSeq = prot.getSequence();
String protSeq = protTitleLine2ProtSequenceMap.get(bestTLine);
int seq_length = protSeq.length();
int indexOf = protSeq.indexOf(pep);
int protPeptideCenterIndex = indexOf + aroundSitePeptide.getCenterIndex();
String blockPeptide = null;
if (protPeptideCenterIndex > preNPostCenterResidues &&
(((seq_length-1) - protPeptideCenterIndex) >= preNPostCenterResidues) ){ // pre > 50 and post >= 50
blockPeptide = protSeq.substring(protPeptideCenterIndex - preNPostCenterResidues,