diff --git a/eva-accession-deprecate/src/main/java/uk/ac/ebi/eva/accession/deprecate/batch/io/SubmittedVariantsFileReader.java b/eva-accession-deprecate/src/main/java/uk/ac/ebi/eva/accession/deprecate/batch/io/SubmittedVariantsFileReader.java index 9cb9720dd..065b92be3 100644 --- a/eva-accession-deprecate/src/main/java/uk/ac/ebi/eva/accession/deprecate/batch/io/SubmittedVariantsFileReader.java +++ b/eva-accession-deprecate/src/main/java/uk/ac/ebi/eva/accession/deprecate/batch/io/SubmittedVariantsFileReader.java @@ -100,12 +100,12 @@ public void initializeReader() { } private void loadNextBatchAndQuery() { - List variantIds = new ArrayList<>(); + List variantIds = new ArrayList<>(); String line; try { while (variantIds.size() < chunkSize && (line = reader.readLine()) != null) { - variantIds.add(Integer.parseInt(line.trim())); + variantIds.add(Long.parseLong(line.trim())); } if (variantIds.isEmpty()) { endOfFile = true;