Skip to content

Commit 8fc40d0

Browse files
committed
fixed a bug in markdup; updated docs
1 parent 24b81cc commit 8fc40d0

16 files changed

Lines changed: 376 additions & 258 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
D_COMPILER=dmd
2-
D_FLAGS=-IBioD -O -release -inline -g -version=serial
2+
D_FLAGS=-IBioD #-O -release -inline -g# -version=serial
33

44
RDMD_FLAGS=--compiler=$(D_COMPILER) --build-only $(D_FLAGS)
55

man/sambamba-flagstat.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" generated with Ronn/v0.7.3
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
4-
.TH "SAMBAMBA\-FLAGSTAT" "1" "April 2013" "" ""
4+
.TH "SAMBAMBA\-FLAGSTAT" "1" "July 2013" "" ""
55
.
66
.SH "NAME"
77
\fBsambamba\-flagstat\fR \- getting flag statistics from BAM file

man/sambamba-flagstat.1.ronn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sambamba-flagstat(1) -- getting flag statistics from BAM file
33

44
## SYNOPSIS
55

6-
`sambamba-flagstat` [OPTIONS] <input.bam>
6+
`sambamba flagstat` [OPTIONS] <input.bam>
77

88
## DESCRIPTION
99

@@ -28,7 +28,7 @@ QC-failed ones:
2828
## OPTIONS
2929

3030
* `-t`, `--nthreads`=<NTHREADS>:
31-
Specify number of threads to use for BAM decompression
31+
Specify number of threads to use for BAM decompression
3232

3333
* `-p`, `--show-progress`:
34-
Show progressbar in STDERR
34+
Show progressbar in STDERR

man/sambamba-index.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" generated with Ronn/v0.7.3
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
4-
.TH "SAMBAMBA\-INDEX" "1" "April 2013" "" ""
4+
.TH "SAMBAMBA\-INDEX" "1" "July 2013" "" ""
55
.
66
.SH "NAME"
77
\fBsambamba\-index\fR \- tool for building standard index files for BAM data

man/sambamba-index.1.ronn

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ sambamba-index(1) -- tool for building standard index files for BAM data
33

44
## SYNOPSIS
55

6-
`sambamba-index` [`-p`|`--show-progress`] [`-n`|`--threads`=NTHREADS] <input.bam> [<output.bai>]
6+
`sambamba index` [`-p`|`--show-progress`] [`-n`|`--threads`=NTHREADS] <input.bam> [<output.bai>]
77

88
## DESCRIPTION
99

10-
`sambamba-index` builds an index for a sorted by coordinate BAM file.
10+
`sambamba index` builds an index for a sorted by coordinate BAM file.
1111
This step is required for effective region querying in most tools for working
1212
with BAM data.
1313

@@ -28,8 +28,8 @@ argument.
2828

2929
Build index file example.bam.bai given a sorted BAM file example.bam:
3030

31-
$ sambamba-index example.bam
31+
$ sambamba index example.bam
3232

3333
Build index file at custom location showing progress:
3434

35-
$ sambamba-index --show-progress example.bam /tmp/example.bam.bai
35+
$ sambamba index --show-progress example.bam /tmp/example.bam.bai

man/sambamba-markdup.1.ronn

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
sambamba-markdup(1) -- finding duplicate reads in BAM file
2+
=============================================================
3+
4+
## SYNOPSIS
5+
6+
`sambamba markdup` [OPTIONS] <input.bam> <output.bam>
7+
8+
## DESCRIPTION
9+
10+
Marks (by default) or removes duplicate reads. For determining
11+
whether a read is a duplicate or not, the same criteria as in Picard
12+
are used.
13+
14+
## OPTIONS
15+
16+
* `-r`, `--remove-duplicates`:
17+
remove duplicates instead of just marking them
18+
19+
* `-t`, `--nthreads`=<NTHREADS>:
20+
number of threads to use
21+
22+
* `-l`, `--compression-level`=<N>:
23+
specify compression level of the resulting file (from 0 to 9)");
24+
25+
* `-p`, `--show-progress`:
26+
show progressbar in STDERR
27+
28+
* `--tmpdir`=<TMPDIR>:
29+
specify directory for temporary files; default is `/tmp`
30+
31+
* `--hash-table-size`=<HASHTABLESIZE>:
32+
size of hash table for finding read pairs (default is 262144 reads);
33+
will be rounded down to the nearest power of two;
34+
should be `> (average coverage) * (insert size)` for good performance
35+
36+
* `--overflow-list-size`=<OVERFLOWLISTSIZE>:
37+
size of the overflow list where reads, thrown away from the hash table,
38+
get a second chance to meet their pairs (default is 200000 reads);
39+
increasing the size reduces the number of temporary files created
40+
41+
* `--io-buffer-size`=<BUFFERSIZE>:
42+
controls sizes of two buffers of BUFFERSIZE *megabytes* each, used
43+
for reading and writing BAM during the second pass (default is 128)
44+
45+
## BUGS
46+
47+
External sort is not implemented.
48+
Thus, memory consumption grows by 2Gb per each 100M reads.
49+
Check that you have enough RAM before running the tool.

