.contains(cds.getSequenceAt(1).getDatasetSequence()));
/*
- * Verify mappings from CDS to peptide, cDNA to CDS, and cDNA to peptide
- * the mappings are on the shared alignment dataset
+ * verify cds has dbref with mapping to protein and vice versa
*/
- List<AlignedCodonFrame> cdsMappings = cds.getDataset().getCodonFrames();
+ DBRefEntry[] cdsDbrefs = cds.getSequenceAt(0).getDBRefs();
+ // assertNotNull(cdsDbrefs);
+ // assertEquals(1, cdsDbrefs.length);
+ // assertNotNull(cdsDbrefs[0].getMap());
+
/*
+ * Verify mappings from CDS to peptide, cDNA to CDS, and cDNA to peptide
+ * the mappings are on the shared alignment dataset
* 6 mappings, 2*(DNA->CDS), 2*(DNA->Pep), 2*(CDS->Pep)
*/
+ List<AlignedCodonFrame> cdsMappings = cds.getDataset().getCodonFrames();
assertEquals(6, cdsMappings.size());
/*