tRNA Analysis¶
The tRNA Analysis module quantifies tRNA genes and tests them for differential expression.
Overview¶
tRNA genes are densely modified and highly repetitive, requiring specialized alignment strategies to avoid mapping biases.
Workflow¶
graph LR
B[STAR sorted BAM] --> S[bedtools coverage]
G[GtRNAdb tRNA BED] --> S
S --> SM[tRNA_matrix_standard.txt]
T[Trimmed FASTQ] --> M[mimseq]
G --> I[mimseq index]
I --> M
M --> MM[tRNA_matrix_mimseq.txt]
SM --> D[DESeq2]
MM --> D
D --> V[datavzrd report]
Only one branch runs, selected by tRNA_quantification.method.
tRNA Quantification¶
standard (default)¶
Reads from the STAR genome alignment (Alignment) are counted over the
GtRNAdb tRNA gene coordinates with bedtools coverage, one BED per sample, and the
results are combined into a count matrix.
mim-tRNA-seq (opt-in)¶
With method: mim-tRNA-seq the pipeline runs
mim-tRNA-seq instead: it builds a
mimseq index from the genome FASTA and the GtRNAdb annotation (clustering tRNAs at
cluster_identity), aligns the trimmed reads of each sample with mimseq, and merges
the per-sample cluster counts into a matrix. Use it only for libraries prepared with the
mim-tRNA-seq protocol.
Differential expression¶
The count matrix goes to DESeq2 with the comparison's deseq2.variable and
deseq2.reference_level (see Quantification & DE), and the
results to an interactive datavzrd report.
tRNA Annotation¶
The pipeline uses annotations from GtRNAdb, which are highly
curated and provide detailed information on tRNA isoacceptors and isodecoders. They are
downloaded automatically for mm10 and mm39 only; any other genome requires
disable_tRNA_analysis: true (see Reference Management).
Set disable_tRNA_analysis: true to skip the module.
Parameters & Defaults¶
| Parameter | Default | Description |
|---|---|---|
tRNA_quantification.method |
standard |
standard or mim-tRNA-seq. |
tRNA_quantification.mimseq_params.max_mismatches |
0.1 |
mimseq --max-mismatches: a fraction of read length (< 1) or a number of mismatches (>= 1). |
tRNA_quantification.mimseq_params.cluster_identity |
0.95 |
mimseq --cluster-id, applied when the index is built. |
tRNA_quantification.mimseq_params.min_cov |
10 |
mimseq --min-cov. |
Keys left out of mimseq_params, or the whole block, take these defaults.
Results¶
results/ stands for globals.results_folder; <method> is standard or mimseq.
| Location | Description |
|---|---|
results/tRNA_coverage/<comparison>/<sample>.bed |
Per-sample tRNA coverage (standard). |
results/tRNA_coverage/mimseq_<comparison>/<sample>/ |
Per-sample mimseq output (mim-tRNA-seq). |
results/tRNA_coverage/<comparison>/tRNA_matrix_<method>.txt |
Count matrix. |
results/tRNA_coverage/<comparison>/tRNA_dds_<method>.rds |
DESeq2 object. |
results/tRNA_coverage/<comparison>/tRNA_lfc_<method>.csv |
DESeq2 results. |
results/tRNA_coverage/<comparison>/datavzrd_<method>/ |
Interactive report. |
results/references/gtrnadb/ |
Downloaded tRNA annotations; the mimseq index goes to mimseq_index/ here. |