Skip to content

Commit a56e086

Browse files
authored
Merge pull request #795 from AlexsLemonade/jashapiro/more-magic-2024
Update RNAseq magic file list and cheatsheet
2 parents 7ad595e + 3a53e59 commit a56e086

File tree

3 files changed

+37
-9
lines changed

3 files changed

+37
-9
lines changed

RNA-seq/setup/magic-files.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,31 @@ The sub-path for each file should be the same as that for `training-modules/RNA-
88

99
Files are listed below by the notebook that produces them:
1010

11+
- `02-gastric_cancer_tximeta.Rmd`
12+
- `data/gastric-cancer/txi/gastric-cancer_tximeta.rds`
1113
- `setup/ref_notebooks/04-nb_cell_line_tximeta.Rmd` (participants create their own notebook for this step)
1214
- `data/NB-cell/txi/NB-cell_tximeta.rds`
1315
- `05-nb_cell_line_DESeq2.Rmd`
1416
- `results/NB-cell/NB-cell_DESeq_amplified_v_nonamplified.rds`
1517
- `results/NB-cell/NB-cell_DESeq_amplified_v_nonamplified_results.tsv`
18+
19+
20+
Note that the output files from `scripts/run_SRR585570.sh` script are already present at:
21+
22+
- `/shared/data/training-modules/RNA-seq/data/gastric-cancer/salmon_quant/SRR585570/`
23+
- `/shared/data/training-modules/RNA-seq/QC/gastric-cancer/fastp/SRR585570/`
24+
- `/shared/data/training-modules/RNA-seq/QC/gastric-cancer/fastqc/SRR585570/`
25+
26+
To make sure all of these directories can be found in uniform locations for "magic files", run the following commands (or similar) to create links (replacing `<date>`):
27+
28+
```
29+
data_dir=/shared/data/training-data/<date>/RNA-seq/data/gastric-cancer
30+
qc_dir=/shared/data/training-data/<date>/RNA-seq/QC
31+
32+
mkdir -p $data_dir
33+
mkdir -p $qc_dir
34+
35+
ln -s /shared/data/training-modules/RNA-seq/data/gastric-cancer/salmon_quant ${data_dir}/salmon_quant
36+
ln -s /shared/data/training-modules/RNA-seq/QC/gastric-cancer ${qc_dir}/gastric-cancer
37+
```
38+

module-cheatsheets/RNA-seq-cheatsheet.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ If you have a different version of R or other R packages, the documentation may
1919
- [`ggplot2`](#ggplot2)
2020
- [`tximeta` and `SummarizedExperiment`](#tximeta-and-summarizedexperiment)
2121
- [`stringr`, `readr`, `dplyr`](#stringr-readr-dplyr)
22-
- [`ComplexHeatmap`](#complexheatmap)
2322
- [`matrixStats`](#matrixstats)
23+
- [`ComplexHeatmap` and `EnhancedVolcano`](#complexheatmap-and-enhancedvolcano)
2424
- [Salmon](#salmon)
2525

2626
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -111,14 +111,6 @@ Documentation for each of these packages can be accessed by clicking the package
111111
| [`readr`](https://readr.tidyverse.org/index.html) |[`write_rds()`](https://readr.tidyverse.org/reference/read_rds.html) | Write RDS | Writes data to a .RDS output file |
112112
| [`dplyr`](https://dplyr.tidyverse.org/) | [`pull()`](https://dplyr.tidyverse.org/reference/pull.html) | Pull | Extracts a variable (column) as a vector |
113113

114-
### `ComplexHeatmap`
115-
116-
Read the [`ComplexHeatmap` Complete Reference](https://jokergoo.github.io/ComplexHeatmap-reference/book/).
117-
118-
| Library/Package | Piece of Code | What it's called | What it does |
119-
|-------------------------------|--------------------------------------------------------------|--------------------------------|--------------------------------------------------------------------------|
120-
| `ComplexHeatmap` | [`Heatmap()`](https://rdrr.io/bioc/ComplexHeatmap/man/Heatmap.html) | Heatmap constructor | Constructs a `Heatmap` class object that can then be used to plot a heatmap |
121-
| `ComplexHeatmap` | [`HeatmapAnnotation()`](https://rdrr.io/bioc/ComplexHeatmap/man/HeatmapAnnotation.html) | Heatmap annotation constructor | Constructs a `HeatmapAnnotation` class object that can be used to annotate a heatmap |
122114

123115
### `matrixStats`
124116

@@ -129,6 +121,19 @@ Read the [`matrixStats` package documentation (PDF)](https://cran.r-project.org/
129121
| `matrixStats` | [`rowVars()`](https://www.rdocumentation.org/packages/matrixStats/versions/1.3.0/topics/rowVars) | Row variance | Estimates the variance for each row in a matrix |
130122
| `matrixStats` | [`rowSds()`](https://search.r-project.org/CRAN/refmans/matrixStats/html/rowSds.html) | Row standard deviations | Estimates the standard deviations for each row in a matrix |
131123

124+
<div style="page-break-after: always;"></div>
125+
126+
### `ComplexHeatmap` and `EnhancedVolcano`
127+
128+
Read the [`ComplexHeatmap` Complete Reference](https://jokergoo.github.io/ComplexHeatmap-reference/book/).
129+
Read the [`EnhancedVolcano` manual](https://bioconductor.org/packages/release/bioc/vignettes/EnhancedVolcano/inst/doc/EnhancedVolcano.html).
130+
131+
| Library/Package | Piece of Code | What it's called | What it does |
132+
|-------------------------------|--------------------------------------------------------------|--------------------------------|--------------------------------------------------------------------------|
133+
| `ComplexHeatmap` | [`Heatmap()`](https://rdrr.io/bioc/ComplexHeatmap/man/Heatmap.html) | Heatmap constructor | Constructs a `Heatmap` class object that can then be used to plot a heatmap |
134+
| `ComplexHeatmap` | [`HeatmapAnnotation()`](https://rdrr.io/bioc/ComplexHeatmap/man/HeatmapAnnotation.html) | Heatmap annotation constructor | Constructs a `HeatmapAnnotation` class object that can be used to annotate a heatmap |
135+
| `EnhancedVolcano` | [`EnhancedVolcano()`](https://rdrr.io/bioc/EnhancedVolcano/man/EnhancedVolcano.html) | Enhanced volcano plot | Constructs a highly customizable volcano plot with colored and labeled points |
136+
132137

133138
### Salmon
134139

2.62 KB
Binary file not shown.

0 commit comments

Comments
 (0)