Convert a BAM file to a format that can be used for replicate merging.
Note: This function does not process data enough to be used for interaction calling. Use prepare.data
for full preprocessing.
convert.bam(bam, baits, fragments, temp.directory = NULL, keep.files = FALSE)
Path to a BAM file
Path to a BED file containing the baits
Path to a BED file containing all restriction fragments in the genome
Directory where temporary files should be stored. Defaults to current directory.
Logical indicating whether to keep temporary files