Chapter 5 Run the STAR workflow
5.2 What is already included
Do not rerun these components in separate chapters. STAR mode runall already performs:
- fastp quality control;
- STAR alignment and gene counting;
- merged gene counts, count-to-TPM conversion, and log2 transformation of the TPM matrix;
- signature scoring;
- six-method TME panel: run CIBERSORT, IPS, ESTIMATE, MCPcounter, quanTIseq, and EPIC, then merge their outputs;
- ligand-receptor scoring;
- TRUST4 TCR/BCR analysis.
5.3 Output contract
results/PRJDB16684/
├── 01-qc/
├── 02-star/
│ ├── <sample>_Aligned.sortedByCoord.out.bam
│ ├── <sample>_ReadsPerGene.out.tab
│ └── PRJDB16684.STAR.count.tsv.gz
├── 03-tpm/
│ ├── count2tpm.csv
│ └── tpm_matrix.csv
├── 04-signatures/calculate_sig_score.csv
├── 05-tme/
│ ├── cibersort_results.csv
│ ├── IPS_results.csv
│ ├── estimate_results.csv
│ ├── mcpcounter_results.csv
│ ├── quantiseq_results.csv
│ ├── epic_results.csv
│ └── deconvo_merged.csv
├── 06-LR_cal/lr_cal.csv
└── 07-TCRBCR/
├── <sample>/<sample>_report.tsv
├── trust4_immdata.csv
└── trust4_immune_indices.csv
The standalone analyses chapter reuses three outputs:
03-tpm/tpm_matrix.csvfor the BayesPrism teaching run;05-tme/cibersort_results.csvfor TME clustering;02-star/*_Aligned.sortedByCoord.out.bamfor HLA typing.