Compare commits

...

3 Commits

Author SHA1 Message Date
zzh 6175ce9a83 Merge branch 'main' of https://github.com/zzhofict/FastDup 2025-04-23 15:02:54 +08:00
liyewen521 8cbff0ff69 update readme 2025-04-16 14:38:56 +00:00
liyewen521 49ecf7ae5f update readme 2025-04-16 14:38:43 +00:00
1 changed files with 9 additions and 17 deletions

View File

@ -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