samtools-rmdup - Man Page

removes duplicate reads (obsolete)

Synopsis

samtools rmdup [-sS] input.srt.bam out.bam

Description

This command is obsolete. Use markdup instead.

Remove potential PCR duplicates: if multiple read pairs have identical external coordinates, only retain the pair with highest mapping quality. In the paired-end mode, this command ONLY works with FR orientation and requires ISIZE is correctly set. It does not work for unpaired reads (e.g. two ends mapped to different chromosomes or orphan reads).

Options

-s

Remove duplicates for single-end reads. By default, the command works for paired-end reads only.

-S

Treat paired-end reads and single-end reads.

Limitations

Author

Written by Heng Li from the Sanger Institute.

See Also

samtools(1)

Samtools website: <http://www.htslib.org/>

Referenced By

samtools(1).

7 April 2022 samtools-1.15.1 Bioinformatics tools