Hi, I have several BAM files with different samples of a chromosome and I want to end up with one file for each sample (two if they are paired) including only a certain region of that chromosome in order to study the variance. I've managed to convert the original BAM I'm using as a test into FASTQ, perform the quality asses, that I already knew was correct, and trim the low quality areas on the edges of each sequence, but I don't know how to cut from the whole chromosome to my target gene sequence.
Any advise?