Hello,
I have a bam file with the alignment of Illumina reads to a genome, and a bed file with the coordinates of some genomic regions.
I found out the coverage of these regions using Bedtools, and now I want to retrieve the reads that map in these regions, but I do not know how to get the names of the reads.
Is there any available tool to extract the reads that map in a particular genomic region?
I thought Bedtools or Samtools would have it but I cannot find it.
My only other idea is to blast the reads against these regions, but I know that the results would be different.
Thank you for your help
I have a bam file with the alignment of Illumina reads to a genome, and a bed file with the coordinates of some genomic regions.
I found out the coverage of these regions using Bedtools, and now I want to retrieve the reads that map in these regions, but I do not know how to get the names of the reads.
Is there any available tool to extract the reads that map in a particular genomic region?
I thought Bedtools or Samtools would have it but I cannot find it.
My only other idea is to blast the reads against these regions, but I know that the results would be different.
Thank you for your help
Comment