EnglishFrenchSpanish

OnWorks favicon

sam-stats - Online in the Cloud

Run sam-stats in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command sam-stats that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


sam-stats - ea-utils: produce digested statistics

SYNOPSIS


sam-stats [options] [file1] [file2...filen]

DESCRIPTION


Version: 1.38.681

Produces lots of easily digested statistics for the files listed

Options (default in parens):

-D Keep track of multiple alignments -O PREFIX Output prefix enabling
extended output (see below) -R FIL Coverage/RNA output (coverage, 3' bias, etc,
implies -A) -A Report all chr sigs, even if there are more than 1000 -b INT
Number of reads to sample for per-base stats (1M) -S INT Size of ascii-signature
(30) -x FIL File extension for handling multiple files (stats) -M Only
overwrite if newer (requires -x, or multiple files) -B Input is bam, don't
bother looking at magic -z Don't fail when zero entries in sam

OUTPUT:

If one file is specified, then the output is to standard out. If multiple files are
specified, or if the -x option is supplied, the output file is <filename>.<ext>. Default
extension is 'stats'.

Complete Stats:

<STATS>
: mean, max, stdev, median, Q1 (25 percentile), Q3

reads : # of entries in the sam file, might not be # reads

phred : phred scale used

bsize : # reads used for qual stats

mapped reads
: number of aligned reads (unique probe id sequences)

mapped bases
: total of the lengths of the aligned reads

forward
: number of forward-aligned reads

reverse
: number of reverse-aligned reads

snp rate
: mismatched bases / total bases (snv rate)

ins rate
: insert bases / total bases

del rate
: deleted bases / total bases

pct mismatch
: percent of reads that have mismatches

pct align
: percent of reads that aligned

len <STATS>
: read length stats, ignored if fixed-length

mapq <STATS>
: stats for mapping qualities

insert <STATS>
: stats for insert sizes

%<CHR> : percentage of mapped bases per chr, followed by a signature

Subsampled stats (1M reads max):
base qual <STATS> : stats for base qualities %A,%T,%C,%G : base percentages

Meaning of the per-chromosome signature:
A ascii-histogram of mapped reads by chromosome position. It is only output if the
original SAM/BAM has a header. The values are the log2 of the # of mapped reads at
each position + ascii '0'.

Extended output mode produces a set of files:
.stats : primary output

.fastx : fastx-toolkit compatible output

.rcov : per-reference counts & coverage

.xdist : mismatch distribution

.ldist : length distribution (if applicable)

.mqdist
: mapping quality distribution

Use sam-stats online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad