From d0fda397c52de6eec56811c2d76f5e2c2a0714fa Mon Sep 17 00:00:00 2001 From: akotlar Date: Mon, 18 May 2020 15:56:56 -0400 Subject: [PATCH] better fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 511339b..2a919a6 100644 --- a/main.go +++ b/main.go @@ -462,7 +462,7 @@ func processLines(header []string, numChars int, config *Config, queue chan [][] // if last index > 9 then we can't accept the site, since won't be able // to identify het/hom status - if len(alts) > len(iLookup) { + if altIndices[len(altIndices)-1] >= len(iLookup) { log.Printf("%s %s:%s: We currently don't support sites with > %d minor alleles, found %d", record[chromIdx], record[posIdx], errorLvl, len(iLookup), len(altIndices)) continue }