Skip to content

Commit

Permalink
lib: set variant ID in VariantBuilder, #TASK-5576, #TASK-5564
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarraga committed Aug 5, 2024
1 parent 4326fa3 commit 2c7ddfb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private void parseVcf() throws IOException {
Iterator<Variant> iterator = variantVcfReader.iterator();
while (iterator.hasNext()) {
Variant variant = iterator.next();
variant.setId(variant.toStringSimple());
fileSerializer.serialize(variant, VARIATION_CHR_PREFIX + variant.getChromosome());
}
variantVcfReader.close();
Expand Down

0 comments on commit 2c7ddfb

Please sign in to comment.