Compare commits
No commits in common. "6175ce9a830b5e74dbf38535c58cc9b2cd422b56" and "ab7da8a7d711db2654ca6e658ae74b02565ae9ea" have entirely different histories.
6175ce9a83
...
ab7da8a7d7
26
README.md
26
README.md
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
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, and use spdlog as log tool and the default level is 'info'.
|
Use the same algorithm as picard MarkDuplicates and output identical results.
|
||||||
|
Use spdlog as log tool and the default level is 'info'.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
@ -29,13 +30,20 @@ Use the same algorithm as picard MarkDuplicates and output identical results, an
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Install following tools and required libraries.
|
### Build tools
|
||||||
|
|
||||||
```bash
|
* autoconf (for htslib)
|
||||||
# install autoconf (for htslib), cmake, c++17 (gcc >= 8.1 or clang >= 7 should work), zlib, libbz2, liblzma, libcurl, libdeflate (optional)
|
* cmake
|
||||||
sudo apt update
|
* c++17 (gcc >= 8.1 or clang >= 7 should work.)
|
||||||
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
|
||||||
|
|
||||||
|
|
@ -59,13 +67,13 @@ The generated binary fastdup will be in the build/bin folder.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Get help
|
1. get help
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./fastdup --help
|
./fastdup --help
|
||||||
```
|
```
|
||||||
|
|
||||||
Mark duplicates on an input BAM file using 8 threads
|
2. 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