File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ workflow align {
3535 giraffe_distance_index : "The vg distance index file for the reference genome"
3636 minimap2_reference : "The minimap2 index file for the reference genome"
3737 bwamem_reference : "The BWA index tar.gz file for the reference genome"
38+ reference_fasta : "Reference genome in FASTA format"
3839 read_group : "The read group to be included in the SAM header"
3940 read_two_fastq_gz : "Input gzipped FASTQ read two file to align (for paired-end data)"
4041 output_prefix : "Output file prefix for aligned reads"
@@ -51,6 +52,7 @@ workflow align {
5152 File giraffe_distance_index
5253 File minimap2_reference
5354 File bwamem_reference
55+ File reference_fasta
5456 ReadGroup read_group
5557 File ? read_two_fastq_gz
5658 String output_prefix = "aligned_output"
@@ -100,9 +102,13 @@ workflow align {
100102 orphan_only = false ,
101103 read_group_line = read_group_to_array .converted_read_group ,
102104 }
105+ call samtools .calmd {
106+ bam = addreplacerg .tagged_bam ,
107+ reference_fasta ,
108+ }
103109
104110 call alignment_post .alignment_post as giraffe_post {
105- bam = addreplacerg . tagged_bam ,
111+ bam = calmd . calmd_bam ,
106112 mark_duplicates = true ,
107113 }
108114
You can’t perform that action at this time.
0 commit comments