1samtools-fixmate(1) Bioinformatics tools samtools-fixmate(1)
2
3
4
6 samtools fixmate - fills in mate coordinates and insert size fields.
7
9 samtools fixmate [-rpcmu] [-O format] in.nameSrt.bam out.bam
10
11
13 Fill in mate coordinates, ISIZE and mate related flags from a name-
14 sorted or name-collated alignment.
15
16
18 -r Remove secondary and unmapped reads.
19
20 -p Disable FR proper pair check.
21
22 -c Add template cigar ct tag.
23
24 -m Add ms (mate score) tags. These are used by markdup to se‐
25 lect the best reads to keep.
26
27 -u Output uncompressed BAM or CRAM.
28
29 -O FORMAT Write the final output as sam, bam, or cram.
30
31 By default, samtools tries to select a format based on the
32 output filename extension; if output is to standard output
33 or no format can be deduced, bam is selected.
34
35 --no-PG Do not add a @PG line to the header of the output file.
36
37 -@, --threads INT
38 Number of input/output compression threads to use in addi‐
39 tion to main thread [0].
40
41
43 Written by Heng Li from the Sanger Institute.
44
45
47 samtools(1), samtools-markdup(1), samtools-sort(1), samtools-collate(1)
48
49 Samtools website: <http://www.htslib.org/>
50
51
52
53samtools-1.13 7 July 2021 samtools-fixmate(1)