Hello, I have been working on this bam file to visualize the alignment, and till now I have not achieved any sort of result, can anyone help me with this issue? I am working on metagenomics data, and trying to use samtools for visualizing the (.bam) file. Thanks in advance.
What have you tried? What sort of visualization are you looking for?
I have aligned my data with cpn60 database using bowtie2, and want to remove the unmapped sequences for which I have been struggling. I used the samtools view option but understood nothing.
I want to visualize the aligned data.( Human readable.)
What does this mean?
In what way? You need to say exactly in what way you want to visualize the data, since the word "visualize" has absolutely no meaning by itself. Do you want to just see the entries in text format? Do you want to load the file into IGV? Do you want something else entirely?
Contrary to the program option name
view
it does not allow one toview
the data.You can remove unmapped reads using
samtools view
following these directions: How To Filter Mapped Reads With SamtoolsI have no idea if it is widely used for microbiome investigations but for most animals people use IGV: https://software.broadinstitute.org/software/igv/
Thank you so much for the help