Using VSCode with Tufts HPC
We recommend Visual Studio Code for working
with tucca-rna-seq on the Tufts HPC cluster. It gives you a familiar editor,
an integrated terminal, and a file browser over the cluster filesystem. Tufts
Research Technology documents two supported ways to run it, and that guide is the
authoritative source; the notes below just orient you and call out what matters
for this workflow.
Establish a VPN connection
Section titled “Establish a VPN connection”Any off-campus (non-Tufts-network) access requires the Tufts VPN first.
Two supported ways to run VSCode on the cluster
Section titled “Two supported ways to run VSCode on the cluster”- OnDemand “VSCode Server” (browser, simplest). Launch it from the Tufts OnDemand portal as an interactive app. It runs on a compute node, so you get a full VSCode in the browser without installing anything locally.
- Local VSCode +
code tunnel. Start an interactive session (srun -p batch --pty bash),module load vscode-cli, runcode tunnel, authenticate with a GitHub or Microsoft account, and connect from your local VSCode (Remote-Tunnels extension) or a browser.
Recommended extensions for this workflow
Section titled “Recommended extensions for this workflow”Once connected, these extensions make editing tucca-rna-seq configs and
results more comfortable (install from the Extensions view, Ctrl/Cmd+Shift+X):
- Snakemake Language and Snakefmt: syntax and formatting for the Snakefiles.
- Python and Pylance: for the workflow’s Python scripts.
- R: for the downstream DESeq2 / enrichment R code.
- Rainbow CSV: readable sample sheets and results tables.
For everything else (connection troubleshooting, OnDemand app options, and the
current vscode-cli module version), defer to the
Tufts HPC VSCode guide.
Linked external resources are independent of TUCCA and Tufts University and remain under their own licenses.