Skip to content

ATAC-seq

tinymapper -m ATAC maps an ATAC-seq sample, makes its track and calls its peaks, as the ChIP-seq mode does for a sample without an input.

A run

tinymapper -m ATAC -s ~/reads/JS001 -g ~/genomes/W303/W303 -o ~/results

What it does

  1. Mapping: bwa-mem2 maps the reads to the genome.
  2. Filtering: samtools marks the duplicates and removes them from paired-end reads, then keeps the reads --filter keeps.
  3. Track: deepTools' bamCoverage makes the coverage, in counts per million mapped reads (CPM).
  4. Peaks: MACS3 calls the peaks, from pairs (--format BAMPE) or single reads (--format BAM), with the effective genome size --gsize.

What it writes

In --output, for a sample JS001 (File names):

  • bam/genome/JS001/: the filtered BAM;
  • tracks/JS001/: ….CPM.bw;
  • peaks/JS001/: MACS3's JS001_genome-W303_<hash>_peaks.narrowPeak, _peaks.xls and _summits.bed;
  • stats/JS001/: the statistics;
  • JS001.report.txt, .report_mqc.yaml, .report.html: the report, with the sections [reads], [peaks] (the peaks, and the fraction of reads in them, FRiP) and [fragments] (the fragments' sizes, whose nucleosomal ladder tells how the library was made) (The report of a run).

Single-end reads

Without an R2, the run maps single-end reads, and --extend-reads gives the fragment length to which the track extends them. MACS3 then reads them as single reads, and the report has no fragment sizes.