Ejemplo n.º 1
0
 public void addAberration(Aberration abr) throws IOException {
   addColumn(new Column("abr", "type", abr.getAberration().getCytogeneticDesignation()));
   int i = 1;
   for (Band band : abr.getBands()) {
     addColumn(new Column("abr", "chr" + i, band.getChromosomeName()));
     addColumn(
         new Column(
             "abr", "loc" + i, band.getLocation().getStart() + "-" + band.getLocation().getEnd()));
     ++i;
   }
   aberration = abr;
 }
Ejemplo n.º 2
0
 @Override
 public boolean isRowIdCorrect() {
   return (karyotypeName == null
           || aberration == null
           || !this.getRowIdAsString()
               .equals(createRowId(karyotypeName, aberration.getWithLocations())))
       ? false
       : true;
 }