package bistro

  1. Overview
  2. Docs
type twobit = ([ `twobit ], [ `binary ]) Bistro.Std.file
class type chrom_sizes = object ... end
type bigBed = ([ `bigBed ], [ `binary ]) Bistro.Std.file
class type bedGraph = object ... end
type wig = ([ `wig ], [ `text ]) Bistro.Std.file
type bigWig = ([ `bigWig ], [ `binary ]) Bistro.Std.file
type genome = [
  1. | `dm3
  2. | `hg18
  3. | `hg19
  4. | `hg38
  5. | `mm8
  6. | `mm9
  7. | `mm10
  8. | `sacCer2
]
val string_of_genome : [< genome ] -> string
val chromosome_sequence : [< genome ] -> string -> Defs.fasta Bistro.Std.workflow

Dealing with genome sequences

val chromosome_sequences : [< genome ] -> [ `ucsc_chromosome_sequences ] Bistro.Std.directory Bistro.Std.workflow
val genome_sequence : [< genome ] -> Defs.fasta Bistro.Std.workflow
val genome_2bit_sequence : [< genome ] -> twobit Bistro.Std.workflow
val fetchChromSizes : [< genome ] -> chrom_sizes Bistro.Std.workflow

Chromosome size and clipping

Conversion between annotation file formats

val bedToBigBed : [< genome ] -> [ `bed3 of Defs.bed3 Bistro.Std.workflow | `bed5 of Defs.bed5 Bistro.Std.workflow ] -> bigBed Bistro.Std.workflow
bedToBigBed

utility. Fails when given an empty BED file on input.

val bedToBigBed_failsafe : [< genome ] -> [ `bed3 of Defs.bed3 Bistro.Std.workflow | `bed5 of Defs.bed5 Bistro.Std.workflow ] -> bigBed Bistro.Std.workflow

sam as Ucsc_gb.bedToBigBed but produces an empty file when given an empty BED on input.

OCaml

Innovation. Community. Security.