RNA-seq¶
tinymapper -m RNA maps an RNA-seq sample with STAR, and makes its tracks:
unstranded, and one per strand.
A run¶
The genome needs STAR's index, in ~/genomes/W303/W303/STAR/
(Installation).
What it does¶
- Mapping: STAR maps the reads, spliced, and keeps the mapped ones.
- Duplicates: samtools flags them, and keeps every alignment in the BAM,
for quantification; the tracks leave them out (but with
--duplicates). - Tracks: deepTools'
bamCoveragemakes three tracks, in counts per million mapped reads (CPM): unstranded, forward and reverse. The stranded tracks split the reads as a dUTP library reads them (--filterRNAstrand).
What it writes¶
In --output, for a sample JS001 (File names):
bam/genome/JS001/: STAR's BAM,…^mapped_W303^<hash>.bam, beside STAR's.Log.out,.Log.progress.outand.SJ.out.tab, and the sorted BAM with its duplicates flagged,…^filtered^<hash>.bam;tracks/JS001/:….unstranded.CPM.bw,….fwd.CPM.bwand….rev.CPM.bw;stats/JS001/: the statistics, with STAR's summary,JS001.Log.final.out, which MultiQC's STAR module reads;JS001.report.txt,.report_mqc.yaml,.report.html: the report, with the sections[reads]and[strands], the reads on each strand (The report of a run).
Until 0.15.0, STAR's summary stayed in bam/genome/<sample>/, as
…^mapped_<genome>^<hash>.bam.Log.final.out.
Single-end reads¶
Single-end reads are mapped as such. The tracks extend them to
--extend-reads when it is given, and leave them as they are otherwise.