Skip to content

Commit

Permalink
parse map to list to avoid brackets and spaces in vcf output (#7168)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorgantaylor committed Apr 6, 2021
1 parent 4e52873 commit 98ead1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ private VariantContext filterVariants(VariantContext mergedVC, HashMap<Allele, H
final VariantContextBuilder builder = new VariantContextBuilder(mergedVC);

builder.attribute(GATKVCFConstants.AS_VQS_LOD_KEY, relevantVqsLodMap.values().stream().map(val -> val.equals(Double.NaN) ? VCFConstants.EMPTY_INFO_FIELD : val.toString()).collect(Collectors.toList()));
builder.attribute(GATKVCFConstants.AS_YNG_STATUS_KEY, relevantYngMap.values());
builder.attribute(GATKVCFConstants.AS_YNG_STATUS_KEY, relevantYngMap.values().stream().collect(Collectors.toList()));

int refLength = mergedVC.getReference().length();

Expand Down

0 comments on commit 98ead1f

Please sign in to comment.