Hi, this is quite a basic question I feel, but I'm not exactly sure of what the best practice would be. I am currently using IGV for an interactive view, but I would rather have this automated on the command line with any bespoke elements put in place by myself. What tools (command line, not interactive) would I need for the following:

I have indexed BAM data of specific reads along with their corresponding vcf file. I would like to go back all the way to my reference genome, so I can take each read with an identified SNP and pull out the sequence from the reference genome plus an extra N bp e.g., 50 bps, on either side from where the read aligns on to the reference. In short, I want to know what exists to the left and to the right of my aligned read. Could this be done using the #CHROM and POS data in the vcf?

More Anthony Nash's questions See All
Similar questions and discussions