import com.stevesoft.pat.Regex;
+import jalview.bin.Console;
+import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.Annotation;
import jalview.datamodel.PDBEntry;
import jalview.schemes.ResidueProperties;
import jalview.util.Format;
import jalview.util.MessageManager;
+import jalview.ws.dbsources.EBIAlfaFold;
import mc_view.Atom;
import mc_view.PDBChain;
import mc_view.Residue;
createAnnotation(chainseq, chain, ms.at);
}
}
+ if (isAlphafoldModel())
+ {
+ // TODO - work out how to handle different ways that pAE is provided
+ //
+ try
+ {
+ Console.info("retrieving pAE for " + pdbId);
+ Alignment al = new Alignment(prot.toArray(new SequenceI[0]));
+ EBIAlfaFold.retrieve_AlphaFold_pAE(pdbId, al, null);
+ ;
+ } catch (Throwable t)
+ {
+ Console.error("Couldn't get the pAE for " + pdbId, t);
+ }
+ }
} catch (OutOfMemoryError er)
{
System.out.println(
pdbAlignment.getSequenceAt(0),
(Map<String, Object>) pae_obj.get(0));
+ // THIS IS NOT GOING TO WORK !!!
+ // ?? StructureFile assumes sequenceI holds all data, so AlignmentAnnotation
+ // needs to hold the contact matrix data.
pdbAlignment.getSequenceAt(0)
.addAlignmentAnnotation(pdbAlignment.addContactList(matrix));
return true;