logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

samtools-rmdup - removes duplicate reads (obsolete)

Author

       Written by Heng Li from the Sanger Institute.

Description

Thiscommandisobsolete.Usemarkdupinstead.

       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).

Limitations

       o Samtools paired-end rmdup does not work for unpaired  reads  (e.g.  orphan  reads  or  ends  mapped  to
         different  chromosomes).  If  this  is  a  concern,  please use Picard's MarkDuplicates which correctly
         handles these cases, although a little slower.

Name

       samtools-rmdup - removes duplicate reads (obsolete)

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.

See Also

samtools(1)

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

samtools-1.21                                   12 September 2024                              samtools-rmdup(1)

Synopsis

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

See Also