ifnb analysis as the laptop notebooks, but as SLURM batch jobs.01–08 scripts as a chained pipeline of batch jobsrun_rscript.sbatch wrapper and run_core_pipeline.sbatchifnb and what DATA_DIR is forifnb yields real biology, not a null result01–08: each output feeds the nextifnb object..rds/.csv and writes the next one’s input.ifnb itself, fetched by script 01 (I have also already loaded it for you).| Script | Reads | Writes |
|---|---|---|
01_qc_preprocessing |
muscData::Kang18_8vs8() |
ifnb_preprocessed.rds |
02_dimreduction_clustering |
ifnb_preprocessed.rds |
ifnb_clustered.rds |
03_markers_annotation |
ifnb_clustered.rds |
ifnb_annotated.rds |
04_reference_annotation |
ifnb_annotated.rds |
ifnb_annotated_final.rds |
05_integration |
ifnb_annotated_final.rds |
ifnb_integrated.rds |
06_pseudobulk_de |
ifnb_integrated.rds |
ifnb_pseudobulk_de.csv |
07_functional_analysis |
ifnb_pseudobulk_de.csv |
functional/*.csv |
08_differential_abundance |
ifnb_integrated.rds |
ifnb_milo_da.csv |
.rds hand-offs?.rds is a checkpoint — a fully-formed Seurat object on disk..out log for the Wrote ... line.seff <jobid> and confirm State: COMPLETED (not OUT_OF_MEMORY / TIMEOUT)..rds that poisons the next step.run_sc_pipeline.sbatch — the whole series at oncesbatch run_sc_pipeline.sbatchpseudobulk_de) and 08 (differential_abundance) use more RAM — override with --mem=96G.COMPLETED — a job killed mid-write leaves a corrupt .rds that poisons the chain.ifnb01 downloads ifnb (~25 MB) via ExperimentHub on first use.DATA_DIR — where the hand-off files land.rds/.csv hand-offs to ../data/.DATA_DIR to redirect them — e.g. to fast, roomy /scratch:/home/ and makes the run reproducible and relocatable.ifnb gives real resultsifnb (Kang et al. 2017) has a real condition — stim: CTRL vs IFN-β.ind: 8 lupus donors, each in both conditions.ifnb has both by design.13_wgcna — co-expression modules, its own GSE152418 dataset.14_trajectory_cellcomm — runs on the annotated ifnb object.15_scatac_signac — scATAC on PBMC 10k, its own data.16_spatial — stxBrain spatial data.17_fair_metadata — exports ifnb for submission (.h5ad)..rds checkpoints hand off step to step, in order.run_sc_pipeline.sbatch runs all eight analysis scripts.ifnb on a login node; use DATA_DIR to relocate outputs.Single Cell RNA-seq Workshop · Lecture 10 — Running the Analysis Pipeline on Talapas