Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"features": {
"ghcr.io/rocker-org/devcontainer-features/r-apt:latest": {},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "build-essential,gfortran,pkg-config,libcairo2-dev,libssl-dev,libcurl4-openssl-dev,libxml2-dev,libfontconfig1-dev,libharfbuzz-dev,libfribidi-dev,libfreetype6-dev,libpng-dev,libtiff5-dev,libjpeg-dev,libwebp-dev,libwebpdemux2,libwebpmux3,libgsl-dev,libxt-dev,libglpk-dev,libudunits2-dev"
"packages": "build-essential,gfortran,pkg-config,cmake,pandoc,libcairo2-dev,libssl-dev,libcurl4-openssl-dev,libxml2-dev,libfontconfig1-dev,libharfbuzz-dev,libfribidi-dev,libfreetype6-dev,libpng-dev,libtiff5-dev,libjpeg-dev,libwebp-dev,libwebpdemux2,libwebpmux3,libgsl-dev,libxt-dev,libglpk-dev,libudunits2-dev,libuv1-dev"
},
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"packages": "tidyverse,ggplot2,hexbin,pheatmap,RColorBrewer,ggbeeswarm,dplyr,ggrepel,ggnewscale,tidyr,readr,GGally,dbplyr,languageserver"
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.ubuntu.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"features": {
"ghcr.io/rocker-org/devcontainer-features/r-apt:latest": {},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "build-essential,gfortran,pkg-config,libcairo2-dev,libssl-dev,libcurl4-openssl-dev,libxml2-dev,libfontconfig1-dev,libharfbuzz-dev,libfribidi-dev,libfreetype6-dev,libpng-dev,libtiff5-dev,libjpeg-dev,libwebp-dev,libwebpdemux2,libwebpmux3,libgsl-dev,libxt-dev,libglpk-dev,libudunits2-dev"
"packages": "build-essential,gfortran,pkg-config,libcairo2-dev,libssl-dev,libcurl4-openssl-dev,libxml2-dev,libfontconfig1-dev,libharfbuzz-dev,libfribidi-dev,libfreetype6-dev,libpng-dev,libtiff5-dev,libjpeg-dev,libwebp-dev,libwebpdemux2,libwebpmux3,libgsl-dev,libxt-dev,libglpk-dev,libudunits2-dev,libbz2-dev,liblzma-dev"
},
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"packages": "tidyverse,ggplot2,hexbin,pheatmap,RColorBrewer,ggbeeswarm,dplyr,ggrepel,ggnewscale,tidyr,readr,GGally,dbplyr,languageserver"
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
practicals/Gene_expression_DEG_practical_*
practicals/Gene_expression_practical_UNAV_files/*
practicals/R_Programming_basics_practical_files*
practicals/DEXSeq_salmon_DTU_practical_files/*
*.tex
*.log

*.tab
*.rds
Merge_GO_Gene_Set_Enrichment_Analysis_CC_.pdf


# Remove big files
*.gtf
*.RData
*.fasta
*.fa
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nextflow.telemetry.enabled": false
}
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ Reproducible teaching labs for RNA-seq and R programming built around GitHub Cod

## Launch a brand-new Codespace
1. Click **Open in GitHub Codespaces**. GitHub provisions a Codespace from `.devcontainer/devcontainer.json`.
2. Initial creation installs Ubuntu packages, R/Bioconductor libraries, and CLI tools�plan for **30 minutes**. Keep the tab open until the build completes.
2. Initial creation installs Ubuntu packages, R/Bioconductor libraries, and CLI tools. Plan for **30 minutes**. Keep the tab open until the build completes.
3. Once VS Code opens, run:
```bash
rstudio-server start
```

![Launch Rstudio IDE](practicals/figures/rserverStart.png)

4. Port **8787** auto-forwards. Use the notification or Ports tab to open RStudio (user `rstudio`, password `rstudio`).

![Launch Rstudio IDE](practicals\figures\rserverStart.png)


## Resume an existing Codespace
1. Click **Reopen My Codespace** button on top and pick the workspace you created earlier.
Expand All @@ -32,7 +35,7 @@ _A screenshot annotated with these callouts will be inserted here._
- **Plots** displays the current graphics device; use navigation arrows to flip through prior plots.
- **Packages** see installed libraries, enable/disable them, and launch help pages.

![Annotated RStudio IDE](practicals\figures\rstudio.png)
![Annotated RStudio IDE](practicals/figures/rstudio.png)


### Quick start in RStudio
Expand All @@ -44,7 +47,7 @@ _A screenshot annotated with these callouts will be inserted here._
## Lessons in `practicals/`
1. **[R_Programming_basics_practical.Rmd](practicals/R_Programming_basics_practical.Rmd)** introduces R syntax, data frames, and visualization fundamentals tailored for bioinformatics students.
2. **[Gene_expression_DEG_practical.Rmd](practicals/Gene_expression_DEG_practical.Rmd)** walks through differential gene expression analysis with DESeq2, including QC, normalization, and volcano plots.
3. **[DEXSeq_salmon_DTU_practical.Rmd](practicals/DEXSeq_salmon_DTU_practical.Rmd)** covers isoform-level quantification with Salmon and DEXSeq for differential transcript usage.
3. **[DEXSeq_salmon_DTU_practical.md](practicals/DEXSeq_salmon_DTU_practical.md)** covers isoform-level quantification with Salmon and DEXSeq for differential transcript usage.

## What you get
- **RStudio Server 2023.x** exposed on port 8787 via the Rocker devcontainer feature.
Expand Down Expand Up @@ -87,7 +90,7 @@ Add extra tools (e.g., gffcompare, bwa, hisat2) to the YAML and rebuild or run `

## Troubleshooting tips
- Rebuild the container (`Codespaces / Rebuild container`) after changing `.devcontainer/**`, `env/mamba-environment.yml`, or bootstrap scripts.
- If RStudio Server doesnt start, check the Ports tab for 8787; restart with `rstudio-server stop` / `rstudio-server start`.
- If RStudio Server doesn't start, check the Ports tab for 8787; restart with `rstudio-server stop` / `rstudio-server start`.
- Desktop-lite can be toggled via the command palette (`Codespaces: Open in Browser`) if you need the VNC desktop.

¿Happy learning? Questions or suggestions? Open an issue or reach out on @FairTeach!
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading