Exercise

Reading BED files

In this exercise, you will load peak calls from a BED file and use the information about peak locations to extract reads that overlap with the peaks from a BAM file.

Instructions

100 XP
  • Use the import.bed function to load peak calls from chr20_peaks.
  • Use these peak calls to create a BamViews object for chr20_bam.
  • Load the reads overlapping with the peak calls.