Skip to content
Script for parsing SAM/BAM files for coverage statistics
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
legacy_versions
LICENSE
README.md
weeSAM

README.md

weeSAM

              _)_
           .-'(/ '-.
          /    `    \
         /  -     -  \
        (`  a     a  `)
         \     ^     /
          '. '---' .'
          .-`'---'`-.
         /           \
        /  / '   ' \  \
      _/  /| S A M |\  \_
     `/|\` |+++++++|`/|\`
          /\       /\
          | `-._.-` |
          \   / \   /
          |_ |   | _|
          | _|   |_ |
          (ooO   Ooo)


usage:

weeSAM { --bam file.bam OR --sam file.sam } --out output.txt

command line options:

--bam : The input bam file. [file.bam]
--sam : The input sam file. [file.sam]
--out : The name of your output file. [myoutput.txt]
--html: Generate html for each coverage plot produced by the script. [file.html]
--overwrite : Add this flag to overwrite a html directory from a previous run. --mapped : Add to generate and analyse a new bam file with only mapped reads. -h : Print help function.
-v : weeSAM version number.

File output fields:

Ref_Name : The identifier of the reference.
Ref_Len : The length in bases of each reference.
Mapped_Reads : Number of reads mapped to each reference.
Breadth : The number of sites in the genome covered by reads.
%_Covered : The percent of sites in the genome which have coverage.
Min_Depth : Minimum read depth observed.
Max_Depth : Max read depth observed.
Avg_Depth : Mean read depth observed.
Std_Dev : Standard deviation of the mean (Avg_Depth).
Above_0.2_Depth : Percentage of sites which have greater than 0.2 * Avg_Depth.
Above_1_Depth : Percentage of sites which are above Avg_Depth.
Above_1.8_Depth : Percentage of sites which have greater than 1.8 * Avg_Depth.
Variation_Coefficient : The mean of Std_Dev of the mean.

You can’t perform that action at this time.