This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bam aligmnet file viewing.

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.

assembly genome next-gen

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.)

I used the samtools view option but understood nothing.

What does this mean?

I want to visualize the aligned data.( Human readable.)

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?

1 answer

We use the tablet assembler viewer, JBrowse, or IGV to view metagenomic BAM files of reads aligned to a (FASTA) collection of host and sequences. The aligner is here: https://github.com/MHH-RCUG/Wochenende

We are also writing a coverage viewer to generate coverage diagrams and coverage statistics in python, but this is not completed yet. We will post the script and instructions to the same page when complete.

Log in to answer this question.