/** * @param library the Library that an alias is being generated for * @return the name portion represeting the estimated insert size * @throws MisoNamingException if library's dnaSize is not set */ private String getInsertSize(Library library) throws MisoNamingException { if (library.getDnaSize() == null) { throw new MisoNamingException("Cannot generate an alias without insert size set"); } return library.getDnaSize().toString(); }
if (experiment.getLibrary().getPaired()) { layout = xml.getOwnerDocument().createElementNS(null, "PAIRED"); if (experiment.getLibrary().getDnaSize() != null) { layout.setAttribute("NOMINAL_LENGTH", experiment.getLibrary().getDnaSize().toString()); } else { layout.setAttribute("NOMINAL_LENGTH", "0");
dto.setDnaSize(from.getDnaSize()); dto.setIdentificationBarcode(from.getIdentificationBarcode()); if (from.getQCs() != null && !from.getQCs().isEmpty()) {
v.setLibraryBarcode(lib.getIdentificationBarcode()); v.setLibraryDescription(lib.getDescription()); if (lib.getDnaSize() != null) { v.setLibraryDnaSize(lib.getDnaSize().longValue());
target.setDnaSize(source.getDnaSize()); target.setLibraryType(source.getLibraryType()); target.setLibrarySelectionType(source.getLibrarySelectionType());