Shotgun¶
tinymapper -m shotgun maps shotgun (whole-genome) sequencing reads and makes
their coverage track.
A run¶
What it does¶
- Mapping: bwa-mem2 maps the pairs to the genome.
- Filtering: samtools removes the duplicates and keeps the reads
--filterkeeps. - Track: deepTools'
bamCoveragemakes the coverage, in counts per million mapped reads (CPM), each pair extended to its fragment.
What it writes¶
In --output, for a sample JS001 (File names):
bam/genome/JS001/: the filtered BAM;tracks/JS001/:….CPM.bw;stats/JS001/: the statistics;JS001.report.txt,.report_mqc.yaml,.report.html: the report, with the section[reads](The report of a run).
Single-end reads¶
A lone R1 is mapped as single-end reads. --as-single-end maps the two reads
of each pair as single-end reads too, as the shotgun mode did before 0.14.24.
Both need --extend-reads, the fragment length to which the track extends the
reads:
Their duplicates are flagged, not removed, and left out of the track.