System.err.println(line);
}
}
+ markCalcIds();
}
+ public static boolean isCalcIdForFile(String calcId, String pdbFile)
+ {
+ return (calcId != null && calcId.startsWith("JalviewPDB:" + pdbFile
+ + ":JalviewPDB:"));
+ }
+ private void markCalcIds()
+ {
+ for (SequenceI sq : seqs)
+ {
+ for (AlignmentAnnotation aa : sq.getAnnotation())
+ {
+ String oldId = aa.getCalcId();
+ if (oldId == null)
+ {
+ oldId = "";
+ }
+ aa.setCalcId("JalviewPDB:" + getDataName() + ":JalviewPDB:" + oldId);
+ }
+ }
+ }
private void processPdbFileWithJmol(ArrayList<SequenceI> prot)
throws Exception
{