https://github.com/brentp/goleft
Tip revision: 55486f5aec31a51d5467cd528450bd46c084c620 authored by Brent Pedersen on 20 January 2017, 23:25:35 UTC
output version in index.html; bump version
output version in index.html; bump version
Tip revision: 55486f5
README.md
<!--
#CGO_ENABLED=0 GOARCH=amd64 go build -o goleft_linux64 --ldflags '-extldflags "-static"' main.go
#GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -o goleft_osx --ldflags '-extldflags "-static"' main.go
-->
# goleft
goleft is a collection of bioinformatics tools written in
[go](https://gitub.com/golang/go) distributed together
as a single binary under a liberal (MIT) license.
Running the binary `goleft` will give a list of subcommands
with a short description. Running any subcommand without
arguments will give a full help for that command.
# Installation
The easiest way to install goleft is to download the latest binary from
the [releases](https://github.com/brentp/goleft/releases) and make sure to chmod +x the resulting binary.
If you are using [go](https://github.com/golang/go), you can build from source with:
```
go get -u github.com/brentp/goleft/...
go install github.com/brentp/goleft/cmd/goleft
```
`goleft` is also available in [bioconda](https://bioconda.github.io)
# Commands
+ [covmed](https://github.com/brentp/goleft/tree/master/covmed#covmed) : calculate median coverage on a bam by sampling
+ [depth](https://github.com/brentp/goleft/tree/master/depth#depth) : parallelize calls to samtools in user-defined windows
+ depthwed : matricize output from depth to n-sites * n-samples
+ [indexcov](https://github.com/brentp/goleft/tree/master/indexcov#indexcov) : quick coverage estimate using only the bam index