convergence_detection.mli 1.2 KB
Newer Older
1
open Core
Carine Rey's avatar
Carine Rey committed
2 3 4
open Bistro.EDSL
open Bistro.Std
open Bistro_bioinfo.Std
5
open File_formats
Carine Rey's avatar
Carine Rey committed
6
open Defs
Carine Rey's avatar
Carine Rey committed
7 8 9 10 11 12 13 14

type pcoc_out
type diffsel_out

type det_out =
  | Pcoc_out
  | Diffsel_out

Carine Rey's avatar
Carine Rey committed
15 16 17 18 19 20 21 22 23 24
type det_result = {
  dataset : dataset ;
  det_meth : det_meth ;
  det_result : det_out directory workflow ;
  }

type dataset_res = {
  model_prefix : string ;
  tree_prefix : string ;
  res_by_tools: det_result list ;
Carine Rey's avatar
Carine Rey committed
25 26
  merged_results : text_file workflow ;
  plot_merged_results : svg workflow
Carine Rey's avatar
Carine Rey committed
27 28
  }

Carine Rey's avatar
Carine Rey committed
29
val pcoc :
30
  ?plot_complete : bool ->
Carine Rey's avatar
Carine Rey committed
31 32 33 34 35
  ?gamma : bool ->
  faa : aminoacid_fasta workflow ->
  tree : _ workflow ->
  (*[`pcoc]*) det_out directory workflow

Carine Rey's avatar
Carine Rey committed
36 37 38 39
val pcoc_selector :
    (*[`pcoc]*) det_out directory workflow ->
    text_file workflow

Carine Rey's avatar
Carine Rey committed
40 41 42 43 44 45
val diffsel :
  phy_n : nucleotide_phylip workflow ->
  tree : _ workflow ->
  w_every : int ->
  n_cycles: int ->
  (*[`diffsel]*) det_out directory workflow
Carine Rey's avatar
Carine Rey committed
46

Carine Rey's avatar
Carine Rey committed
47 48 49
val diffsel_selector :
    (*[`diffsel]*) det_out directory workflow ->
    text_file workflow
Carine Rey's avatar
Carine Rey committed
50 51 52 53

val merge_results :
  res_by_tools : det_result list ->
  text_file workflow
Carine Rey's avatar
Carine Rey committed
54 55 56 57 58 59 60

val plot_merge_results :
    res_by_tools : det_result list ->
    tree : _ workflow ->
    faa : aminoacid_fasta workflow ->
    tsv : text_file workflow ->
    svg workflow