Debian Codegraph @

docs/guides/StatsGuide.txt

raw
1 Stats Guide
2 Written by Brian Bushnell
3 Last updated December 22, 2015
4
5 Stats is designed to generate basic assembly statistics such as scaffold count, N50, L50, GC content, gap percent, etc. It can also generate per-sequence GC-content information. The reason for the existence of stats is to replace prior tools that had similar function, but could not scale to large metagenomes; Stats is capable of processing an assembly of practically unbounded size, with sequences of practically unbounded length. And it does this rapidly, in a small amount of memory. Stats can also estimate the memory requirements of BBMap for a given assembly and kmer length.
6
7
8 *Notes*
9
10
11 Memory:
12
13 Stats uses 120MB of RAM regardless of the assembly size.
14
15
16 Threads:
17
18 Stats is singlethreaded; it does not do garbage-collection or even use independent threads for I/O streams, unlike other BBTools.
19
20
21 *Usage Examples*
22
23
24 To get stats on an assembly:
25 stats.sh in=contigs.fa
26
27
28 To compare multiple assemblies:
29 statswrapper.sh in=a.fa,b.fa,c.fa format=6
30
31
32 To print GC and length information per sequence:
33 stats.sh in=contigs.fa gc=gc.txt gcformat=4