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

module type Query = sig
  type t
6

7
  val tree :
8 9 10 11
    branch_length_unit:[ `Nucleotide | `Amino_acid | `Codon ] ->
    t ->
    nhx file

12 13 14 15 16 17 18
  val nucleotide_alignment : t -> nucleotide_fasta file
end

module type S = sig
  type query

  val amino_acid_alignment : query -> aminoacid_fasta file
19

20
  val gene_tree : query -> nw file
21

22
  val dn_tree : query -> text file
23

24
  val ds_tree : query -> text file
25

26 27 28
  val dnds_tree : query -> text file

  val identical : query -> text file
29

30
  val topological : query -> text file
31

32
  val multinomial : query -> text file
33

34
  val multinomial_simulation_lrt : query -> text file
35

36
  val multinomial_simulation_sparse : query -> text file
37

38
  val multinomial_asymptotic_lrt : query -> text file
39

40
  val multinomial_asymptotic_sparse : query -> text file
41

42
  val tdg09 : query -> text file
43

44
  val failsafe_tdg09 : query -> text file
45

46
  val pcoc : ?gamma:bool -> ?ncat:int -> query -> text file
47

48
  val pcoc_v2 :
49 50 51 52 53 54 55 56
    ?gamma:bool -> ?aa_profiles:Pcoc.aa_profiles -> query -> text file

  val gemma :
    query ->
    lmm_test:[ `All | `LRT | `Score | `Wald ] ->
    relatedness_mode:[ `Centered | `Standardized ] ->
    text file

57
  val diffsel : query -> text file
58

59 60 61 62 63 64
  val diffseldsparse :
    ?pi:float ->
    ?shiftprob:float * float ->
    ?eps:float ->
    query ->
    text file
65 66 67

  val view_site :
    query -> convergent_species:string list -> site_pos:int -> pdf file
68 69
end

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