detection_pipeline.mli 1.16 KB
Newer Older
1 2 3 4 5
open Bistro
open File_formats

module type Query = sig
  type t
6 7 8
  val tree :
    branch_length_unit:[`Nucleotide | `Amino_acid | `Codon] ->
    t -> nhx file
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
  val nucleotide_alignment : t -> nucleotide_fasta file
end

module type S = sig
  type query

  val amino_acid_alignment : query -> aminoacid_fasta file
  val gene_tree : query -> nw file
  val dn_tree : query -> text file
  val ds_tree : query -> text file
  val dnds_tree : query -> text file

  val identical : query -> text file
  val topological : query -> text file
  val multinomial : query -> text file
  val multinomial_simulation_lrt : query -> text file
  val multinomial_simulation_sparse : query -> text file
  val multinomial_asymptotic_lrt : query -> text file
  val multinomial_asymptotic_sparse : query -> text file
  val tdg09 : query -> text file
  val pcoc : ?gamma:bool -> ?ncat:int -> query -> text file
  val pcoc_v2 :
    ?gamma:bool ->
    ?aa_profiles:Pcoc.aa_profiles ->
    query -> text file
  val diffsel : query -> text file
  val diffseldsparse :
    ?pi:float ->
    ?shiftprob:float * float ->
    ?eps:float ->
    query ->
    text file
end

module Make(Q : Query) : S with type query := Q.t