man/sambamba-merge.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" generated with Ronn/v0.7.3
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
4-
.TH "SAMBAMBA\-MERGE" "1" "April 2013" "" ""
4+
.TH "SAMBAMBA\-MERGE" "1" "July 2013" "" ""
55
.
66
.SH "NAME"
77
\fBsambamba\-merge\fR \- tool for merging several BAM files into one

man/sambamba-merge.1.ronn

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@ sambamba-merge(1) -- tool for merging several BAM files into one
33

44
## SYNOPSIS
55

6-
`sambamba-merge` [OPTIONS] <output.bam> <input1.bam> <input2.bam> [...]
6+
`sambamba merge` [OPTIONS] <output.bam> <input1.bam> <input2.bam> [...]
77

88
## DESCRIPTION
99

10-
`sambamba-merge` is used for merging several sorted BAM files into one.
10+
`sambamba merge` is used for merging several sorted BAM files into one.
1111
The sorting order of all the files must be the same, and it is maintained in the output file.
1212

1313
SAM headers are merged automatically like in Picard merging tool.
1414

1515
## OPTIONS
1616

1717
* `-t`, `--nthreads`=<NTHREADS>:
18-
Specify number of threads to use for compression/decompression tasks.
18+
Specify number of threads to use for compression/decompression tasks.
1919

2020
* `-l`, `--compression-level`=<COMPRESSION_LEVEL>:
21-
Specify compression level of output file as a number from 0 to 9
21+
Specify compression level of output file as a number from 0 to 9
2222

2323
* `-H`, `--header`:
24-
Output only merged header to stdout in SAM format (e.g. for debugging purposes).
25-
Other options are ignored.
24+
Output only merged header to stdout in SAM format (e.g. for debugging purposes).
25+
Other options are ignored.
2626

2727
* `-p`, `--show-progress`:
28-
Show progressbar in STDERR.
28+
Show progressbar in STDERR.

man/sambamba-slice.1

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" generated with Ronn/v0.7.3
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
4-
.TH "SAMBAMBA\-SLICE" "1" "December 2012" "" ""
4+
.TH "SAMBAMBA\-SLICE" "1" "July 2013" "" ""
55
.
66
.SH "NAME"
77
\fBsambamba\-slice\fR \- copying a slice of BAM file
@@ -17,10 +17,7 @@ While the same can be done with \fIsambamba\-view\fR, that would be much slower
1717
.
1818
.SH "OPTIONS"
1919
.
20-
.nf
20+
.TP
21+
\fB\-o\fR, \fB\-\-output\-filename\fR=\fIOUTPUTFILE\fR
2122

22-
* `\-o`, `\-\-output\-filename`=<OUTPUTFILE>:
23-
Name of output file
24-
.
25-
.fi
2623

man/sambamba-slice.1.ronn

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sambamba-slice(1) -- copying a slice of BAM file
33

44
## SYNOPSIS
55

6-
`sambamba-slice` [OPTIONS] <input.bam> <region>
6+
`sambamba slice` [OPTIONS] <input.bam> <region>
77

88
## DESCRIPTION
99

@@ -23,5 +23,4 @@ compression level - most of the time is spent on I/O operations.
2323
## OPTIONS
2424

2525
* `-o`, `--output-filename`=<OUTPUTFILE>:
26-
Name of output file
27-
26+
Name of output file

0 commit comments

Comments
 (0)