| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH BBMAP.SH "1" "September 2022" "bbmap.sh 39.11" "User Commands" |
| 3 |
.SH NAME |
| 4 |
bbmap.sh \- Fast and accurate splice\-aware read aligner. |
| 5 |
.SH SYNOPSIS |
| 6 |
To index: |
| 7 |
.IP |
| 8 |
.B bbmap.sh |
| 9 |
ref=<reference fasta> |
| 10 |
.P |
| 11 |
To map: |
| 12 |
.IP |
| 13 |
.B bbmap.sh |
| 14 |
in=<reads> out=<output sam> |
| 15 |
.P |
| 16 |
To map without writing an index: |
| 17 |
.IP |
| 18 |
.B bbmap.sh |
| 19 |
ref=<reference fasta> in=<reads> out=<output sam> nodisk |
| 20 |
.SH OPTIONS |
| 21 |
in=stdin will accept reads from standard in, and out=stdout will write to |
| 22 |
standard out, but file extensions are still needed to specify the format of the |
| 23 |
input and output files e.g. in=stdin.fa.gz will read gzipped fasta from |
| 24 |
standard in; out=stdout.sam.gz will write gzipped sam. |
| 25 |
.SS Indexing Parameters (required when building the index): |
| 26 |
.TP |
| 27 |
nodisk=f |
| 28 |
Set to true to build index in memory and write nothing |
| 29 |
to disk except output. |
| 30 |
.TP |
| 31 |
ref=<file> |
| 32 |
Specify the reference sequence. Only do this ONCE, |
| 33 |
when building the index (unless using 'nodisk'). |
| 34 |
.TP |
| 35 |
build=1 |
| 36 |
If multiple references are indexed in the same directory, |
| 37 |
each needs a unique numeric ID (unless using 'nodisk'). |
| 38 |
.TP |
| 39 |
k=13 |
| 40 |
Kmer length, range 8\-15. Longer is faster but uses more memory. |
| 41 |
Shorter is more sensitive. |
| 42 |
.IP |
| 43 |
If indexing and mapping are done in two steps, K should |
| 44 |
be specified each time. |
| 45 |
.TP |
| 46 |
path=<.> |
| 47 |
Specify the location to write the index, if you don't |
| 48 |
want it in the current working directory. |
| 49 |
.TP |
| 50 |
usemodulo=f |
| 51 |
Throw away ~80% of kmers based on remainder modulo a |
| 52 |
number (reduces RAM by 50% and sensitivity slightly). |
| 53 |
Should be enabled both when building the index AND |
| 54 |
when mapping. |
| 55 |
.TP |
| 56 |
rebuild=f |
| 57 |
Force a rebuild of the index (ref= should be set). |
| 58 |
.SS Input Parameters: |
| 59 |
.TP |
| 60 |
build=1 |
| 61 |
Designate index to use. Corresponds to the number |
| 62 |
specified when building the index. |
| 63 |
.TP |
| 64 |
in=<file> |
| 65 |
Primary reads input; required parameter. |
| 66 |
.TP |
| 67 |
in2=<file> |
| 68 |
For paired reads in two files. |
| 69 |
.TP |
| 70 |
interleaved=auto |
| 71 |
True forces paired/interleaved input; false forces |
| 72 |
single\-ended mapping. If not specified, interleaved |
| 73 |
status will be autodetected from read names. |
| 74 |
.TP |
| 75 |
fastareadlen=500 |
| 76 |
Break up FASTA reads longer than this. Max is 500 for |
| 77 |
BBMap and 6000 for BBMapPacBio. |
| 78 |
Only works for FASTA |
| 79 |
input (use 'maxlen' for FASTQ input). |
| 80 |
The default for |
| 81 |
\fBbbmap.sh\fR is 500, and for \fBmapPacBio.sh\fR is 6000. |
| 82 |
.TP |
| 83 |
unpigz=f |
| 84 |
Spawn a pigz (parallel gzip) process for faster |
| 85 |
decompression than using Java. |
| 86 |
Requires pigz to be installed. |
| 87 |
.TP |
| 88 |
touppercase=t |
| 89 |
(tuc) Convert lowercase letters in reads to upper case |
| 90 |
(otherwise they will not match the reference). |
| 91 |
.SS Sampling Parameters: |
| 92 |
.TP |
| 93 |
reads=\-1 |
| 94 |
Set to a positive number N to only process the first N |
| 95 |
reads (or pairs), then quit. |
| 96 |
\fB\-1\fR means use all reads. |
| 97 |
.TP |
| 98 |
samplerate=1 |
| 99 |
Set to a number from 0 to 1 to randomly select that |
| 100 |
fraction of reads for mapping. 1 uses all reads. |
| 101 |
.TP |
| 102 |
skipreads=0 |
| 103 |
Set to a number N to skip the first N reads (or pairs), |
| 104 |
then map the rest. |
| 105 |
.SS Mapping Parameters: |
| 106 |
.TP |
| 107 |
fast=f |
| 108 |
This flag is a macro which sets other parameters to run |
| 109 |
faster, at reduced sensitivity. |
| 110 |
Bad for RNA\-seq. |
| 111 |
.TP |
| 112 |
slow=f |
| 113 |
This flag is a macro which sets other parameters to run |
| 114 |
slower, at greater sensitivity. |
| 115 |
\&'vslow' is even slower. |
| 116 |
.TP |
| 117 |
maxindel=16000 |
| 118 |
Don't look for indels longer than this. Lower is faster. |
| 119 |
.IP |
| 120 |
Set to >=100k for RNAseq with long introns like mammals. |
| 121 |
.TP |
| 122 |
strictmaxindel=f |
| 123 |
When enabled, do not allow indels longer than 'maxindel'. |
| 124 |
.IP |
| 125 |
By default these are not sought, but may be found anyway. |
| 126 |
.TP |
| 127 |
tipsearch=100 |
| 128 |
Look this far for read\-end deletions with anchors |
| 129 |
shorter than K, using brute force. |
| 130 |
.TP |
| 131 |
minid=0.76 |
| 132 |
Approximate minimum alignment identity to look for. |
| 133 |
.IP |
| 134 |
Higher is faster and less sensitive. |
| 135 |
.TP |
| 136 |
minhits=1 |
| 137 |
Minimum number of seed hits required for candidate sites. |
| 138 |
.IP |
| 139 |
Higher is faster. |
| 140 |
.TP |
| 141 |
local=f |
| 142 |
Set to true to use local, rather than global, alignments. |
| 143 |
.IP |
| 144 |
This will soft\-clip ugly ends of poor alignments. |
| 145 |
.TP |
| 146 |
perfectmode=f |
| 147 |
Allow only perfect mappings when set to true (very fast). |
| 148 |
.TP |
| 149 |
semiperfectmode=f |
| 150 |
Allow only perfect and semiperfect (perfect except for |
| 151 |
N's in the reference) mappings. |
| 152 |
.TP |
| 153 |
threads=auto |
| 154 |
(t) Set to number of threads desired. By default, uses |
| 155 |
all cores available. |
| 156 |
.TP |
| 157 |
ambiguous=best |
| 158 |
(ambig) Set behavior on ambiguously\-mapped reads (with |
| 159 |
.IP |
| 160 |
multiple top\-scoring mapping locations). |
| 161 |
.IP |
| 162 |
best (use the first best site) |
| 163 |
.IP |
| 164 |
toss (consider unmapped) |
| 165 |
.IP |
| 166 |
random (select one top\-scoring site randomly) |
| 167 |
.IP |
| 168 |
all (retain all top\-scoring sites) |
| 169 |
.TP |
| 170 |
samestrandpairs=f |
| 171 |
(ssp) Specify whether paired reads should map to the |
| 172 |
same strand or opposite strands. |
| 173 |
.TP |
| 174 |
requirecorrectstrand=t |
| 175 |
(rcs) Forbid pairing of reads without correct strand |
| 176 |
orientation. |
| 177 |
.IP |
| 178 |
Set to false for long\-mate\-pair libraries. |
| 179 |
.TP |
| 180 |
killbadpairs=f |
| 181 |
(kbp) If a read pair is mapped with an inappropriate |
| 182 |
insert size or orientation, the read with the lower |
| 183 |
mapping quality is marked unmapped. |
| 184 |
.TP |
| 185 |
pairedonly=f |
| 186 |
(po) Treat unpaired reads as unmapped. Thus they will |
| 187 |
be sent to 'outu' but not 'outm'. |
| 188 |
.TP |
| 189 |
rcomp=f |
| 190 |
Reverse complement both reads prior to mapping (for LMP |
| 191 |
outward\-facing libraries). |
| 192 |
.TP |
| 193 |
rcompmate=f |
| 194 |
Reverse complement read2 prior to mapping. |
| 195 |
.TP |
| 196 |
pairlen=32000 |
| 197 |
Set max allowed distance between paired reads. |
| 198 |
.IP |
| 199 |
(insert size)=(pairlen)+(read1 length)+(read2 length) |
| 200 |
.TP |
| 201 |
rescuedist=1200 |
| 202 |
Don't try to rescue paired reads if avg. insert size |
| 203 |
greater than this. |
| 204 |
Lower is faster. |
| 205 |
.TP |
| 206 |
rescuemismatches=32 |
| 207 |
Maximum mismatches allowed in a rescued read. Lower |
| 208 |
is faster. |
| 209 |
.TP |
| 210 |
averagepairdist=100 |
| 211 |
(apd) Initial average distance between paired reads. |
| 212 |
.IP |
| 213 |
Varies dynamically; does not need to be specified. |
| 214 |
.TP |
| 215 |
deterministic=f |
| 216 |
Run in deterministic mode. In this case it is good |
| 217 |
to set averagepairdist. |
| 218 |
BBMap is deterministic |
| 219 |
without this flag if using single\-ended reads, |
| 220 |
or run singlethreaded. |
| 221 |
.TP |
| 222 |
bandwidthratio=0 |
| 223 |
(bwr) If above zero, restrict alignment band to this |
| 224 |
fraction of read length. |
| 225 |
Faster but less accurate. |
| 226 |
.TP |
| 227 |
bandwidth=0 |
| 228 |
(bw) Set the bandwidth directly. |
| 229 |
fraction of read length. |
| 230 |
Faster but less accurate. |
| 231 |
.TP |
| 232 |
usejni=f |
| 233 |
(jni) Do alignments faster, in C code. Requires |
| 234 |
compiling the C code; details are in \fI\,/jni/README.txt\/\fP. |
| 235 |
.TP |
| 236 |
maxsites2=800 |
| 237 |
Don't analyze (or print) more than this many alignments |
| 238 |
per read. |
| 239 |
.TP |
| 240 |
ignorefrequentkmers=t |
| 241 |
(ifk) Discard low\-information kmers that occur often. |
| 242 |
.TP |
| 243 |
excludefraction=0.03 |
| 244 |
(ef) Fraction of kmers to ignore. For example, 0.03 |
| 245 |
will ignore the most common 3% of kmers. |
| 246 |
.TP |
| 247 |
greedy=t |
| 248 |
Use a greedy algorithm to discard the least\-useful |
| 249 |
kmers on a per\-read basis. |
| 250 |
.TP |
| 251 |
kfilter=0 |
| 252 |
If positive, potential mapping sites must have at |
| 253 |
least this many consecutive exact matches. |
| 254 |
.SS Quality and Trimming Parameters: |
| 255 |
.TP |
| 256 |
qin=auto |
| 257 |
Set to 33 or 64 to specify input quality value ASCII |
| 258 |
offset. 33 is Sanger, 64 is old Solexa. |
| 259 |
.TP |
| 260 |
qout=auto |
| 261 |
Set to 33 or 64 to specify output quality value ASCII |
| 262 |
offset (only if output format is fastq). |
| 263 |
.TP |
| 264 |
qtrim=f |
| 265 |
Quality-trim ends before mapping. Options are:" |
| 266 |
\&'f' (false), 'l' (left), 'r' (right), and 'lr' (both). |
| 267 |
.TP |
| 268 |
untrim=f |
| 269 |
Undo trimming after mapping. Untrimmed bases will be |
| 270 |
soft\-clipped in cigar strings. |
| 271 |
.TP |
| 272 |
trimq=6 |
| 273 |
Trim regions with average quality below this |
| 274 |
(phred algorithm). |
| 275 |
.TP |
| 276 |
mintrimlength=60 |
| 277 |
(mintl) Don't trim reads to be shorter than this. |
| 278 |
.TP |
| 279 |
fakefastaquality=\-1 |
| 280 |
(ffq) Set to a positive number 1\-50 to generate fake |
| 281 |
quality strings for fasta input reads. |
| 282 |
.TP |
| 283 |
ignorebadquality=f |
| 284 |
(ibq) Keep going, rather than crashing, if a read has |
| 285 |
out\-of\-range quality values. |
| 286 |
.TP |
| 287 |
usequality=t |
| 288 |
Use quality scores when determining which read kmers |
| 289 |
to use as seeds. |
| 290 |
.TP |
| 291 |
minaveragequality=0 |
| 292 |
(maq) Do not map reads with average quality below this. |
| 293 |
.TP |
| 294 |
maqb=0 |
| 295 |
If positive, calculate maq from this many initial bases. |
| 296 |
.SS Output Parameters: |
| 297 |
.TP |
| 298 |
out=<file> |
| 299 |
Write all reads to this file. |
| 300 |
.TP |
| 301 |
outu=<file> |
| 302 |
Write only unmapped reads to this file. Does not |
| 303 |
include unmapped paired reads with a mapped mate. |
| 304 |
.TP |
| 305 |
outm=<file> |
| 306 |
Write only mapped reads to this file. Includes |
| 307 |
unmapped paired reads with a mapped mate. |
| 308 |
.TP |
| 309 |
mappedonly=f |
| 310 |
If true, treats 'out' like 'outm'. |
| 311 |
.TP |
| 312 |
bamscript=<file> |
| 313 |
(bs) Write a shell script to <file> that will turn |
| 314 |
the sam output into a sorted, indexed bam file. |
| 315 |
.TP |
| 316 |
ordered=f |
| 317 |
Set to true to output reads in same order as input. |
| 318 |
Slower and uses more memory. |
| 319 |
.TP |
| 320 |
overwrite=f |
| 321 |
(ow) Allow process to overwrite existing files. |
| 322 |
.TP |
| 323 |
secondary=f |
| 324 |
Print secondary alignments. |
| 325 |
.TP |
| 326 |
sssr=0.95 |
| 327 |
(secondarysitescoreratio) Print only secondary alignments |
| 328 |
with score of at least this fraction of primary. |
| 329 |
.TP |
| 330 |
ssao=f |
| 331 |
(secondarysiteasambiguousonly) Only print secondary |
| 332 |
alignments for ambiguously\-mapped reads. |
| 333 |
.TP |
| 334 |
maxsites=5 |
| 335 |
Maximum number of total alignments to print per read. |
| 336 |
Only relevant when secondary=t. |
| 337 |
.TP |
| 338 |
quickmatch=f |
| 339 |
Generate cigar strings more quickly. |
| 340 |
.TP |
| 341 |
trimreaddescriptions=f |
| 342 |
(trd) Truncate read and ref names at the first whitespace, |
| 343 |
assuming that the remainder is a comment or description. |
| 344 |
.TP |
| 345 |
ziplevel=2 |
| 346 |
(zl) Compression level for zip or gzip output. |
| 347 |
.TP |
| 348 |
pigz=f |
| 349 |
Spawn a pigz (parallel gzip) process for faster |
| 350 |
compression than Java. |
| 351 |
Requires pigz to be installed. |
| 352 |
.TP |
| 353 |
machineout=f |
| 354 |
Set to true to output statistics in machine\-friendly |
| 355 |
\&'key=value' format. |
| 356 |
.TP |
| 357 |
printunmappedcount=f |
| 358 |
Print the total number of unmapped reads and bases. |
| 359 |
.IP |
| 360 |
If input is paired, the number will be of pairs |
| 361 |
for which both reads are unmapped. |
| 362 |
.TP |
| 363 |
showprogress=0 |
| 364 |
If positive, print a '.' every X reads. |
| 365 |
.TP |
| 366 |
showprogress2=0 |
| 367 |
If positive, print the number of seconds since the |
| 368 |
last progress update (instead of a '.'). |
| 369 |
.TP |
| 370 |
renamebyinsert=f |
| 371 |
Renames reads based on their mapped insert size. |
| 372 |
.SS Bloom\-Filtering Parameters (bloomfilter.sh is the standalone version). |
| 373 |
.TP |
| 374 |
bloom=f |
| 375 |
Use a Bloom filter to ignore reads not sharing kmers |
| 376 |
with the reference. |
| 377 |
This uses more memory, but speeds |
| 378 |
mapping when most reads don't match the reference. |
| 379 |
.TP |
| 380 |
bloomhashes=2 |
| 381 |
Number of hash functions. |
| 382 |
.TP |
| 383 |
bloomminhits=3 |
| 384 |
Number of consecutive hits to be considered matched. |
| 385 |
.TP |
| 386 |
bloomk=31 |
| 387 |
Bloom filter kmer length. |
| 388 |
.TP |
| 389 |
bloomserial=t |
| 390 |
Use the serialized Bloom filter for greater loading |
| 391 |
speed, if available. |
| 392 |
If not, generate and write one. |
| 393 |
.SS Post\-Filtering Parameters: |
| 394 |
.TP |
| 395 |
idfilter=0 |
| 396 |
Independent of minid; sets exact minimum identity |
| 397 |
allowed for alignments to be printed. |
| 398 |
Range 0 to 1. |
| 399 |
.TP |
| 400 |
subfilter=\-1 |
| 401 |
Ban alignments with more than this many substitutions. |
| 402 |
.TP |
| 403 |
insfilter=\-1 |
| 404 |
Ban alignments with more than this many insertions. |
| 405 |
.TP |
| 406 |
delfilter=\-1 |
| 407 |
Ban alignments with more than this many deletions. |
| 408 |
.TP |
| 409 |
indelfilter=\-1 |
| 410 |
Ban alignments with more than this many indels. |
| 411 |
.TP |
| 412 |
editfilter=\-1 |
| 413 |
Ban alignments with more than this many edits. |
| 414 |
.TP |
| 415 |
inslenfilter=\-1 |
| 416 |
Ban alignments with an insertion longer than this. |
| 417 |
.TP |
| 418 |
dellenfilter=\-1 |
| 419 |
Ban alignments with a deletion longer than this. |
| 420 |
.TP |
| 421 |
nfilter=\-1 |
| 422 |
Ban alignments with more than this many ns. This |
| 423 |
includes nocall, noref, and off scaffold ends. |
| 424 |
.SS Sam flags and settings: |
| 425 |
.TP |
| 426 |
noheader=f |
| 427 |
Disable generation of header lines. |
| 428 |
.TP |
| 429 |
sam=1.4 |
| 430 |
Set to 1.4 to write Sam version 1.4 cigar strings, |
| 431 |
with = and X, or 1.3 to use M. |
| 432 |
.TP |
| 433 |
saa=t |
| 434 |
(secondaryalignmentasterisks) Use asterisks instead of |
| 435 |
bases for sam secondary alignments. |
| 436 |
.TP |
| 437 |
cigar=t |
| 438 |
Set to 'f' to skip generation of cigar strings (faster). |
| 439 |
.TP |
| 440 |
keepnames=f |
| 441 |
Keep original names of paired reads, rather than |
| 442 |
ensuring both reads have the same name. |
| 443 |
.TP |
| 444 |
intronlen=999999999 |
| 445 |
Set to a lower number like 10 to change 'D' to 'N' in |
| 446 |
cigar strings for deletions of at least that length. |
| 447 |
.TP |
| 448 |
rgid= |
| 449 |
Set readgroup ID. All other readgroup fields |
| 450 |
can be set similarly, with the flag rgXX= |
| 451 |
If you set a readgroup flag to the word 'filename', |
| 452 |
e.g. rgid=filename, the input file name will be used. |
| 453 |
.TP |
| 454 |
mdtag=f |
| 455 |
Write MD tags. |
| 456 |
.TP |
| 457 |
nhtag=f |
| 458 |
Write NH tags. |
| 459 |
.TP |
| 460 |
xmtag=f |
| 461 |
Write XM tags (may only work correctly with ambig=all). |
| 462 |
.TP |
| 463 |
amtag=f |
| 464 |
Write AM tags. |
| 465 |
.TP |
| 466 |
nmtag=f |
| 467 |
Write NM tags. |
| 468 |
.TP |
| 469 |
xstag=f |
| 470 |
Set to 'xs=fs', 'xs=ss', or 'xs=us' to write XS tags |
| 471 |
for RNAseq using firststrand, secondstrand, or |
| 472 |
unstranded libraries. Needed by Cufflinks. |
| 473 |
JGI mainly uses 'firststrand'. |
| 474 |
.TP |
| 475 |
stoptag=f |
| 476 |
Write a tag indicating read stop location, prefixed by YS:i: |
| 477 |
.TP |
| 478 |
lengthtag=f |
| 479 |
Write a tag indicating (query,ref) alignment lengths, |
| 480 |
prefixed by YL:Z: |
| 481 |
.TP |
| 482 |
idtag=f |
| 483 |
Write a tag indicating percent identity, prefixed by YI:f: |
| 484 |
.TP |
| 485 |
inserttag=f |
| 486 |
Write a tag indicating insert size, prefixed by X8:Z: |
| 487 |
.TP |
| 488 |
scoretag=f |
| 489 |
Write a tag indicating BBMap's raw score, prefixed by YR:i: |
| 490 |
.TP |
| 491 |
timetag=f |
| 492 |
Write a tag indicating this read's mapping time, prefixed by X0:i: |
| 493 |
.TP |
| 494 |
boundstag=f |
| 495 |
Write a tag indicating whether either read in the pair |
| 496 |
goes off the end of the reference, prefixed by XB:Z: |
| 497 |
.TP |
| 498 |
notags=f |
| 499 |
Turn off all optional tags. |
| 500 |
.SS Histogram and statistics output parameters: |
| 501 |
.TP |
| 502 |
scafstats=<file> |
| 503 |
Statistics on how many reads mapped to which scaffold. |
| 504 |
.TP |
| 505 |
refstats=<file> |
| 506 |
Statistics on how many reads mapped to which reference |
| 507 |
file; only for BBSplit. |
| 508 |
.TP |
| 509 |
sortscafs=t |
| 510 |
Sort scaffolds or references by read count. |
| 511 |
.TP |
| 512 |
bhist=<file> |
| 513 |
Base composition histogram by position. |
| 514 |
.TP |
| 515 |
qhist=<file> |
| 516 |
Quality histogram by position. |
| 517 |
.TP |
| 518 |
aqhist=<file> |
| 519 |
Histogram of average read quality. |
| 520 |
.TP |
| 521 |
bqhist=<file> |
| 522 |
Quality histogram designed for box plots. |
| 523 |
.TP |
| 524 |
lhist=<file> |
| 525 |
Read length histogram. |
| 526 |
.TP |
| 527 |
ihist=<file> |
| 528 |
Write histogram of insert sizes (for paired reads). |
| 529 |
.TP |
| 530 |
ehist=<file> |
| 531 |
Errors\-per\-read histogram. |
| 532 |
.TP |
| 533 |
qahist=<file> |
| 534 |
Quality accuracy histogram of error rates versus |
| 535 |
quality score. |
| 536 |
.TP |
| 537 |
indelhist=<file> |
| 538 |
Indel length histogram. |
| 539 |
.TP |
| 540 |
mhist=<file> |
| 541 |
Histogram of match, sub, del, and ins rates by |
| 542 |
read location. |
| 543 |
.TP |
| 544 |
gchist=<file> |
| 545 |
Read GC content histogram. |
| 546 |
.TP |
| 547 |
gcbins=100 |
| 548 |
Number gchist bins. Set to 'auto' to use read length. |
| 549 |
.TP |
| 550 |
gcpairs=t |
| 551 |
Use average GC of paired reads. |
| 552 |
.TP |
| 553 |
idhist=<file> |
| 554 |
Histogram of read count versus percent identity. |
| 555 |
.TP |
| 556 |
idbins=100 |
| 557 |
Number idhist bins. Set to 'auto' to use read length. |
| 558 |
.TP |
| 559 |
statsfile=stderr |
| 560 |
Mapping statistics are printed here. |
| 561 |
.SS Coverage output parameters (these may reduce speed and use more RAM): |
| 562 |
.TP |
| 563 |
covstats=<file> |
| 564 |
Per\-scaffold coverage info. |
| 565 |
.TP |
| 566 |
rpkm=<file> |
| 567 |
Per\-scaffold RPKM/FPKM counts. |
| 568 |
.TP |
| 569 |
covhist=<file> |
| 570 |
Histogram of # occurrences of each depth level. |
| 571 |
.TP |
| 572 |
basecov=<file> |
| 573 |
Coverage per base location. |
| 574 |
.TP |
| 575 |
bincov=<file> |
| 576 |
Print binned coverage per location (one line per X bases). |
| 577 |
.TP |
| 578 |
covbinsize=1000 |
| 579 |
Set the binsize for binned coverage output. |
| 580 |
.TP |
| 581 |
nzo=t |
| 582 |
Only print scaffolds with nonzero coverage. |
| 583 |
.TP |
| 584 |
twocolumn=f |
| 585 |
Change to true to print only ID and Avg_fold instead of |
| 586 |
all 6 columns to the 'out=' file. |
| 587 |
.TP |
| 588 |
32bit=f |
| 589 |
Set to true if you need per\-base coverage over 64k. |
| 590 |
.TP |
| 591 |
strandedcov=f |
| 592 |
Track coverage for plus and minus strand independently. |
| 593 |
.TP |
| 594 |
startcov=f |
| 595 |
Only track start positions of reads. |
| 596 |
.TP |
| 597 |
secondarycov=t |
| 598 |
Include coverage of secondary alignments. |
| 599 |
.TP |
| 600 |
physcov=f |
| 601 |
Calculate physical coverage for paired reads. |
| 602 |
This includes the unsequenced bases. |
| 603 |
.TP |
| 604 |
delcoverage=t |
| 605 |
(delcov) Count bases covered by deletions as covered. |
| 606 |
True is faster than false. |
| 607 |
.TP |
| 608 |
covk=0 |
| 609 |
If positive, calculate kmer coverage statistics. |
| 610 |
.SS Java Parameters: |
| 611 |
.TP |
| 612 |
\fB\-Xmx\fR |
| 613 |
This will set Java's memory usage, |
| 614 |
overriding autodetection. |
| 615 |
\fB\-Xmx20g\fR will specify 20 gigs of RAM, and \fB\-Xmx800m\fR |
| 616 |
will specify 800 megs. The max is typically 85% of |
| 617 |
physical memory. The human genome requires around 24g, |
| 618 |
or 12g with the 'usemodulo' flag. The index uses |
| 619 |
roughly 6 bytes per reference base. |
| 620 |
.TP |
| 621 |
\fB\-eoom\fR |
| 622 |
This flag will cause the process to exit if an |
| 623 |
out\-of\-memory exception occurs. |
| 624 |
Requires Java 8u92+. |
| 625 |
.TP |
| 626 |
\fB\-da\fR |
| 627 |
Disable assertions. |
| 628 |
.SH SEE ALSO |
| 629 |
Please read bbmap/docs/guides/BBMapGuide.txt for more information. |
| 630 |
.SH AUTHOR |
| 631 |
Written by Brian Bushnell, from Dec. 2010 \- present |
| 632 |
.P |
| 633 |
Please contact Brian Bushnell at [email protected] if you encounter |
| 634 |
any problems, or post at: http://seqanswers.com/forums/showthread.php?t=41057 |
| 635 |
.P |
| 636 |
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. |