Im trying to follow this pipeline https://github.com/epifluidlab/cragr on cfDNA WGS. I have bam files from paired end reads aligned with bwa mem.
The workflow requires bgzipped and indexed fragment data files as input.
I have been searching how can I obtain BED files from fragments coordinates instead of reads coordinates, and came up with no answer.
Does someone know how can I obtain such bed file?