bam-file

BAM

A BAM-type anvi’o artifact. This artifact is typically provided by the user for anvi’o to import into its databases, process, and/or use.

🔙 To the main page of anvi’o programs and artifacts.

Provided by

anvi-init-bam anvi-script-reformat-bam

Required or used by

anvi-get-short-reads-from-bam anvi-get-short-reads-mapping-to-a-gene anvi-get-tlen-dist-from-bam anvi-profile anvi-profile-blitz anvi-report-linkmers anvi-script-find-misassemblies anvi-script-get-coverage-from-bam anvi-script-reformat-bam

Description

A BAM file contains already aligned sequence data. However, it is written in binary to save space (so it will look like jibberish if you open it).

BAM files (and their text file cousin SAM files) are often used in ‘omics analysis and are described in more detail in this file, written by the developers of samtools.

If your BAM file is not indexed, it is actually a raw-bam-file and you can run anvi-init-bam to turn it into a BAM file. You can tell if your BAM file is indexed if in the same folder as your XXXX.bam file, there is another file with the same name called XXXX.bam.bai.

As of now, no anvi’o programs will output results in BAM format, so you’ll primary use BAM files to import sequence data into anvi’o. For example, in anvi-profile (which generates a profile-db), your BAM file is expected to contain the aligned short reads from your samples.

Edit this file to update this information.