Compare commits

..

No commits in common. "6175ce9a830b5e74dbf38535c58cc9b2cd422b56" and "ab7da8a7d711db2654ca6e658ae74b02565ae9ea" have entirely different histories.

1 changed files with 17 additions and 9 deletions

View File

@ -2,7 +2,8 @@
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
@ -29,13 +30,20 @@ Use the same algorithm as picard MarkDuplicates and output identical results, an
## Requirements
Install following tools and required libraries.
### Build tools
```bash
# install autoconf (for htslib), cmake, c++17 (gcc >= 8.1 or clang >= 7 should work), zlib, libbz2, liblzma, libcurl, libdeflate (optional)
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
```
* autoconf (for htslib)
* cmake
* c++17 (gcc >= 8.1 or clang >= 7 should work.)
### Libraries needed
* zlib
* libbz2
* liblzma
* libcurl
* OpenSSL
* libdeflate (optional)
## Install
@ -59,13 +67,13 @@ The generated binary fastdup will be in the build/bin folder.
## Usage
Get help
1. get help
```bash
./fastdup --help
```
Mark duplicates on an input BAM file using 8 threads
2. mark duplicates on an input BAM file using 8 threads
```bash
./fastdup --input in_test.bam --output out_md.bam --metrics stats.txt --num-threads 8