Bam aligmnet file viewing.
1
0
Entering edit mode
4.8 years ago

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 • 1.6k views
ADD COMMENT
0
Entering edit mode

What have you tried? What sort of visualization are you looking for?

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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?

ADD REPLY
1
Entering edit mode

Contrary to the program option name view it does not allow one to view the data.

You can remove unmapped reads using samtools view following these directions: How To Filter Mapped Reads With Samtools

ADD REPLY
1
Entering edit mode

I have no idea if it is widely used for microbiome investigations but for most animals people use IGV: https://software.broadinstitute.org/software/igv/

ADD REPLY
0
Entering edit mode

Thank you so much for the help

ADD REPLY
1
Entering edit mode
4.8 years ago

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.

ADD COMMENT
0
Entering edit mode

Thank you so very much for the help.

ADD REPLY

Login before adding your answer.

Traffic: 1627 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6