Skip to content

Commit

Permalink
fix help which still mentioned js.
Browse files Browse the repository at this point in the history
closes #141
  • Loading branch information
brentp committed Apr 25, 2021
1 parent 9f857a9 commit 6e5a12a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion vcfanno.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"io"
"log"

//_ "net/http/pprof"
"os"
"runtime"
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 6e5a12a

Please sign in to comment.