}
}
- public AlignmentAnnotation[] transferResidueAnnotation(SequenceI seq,
- String status)
- {
- AlignmentAnnotation[] transferred = null;
-
- return transferred;
-
- }
-
/**
* copy any sequence annotation onto the sequence mapped using the provided
* StructureMapping
*
* @param mapping
+ * - positional mapping between destination sequence and pdb resnum
+ * @param sqmpping
+ * - mapping between destination sequence and local chain
*/
- public void transferResidueAnnotation(StructureMapping mapping)
+ public void transferResidueAnnotation(
+ StructureMapping mapping, jalview.datamodel.Mapping sqmpping)
{
SequenceI sq = mapping.getSequence();
SequenceI dsq = sq;
if (transfer == null || transfer.size() == 0)
{
ana.liftOver(sequence, shadowMap);
- mapping.transfer(ana);
+ ana.liftOver(dsq, sqmpping);
+ dsq.addAlignmentAnnotation(ana);
}
else
{
ana.getCalcId(), ana.label);
if (transfer == null || transfer.size() == 0)
{
- mapping.transfer(ana);
+ ana.liftOver(dsq, sqmpping);
+ // mapping.transfer(ana);
}
else
{