package bistro-bio

  1. Overview
  2. Docs
Bistro workflows for computational biology

Install

Dune Dependency

Authors

Maintainers

Sources

bistro-0.6.0.tbz
sha256=146177faaaa9117a8e2bf0fd60cb658662c0aa992f35beb246e6fd0766050e66
sha512=553fe0c20f236316449b077a47e6e12626d193ba1916e9da233e5526dd39090e8677277e1c79baace3bdc940cb009f25431730a8efc00ae4ed9cc42a0add9609

doc/src/bistro-bio/SE_or_PE.ml.html

Source file SE_or_PE.ml

1
2
3
4
5
6
7
8
9
10
11
type 'a t =
  | Single_end of 'a
  | Paired_end of 'a * 'a

let map x ~f = match x with
  | Single_end x -> Single_end (f x)
  | Paired_end (x, y) -> Paired_end (f x, f y)

let fst = function
  | Single_end x
  | Paired_end (x, _) -> x
OCaml

Innovation. Community. Security.