Skip to content

Commit

Permalink
bioinfo/Meme_suite: remove option for parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Dec 9, 2018
1 parent 41f4579 commit 6dfc422
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions lib/bioinfo/bistro_bioinfo.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1617,13 +1617,13 @@ module Meme_suite = struct
method contents : [`meme_chip_output]
end

let meme_chip ?meme_nmotifs ?meme_minw ?meme_maxw ?np:threads fa =
Workflow.shell ~descr:"meme-chip" ?np:threads [
let meme_chip ?meme_nmotifs ?meme_minw ?meme_maxw (* ?np:threads *) fa =
Workflow.shell ~descr:"meme-chip" (* ?np:threads *) [
cmd "meme-chip" ~env [
option (opt "-meme-nmotifs" int) meme_nmotifs ;
option (opt "-meme-minw" int) meme_minw ;
option (opt "-meme-maxw" int) meme_maxw ;
opt "-meme-p" ident np ;
(* opt "-meme-p" ident np ; *)(* this is disabled due to mpirun refusing to run as root under docker *)
opt "--oc" ident dest ;
dep fa ;
]
Expand All @@ -1637,15 +1637,16 @@ module Meme_suite = struct
let meme_alphabet_opt x =
string ("-" ^ string_of_alphabet x)

let meme ?nmotifs ?minw ?maxw ?revcomp ?maxsize ?alphabet fa =
Workflow.shell ~descr:"meme" [
let meme ?nmotifs ?minw ?maxw ?revcomp ?maxsize ?alphabet (* ?threads *) fa =
Workflow.shell ~descr:"meme" (* ?np:threads *) [
cmd "meme" ~env [
option (opt "-nmotifs" int) nmotifs ;
option (opt "-minw" int) minw ;
option (opt "-maxw" int) maxw ;
option meme_alphabet_opt alphabet ;
option (flag string "-revcomp") revcomp ;
option (opt "-maxsize" int) maxsize ;
(* opt "-p" ident np ; *) (* this is disabled due to mpirun refusing to run as root under docker *)
opt "-oc" ident dest ;
dep fa ;
]
Expand Down
3 changes: 2 additions & 1 deletion lib/bioinfo/bistro_bioinfo.mli
Original file line number Diff line number Diff line change
Expand Up @@ -1008,14 +1008,15 @@ module Meme_suite : sig
?revcomp:bool ->
?maxsize:int ->
?alphabet:[`dna | `rna | `protein] ->
(* ?threads:int -> *)
fasta pworkflow ->
directory pworkflow

val meme_chip :
?meme_nmotifs:int ->
?meme_minw:int ->
?meme_maxw:int ->
?np:int ->
(* ?np:int -> *)
fasta pworkflow ->
meme_chip_output pworkflow

Expand Down

0 comments on commit 6dfc422

Please sign in to comment.