public static final String[] CODINGDBS = { EMBLCDS, GENEDB, ENSEMBL };
public static final String[] PROTEINDBS = { UNIPROT, UNIPROTKB,
- EMBLCDSProduct, ENSEMBL }; // Ensembl ENSP* entries are protein
+ EMBLCDSProduct }; // , ENSEMBL }; // Ensembl ENSP* entries are protein
public static String[] allSources()
{
dbRefs.add(dbr);
}
}
+ if (false) // "Ensembl".equals(pdb.getType()))
+ {
+ /*UniprotXML
+ * <dbReference type="Ensembl" id="ENST00000321556">
+ * <molecule id="Q9BXM7-1"/>
+ * <property type="protein sequence ID" value="ENSP00000364204"/>
+ * <property type="gene ID" value="ENSG00000158828"/>
+ * </dbReference>
+ */
+ String cdsId = (String) pdb.getProperty()
+ .get("protein sequence ID");
+ if (cdsId != null && cdsId.trim().length() > 0)
+ {
+ // Only add the product ID
+ dbRefs.remove(dbr);
+ dbr = new DBRefEntry(DBRefSource.ENSEMBL, DBRefSource.UNIPROT
+ + ":" + dbVersion, cdsId.trim());
+ dbRefs.add(dbr);
+
+ }
+ }
+
}
sequence.setPDBId(onlyPdbEntries);