Compare commits
3 Commits
ab7da8a7d7
...
6175ce9a83
| Author | SHA1 | Date |
|---|---|---|
|
|
6175ce9a83 | |
|
|
8cbff0ff69 | |
|
|
49ecf7ae5f |
26
README.md
26
README.md
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
Identifies duplicate reads. This tool locates and tags duplicate reads in a coordinate ordered SAM or BAM file.
|
Identifies duplicate reads. This tool locates and tags duplicate reads in a coordinate ordered SAM or BAM file.
|
||||||
|
|
||||||
Use the same algorithm as picard MarkDuplicates and output identical results.
|
Use the same algorithm as picard MarkDuplicates and output identical results, and use spdlog as log tool and the default level is 'info'.
|
||||||
Use spdlog as log tool and the default level is 'info'.
|
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
@ -30,20 +29,13 @@ Use spdlog as log tool and the default level is 'info'.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
### Build tools
|
Install following tools and required libraries.
|
||||||
|
|
||||||
* autoconf (for htslib)
|
```bash
|
||||||
* cmake
|
# install autoconf (for htslib), cmake, c++17 (gcc >= 8.1 or clang >= 7 should work), zlib, libbz2, liblzma, libcurl, libdeflate (optional)
|
||||||
* c++17 (gcc >= 8.1 or clang >= 7 should work.)
|
sudo apt update
|
||||||
|
sudo apt install autoconf cmake g++-8 zlib1g-dev libbz2-dev liblzma-dev libcurl4-openssl-dev libdeflate-dev gcc-8 g++-8
|
||||||
### Libraries needed
|
```
|
||||||
|
|
||||||
* zlib
|
|
||||||
* libbz2
|
|
||||||
* liblzma
|
|
||||||
* libcurl
|
|
||||||
* OpenSSL
|
|
||||||
* libdeflate (optional)
|
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|
@ -67,13 +59,13 @@ The generated binary fastdup will be in the build/bin folder.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
1. get help
|
Get help
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./fastdup --help
|
./fastdup --help
|
||||||
```
|
```
|
||||||
|
|
||||||
2. mark duplicates on an input BAM file using 8 threads
|
Mark duplicates on an input BAM file using 8 threads
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./fastdup --input in_test.bam --output out_md.bam --metrics stats.txt --num-threads 8
|
./fastdup --input in_test.bam --output out_md.bam --metrics stats.txt --num-threads 8
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue