this.genome = genome;
}
@Override
protected SegmentedAsciiDataSet processResultSet(ResultSet rs) throws SQLException {
SegmentedAsciiDataSet dataset = new SegmentedAsciiDataSet(genome);
while (rs.next()) {
String sample = rs.getString("Sample");
String chr = rs.getString("chr");
int start = rs.getInt("start");
int end = rs.getInt("end");
float value = rs.getFloat("value");
String description = rs.getString("description");
dataset.addSegment(sample, chr, start, end, value, description);
}
dataset.sortLists();
return dataset;
}