import jalview.structure.StructureImportSettings;
import jalview.structure.StructureMapping;
import jalview.util.Comparison;
+import jalview.ws.datamodel.MappableContactMatrixI;
public class PDBChain
{
? tfacTemplate.getDescription()
: tfacTemplate.getName()) + " for " + pdbid + id,
annots, min, max, AlignmentAnnotation.LINE_GRAPH);
+ tfactorann.setTFType(tfacTemplate.getTFType());
tfactorann.setCalcId(getClass().getName());
tfactorann.setSequenceRef(sequence);
ana = new AlignmentAnnotation(ana);
ana.liftOver(dsq, sqmpping);
dsq.addAlignmentAnnotation(ana);
- if (cm != null)
+ if (cm != null && cm instanceof MappableContactMatrixI)
{
- dsq.addContactListFor(ana, cm);
+ dsq.addContactListFor(ana, ((MappableContactMatrixI) cm).liftOver(dsq,sqmpping));
}
}
else