-
Notifications
You must be signed in to change notification settings - Fork 107
[sambamba merge] documentation
lomereiter edited this page Aug 9, 2012
·
1 revision
sambamba-merge
- tool for merging several BAM files into one
sambamba-merge
[OPTIONS] <output.bam> <input1.bam> <input2.bam> [...]
sambamba-merge
is used for merging several sorted BAM files into one.
The sorting order of all the files must be the same, and it is maintained in the output file.
SAM headers are merged automatically like in Picard merging tool.
-
-t
,--nthreads
=NUM_OF_THREADS: -
Specify number of threads to use for compression/decompression tasks.
-
-l
,--compression-level
=COMPRESSION_LEVEL: -
Specify compression level of output file as a number from 0 to 9
-
-H
,--header
: -
Output only merged header to stdout in SAM format (e.g. for debugging purposes). Other options are ignored.
-
-p
,--show-progress
: -
Show progressbar in STDERR.