+ StructureFile pdbfile = null;
+ pdbfile = StructureSelectionManager.getStructureSelectionManager(ssmp)
+ .setMapping(false, new SequenceI[] { sequence }, null, choice,
+ file);
+ if (pdbfile == null)
+ {
+ // stacktrace already thrown so just return
+ return null;
+ }
+ if (pdbfile.getId() == null)