multinomial.ml 600 Bytes
Newer Older
1 2 3 4 5 6 7
open Core
open Bistro.Std
open Bistro.EDSL
open Bistro_bioinfo.Std
open File_formats

let multinomial ~(tree_id:_ workflow) ~(tree_sc:_ workflow) ~(faa:aminoacid_fasta workflow) : [`multinomial] directory workflow =
8
  let env = docker_image ~account:"carinerey" ~name:"python_basics" ~tag:"07182018" () in
9 10 11 12 13 14 15 16 17 18 19 20 21
  workflow ~descr:("calc_multinomial") [
    mkdir_p dest;
    cmd "python" ~env [
        file_dump (string Scripts.calc_multinomial) ;
        opt "-t" dep tree_sc;
        opt "-a" dep faa;
        opt "-o"  ident (dest // "out.tsv") ;
    ]
  ]


let results w =
  w / selector ["out.tsv"]