import jalview.analysis.AlignSeq;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.Annotation;
+import jalview.datamodel.ContactMatrixI;
import jalview.datamodel.Mapping;
import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceFeature;
import jalview.datamodel.SequenceI;
-import jalview.datamodel.annotations.AnnotationRowBuilder.AnnotationRowBuilder;
+import jalview.datamodel.annotations.AnnotationRowBuilder;
import jalview.schemes.ColourSchemeI;
import jalview.schemes.ResidueProperties;
import jalview.structure.StructureImportSettings;
public String pdbid = "";
AnnotationRowBuilder tfacTemplate = new AnnotationRowBuilder(
- "TemperatureFactor");
+ "Temperature Factor");
public PDBChain(String thePdbid, String theId,
AnnotationRowBuilder template)
ana.getCalcId(), ana.label, ana.description);
if (transfer == null || transfer.size() == 0)
{
+ ContactMatrixI cm = shadow.getContactMatrixFor(ana);
ana = new AlignmentAnnotation(ana);
+ // TODO map contact matrix under mapping
ana.liftOver(sequence, shadowMap);
ana.liftOver(dsq, sqmpping);
dsq.addAlignmentAnnotation(ana);
+ if (cm != null)
+ {
+ dsq.addContactListFor(ana, cm);
+ }
}
else
{
ana.description);
if (transfer == null || transfer.size() == 0)
{
+ ContactMatrixI cm = sequence.getContactMatrixFor(ana);
ana = new AlignmentAnnotation(ana);
ana.liftOver(dsq, sqmpping);
dsq.addAlignmentAnnotation(ana);
- // mapping.transfer(ana);
+ if (cm != null)
+ {
+ dsq.addContactListFor(ana, cm);
+ }
}
else
{