ArrayList<AroundSiteFPeptideObject> idGlyc_tmp = new ArrayList<AroundSiteFPeptideObject>();
ArrayList<AroundSiteFPeptideObject> bGGlyc_tmp = new ArrayList<AroundSiteFPeptideObject>();
Iterator<AroundSiteFPeptideObject> itr1 = glycObjs_nr.iterator();
while(itr1.hasNext()){
AroundSiteFPeptideObject glycObj = itr1.next();
//String motif_seq = motif.motif_seq;
String glycOb_seq = glycObj.getSequence();
if(!motif.matches(glycOb_seq)){
idGlyc_tmp.add(glycObj);
}
}
Iterator<AroundSiteFPeptideObject> itr2 = bGGlycObj.iterator();
while(itr2.hasNext()){
AroundSiteFPeptideObject bglycObj = itr2.next();
String bglycOb_seq = bglycObj.getSequence();
if(!motif.matches(bglycOb_seq)){
bGGlyc_tmp.add(bglycObj);
}
}