Module Biokepi.KEDSL (.ml)

module KEDSL: Biokepi_run_environment.Common.KEDSL
Bioinformatics-specific extensions to the Ketrew.EDSL module.

include Ketrew.EDSL
module Command: Ketrew_pure.Target.Command
type nothing = <
   is_done : Condition.t option;
>
val nothing : < is_done : 'a option >
val target : 'a -> [> `Please_KEDSL_workflow ]
val file_target : 'a -> [> `Please_KEDSL_workflow ]
type file_workflow = single_file workflow_node 
type phony_workflow = nothing workflow_node 
type fastq_reads = <
   escaped_sample_name : string;
   fragment_id : string option;
   fragment_id_forced : string;
   is_done : Ketrew_pure.Target.Condition.t option;
   paths : string * string option;
   r1 : single_file;
   r2 : single_file option;
   sample_name : string;
>
val fastq_reads : ?host:Host.t ->
?name:string ->
?fragment_id:string ->
string -> string option -> fastq_reads
val transform_fastq_reads : ?name:string ->
?fragment_id:string option ->
fastq_reads ->
string -> string option -> fastq_reads
val read_1_file_node : fastq_reads workflow_node ->
< exists : Ketrew_pure.Target.Condition.t; host : Host.t;
is_bigger_than : int -> Ketrew_pure.Target.Condition.t;
is_done : Condition.t option; path : string >
workflow_node
val read_2_file_node : fastq_reads workflow_node ->
< exists : Ketrew_pure.Target.Condition.t; host : Host.t;
is_bigger_than : int -> Ketrew_pure.Target.Condition.t;
is_done : Condition.t option; path : string >
workflow_node option
val fastq_node_of_single_file_nodes : host:Host.t ->
name:string ->
?fragment_id:string ->
< is_done : Condition.t option; path : string; .. > product workflow_node ->
< is_done : Condition.t option; path : string; .. > workflow_node option ->
< escaped_sample_name : string; fragment_id : string option;
fragment_id_forced : string; is_done : Condition.t option;
paths : string * string option; r1 : single_file; r2 : single_file option;
sample_name : string >
workflow_node
Create a fastq_reads workflow_node from one or two single_file workflow_node(s).
val transform_single_file : path:string -> < host : Host.t; .. > -> single_file product
type bam_file = <
   escaped_sample_name : string;
   host : Host.t;
   is_done : Ketrew_pure.Target.Condition.t option;
   path : string;
   reference_build : string;
   sample_name : string;
   sorting : [ `Coordinate | `Read_name ] option;
>
val bam_file : host:Host.t ->
?name:string ->
?sorting:[ `Coordinate | `Read_name ] ->
reference_build:string ->
string -> bam_file
val transform_bam : ?change_sorting:[ `Coordinate | `Read_name ] ->
bam_file ->
path:string -> bam_file
Make a new bam sharing most of the metadata.
type bam_list = <
   bams : bam_file list;
   is_done : Ketrew_pure.Target.Condition.t option;
>
val bam_list : bam_file list ->
bam_list
val explode_bam_list_node : bam_list workflow_node ->
< escaped_sample_name : string; host : Host.t; is_done : Condition.t option;
path : string; reference_build : string; sample_name : string;
sorting : [ `Coordinate | `Read_name ] option >
workflow_node list
type '_ bam_or_bams = 
| Single_bam : bam_file workflow_node -> bam_file workflow_node
bam_or_bams
| Bam_workflow_list : bam_file workflow_node list -> bam_list workflow_node
bam_or_bams
type vcf_file = <
   as_single_file : single_file product;
   host : Host.t;
   is_done : Ketrew_pure.Target.Condition.t option;
   path : string;
   reference_build : string;
>
val vcf_file : host:Host.t ->
reference_build:string ->
string -> vcf_file
val transform_vcf : < host : Host.t; reference_build : string; .. > ->
path:string -> vcf_file
val submit : < is_done : Ketrew.EDSL.Condition.t option; .. > Ketrew.EDSL.product
Ketrew.EDSL.workflow_node -> unit