-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipeline.mro
37 lines (36 loc) · 936 Bytes
/
pipeline.mro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@include "stages.mro"
filetype csv;
filetype bam;
filetype vcf;
filetype vcf.gz;
filetype bed;
pipeline VARIANT_CALL_CB_CLUSTERS(
in bam possorted_bam,
in csv barcode_clusters,
in string reference_path,
out vcf.gz variants,
out bam[] merged_bams,
)
{
call FILTER_BAM(
possorted_bam = self.possorted_bam,
barcode_clusters = self.barcode_clusters,
)
call MODIFY_BAM(
filtered_bams = FILTER_BAM.filtered_bams,
reference_path = self.reference_path,
)
call MERGE_BAMS(
modified_filtered_bams = MODIFY_BAM.modified_filtered_bams,
clusters = FILTER_BAM.clusters,
)
call CALL_VARIANTS(
merged_bams = MERGE_BAMS.merged_bams,
merged_clusters = MERGE_BAMS.merged_clusters,
reference_path = self.reference_path,
)
return (
variants = CALL_VARIANTS.variants,
merged_bams = MERGE_BAMS.merged_bams,
)
}