if (variantAnnotation.getCytoband() != null) { for (Cytoband cytoband : variantAnnotation.getCytoband()) { xrefs.add(cytoband.getChromosome() + cytoband.getName()); if (variantAnnotation.getCytoband() != null) { for (Cytoband cytoband : variantAnnotation.getCytoband()) { other.add("CB" + FIELD_SEP + cytoband.getName() + FIELD_SEP + cytoband.getStain() + FIELD_SEP + cytoband.getStart() + FIELD_SEP + cytoband.getEnd());
.setStart(Integer.parseInt(fields[3])).setEnd(Integer.parseInt(fields[4])) .build(); variantAnnotation.getCytoband().add(cytoband); break; case "RP":
if (variantAnnotation.getCytoband() != null && !variantAnnotation.getCytoband().isEmpty()) { List<Document> cytobands = new ArrayList<>(variantAnnotation.getCytoband().size()); for (Cytoband cytoband : variantAnnotation.getCytoband()) { Document d = new Document(); putNotNull(d, CYTOBAND_STAIN_FIELD, cytoband.getStain());