From 6e5a12ab6b104fd00f627bc41d1a967d0929b5b9 Mon Sep 17 00:00:00 2001 From: Brent Pedersen Date: Sun, 25 Apr 2021 07:25:06 +0200 Subject: [PATCH] fix help which still mentioned js. closes #141 --- api/api.go | 2 +- vcfanno.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/api.go b/api/api.go index 934a31a..74be98a 100644 --- a/api/api.go +++ b/api/api.go @@ -105,7 +105,7 @@ type PostAnnotation struct { Vms [8]*goluaez.State } -// NewAnnotator returns an Annotator with the sources, seeded with some javascript. +// NewAnnotator returns an Annotator with the sources, seeded with some lua. // If ends is true, it will annotate the 1 base ends of the interval as well as the // interval itself. If strict is true, when overlapping variants, they must share // the ref allele and at least 1 alt allele. diff --git a/vcfanno.go b/vcfanno.go index d17c26b..3b61f62 100644 --- a/vcfanno.go +++ b/vcfanno.go @@ -6,6 +6,7 @@ import ( "fmt" "io" "log" + //_ "net/http/pprof" "os" "runtime" @@ -57,7 +58,7 @@ see: https://github.com/brentp/vcfanno ends := flag.Bool("ends", false, "annotate the start and end as well as the interval itself.") notstrict := flag.Bool("permissive-overlap", false, "annotate with an overlapping variant even it doesn't"+ " share the same ref and alt alleles. Default is to require exact match between variants.") - lua := flag.String("lua", "", "optional path to a file containing custom javascript functions to be used as ops") + lua := flag.String("lua", "", "optional path to a file containing custom lua functions to be used as ops") base := flag.String("base-path", "", "optional base-path to prepend to annotation files in the config") procs := flag.Int("p", 2, "number of processes to use.") flag.Parse()