Entering edit mode
5.9 years ago
9521ljh
▴
50
Hi,
i have a bam file which is genome data(DNA sequencing). it has 'exonic', 'intergenic' 'intronic' UTR3 ... positions.
However i want to use the tool 'VarScan 2' which is appropriate to exon sequencing.
So, anyone know? how to extract only exon position from Bamfile???
Why wouldn't Varscan 2 be an option for whole genome sequencing? Where did you read that?
You probably shouldn't start extracting positions from your bam file. If you absolutely want to filter you could do that afterwards as well.
Get an annotation file for exons (please use google and the search function, make a bed file out of it and then use the -L option of samtools view).