bigWigMap

command
Version: v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

README

Apply a function to a set of tracks

Example: Combine tracks for differential analysis

Define mapping f.go:

package main

import "math"

func F(seqname string, position int, values ...float64) float64 {

  x1 := values[0]
  x2 := values[1]

  return math.Abs(x1-x2)*(1.0+x1)/(1.0+x2)

}

Compile with go build -buildmode=plugin f.go. Execute with bigWigMap -v --bin-size=200 f.so result.bw input1.bw input2.bw

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL