orthomam.mli 1.84 KB
Newer Older
Philippe Veber's avatar
Philippe Veber committed
1
open Codepitk
2 3 4
open Bistro
open File_formats

5
type alignment
6 7
val alignments_of_db :
  Orthomam_db.t ->
8 9
  alignment list

10 11 12 13 14 15
type query
val query :
  alignment ->
  convergent_species:string list workflow ->
  query

16 17
val family_id : query -> string

18
val alignment : query -> phylip file
19

20 21 22 23 24 25
val tree_of_db :
  Orthomam_db.t ->
  branch_length_unit:[`Nucleotide | `Amino_acid | `Codon] ->
  convergent_species:string list ->
  nhx file

26
include Detection_pipeline.S with type query := query
27 28

val species_with_echolocation : string list
29

30 31
val prestin : Orthomam_db.t -> query

32
val ensembl_tree : newick file
33 34

val compare_tree_branch_lengths :
35 36
  nhx file ->
  nhx file ->
37
  pdf file
38 39 40 41 42 43

val number_of_missing_sequences_repartition :
  Orthomam_db.t ->
  pdf file

val concatenate :
44
  ?nmissing:int ->
45
  ?seed:int ->
46
  Orthomam_db.t ->
47
  int ->
48
  phylip file
49 50 51 52 53 54 55 56
(** Produces a concatenate of gene alignments in a
   database. Alignments where strictly more than
   [max_missing_sequences] leaves are missing are discarded, as well
   as those which show defects following [Orthomam_db.check_orf]
   (except for stop codons at last position, which are tolerated. When
   using [site_sampling], (nucleotidic) sites are randomly selected
   and concatenated. Note that in that case the codon structure is
   lost. *)
57 58 59 60 61

val concatenate_calibration :
  seed:int ->
  Orthomam_db.t ->
  pdf file
62 63 64 65

val estimated_nucleotide_tree :
  Orthomam_db.t ->
  newick file
66 67 68 69 70 71 72 73

val estimated_codon_tree :
  Orthomam_db.t ->
  newick file

val estimated_amino_acid_tree :
  Orthomam_db.t ->
  newick file
74 75 76 77 78

val convergence_species_tree_pdf :
  convergent_species:string list ->
  Orthomam_db.t ->
  pdf file
79 80

val site_ranking :
Philippe Veber's avatar
Philippe Veber committed
81 82
  ?subset:int ->
  meth:[`multinomial_asymptotic_lrt | `tdg09] ->
83 84 85
  convergent_species:string list ->
  Orthomam_db.t ->
  Candidate_site.t list workflow
Philippe Veber's avatar
Philippe Veber committed
86 87

val draw_site : query -> int -> pdf file