diff --git a/epivar-prod/node2/config.js b/epivar-prod/node2/config.js index 9488d5ff..775219df 100644 --- a/epivar-prod/node2/config.js +++ b/epivar-prod/node2/config.js @@ -38,8 +38,8 @@ module.exports = { vcfSampleNameConverter: name => name.split('_')[1], // name => name /* - * VCF contigs have correct format, use identity function (default value) + * VCF contigs have chr prefix; ensure we prepend this without duplication. */ - // vcfChrTransform: (chr) => chr, + vcfChrTransform: (chr) => "chr" + chr.replace(/^chr/, ""), }, };