{\r
if (cdna[c].getSource().equals(DBRefSource.EMBLCDS))\r
{\r
- // retrieve CDS dataset sequences\r
+ System.err.println("TODO: unimplemented sequence retrieval for coding region sequence.");\r
+ // TODO: retrieve CDS dataset sequences\r
// need global dataset sequence retriever/resolver to reuse refs\r
// and construct Mapping entry.\r
// insert gaps in CDS according to peptide gaps.\r
}
}
}
-
- if (sq.getDBRef() != null)
+ if (sq.getDatasetSequence()==null && sq.getDBRef() != null)
{
+ // only sync database references for dataset sequences
DBRefEntry[] entries = sq.getDBRef();
jalview.datamodel.DBRefEntry dbentry;
for (int db = 0; db < entries.length; db++)
DasCoordinateSystem[] coords = source.getCoordinateSystem();\r
for (int c = 0; c < coords.length; c++)\r
{\r
+ // TODO: match UniProt coord system canonically (?) - does UniProt==uniprot==UNIPROT ? \r
if (coords[c].getName().indexOf("UniProt") > -1)\r
{\r
uniprotCount++;\r