A practical introduction to Claude Code for academics and researchers—beyond coding, into real-world task automation, writing, and analysis.
- Who this is for: Students, researchers, academics with no prior CLI or AI coding assistant experience
- What Claude Code is: A terminal-based AI assistant that can read, write, and execute code in your projects
- What we'll learn: Not just coding—paper writing, data analysis, automation, bioinformatics workflows, website building
- Philosophy: Learn by doing; we make mistakes and fix them together
- Download and install VS Code
- Brief tour of the interface (sidebar, terminal, extensions)
- Installing the terminal / understanding the integrated terminal
Optional section for those without an account
- Navigating to console.anthropic.com
- Account creation steps
- API key generation and storage (security note: never commit keys)
- Academic/student tier considerations
- Current pricing model
- Free tier limitations (if any)
Optional section for those new to GitHub
- Creating a GitHub account
- Authentication options (this is where it gets annoying):
- SSH keys: generation, adding to GitHub, testing connection
- Personal Access Tokens (PAT): creation, scopes, storing securely
- GitHub CLI (
gh auth login) as the simplest path
- Troubleshooting common auth errors
- Prerequisites check (Node.js if required)
- Installation command
- First launch and authentication
- Verifying the installation works
- Starting Claude Code in a project
- The conversation interface
- Understanding what Claude can "see" (your codebase, terminal)
- Basic commands: asking questions, requesting edits
- Reading and understanding code
- Making edits through conversation
- Running commands (build, test, git)
- The approve/reject cycle for changes
- Creating a new project from scratch with Claude Code
.gitignore, README, basic structure- First commit and push
Choose one or work through both
Goal: Determine which of 5 cell type mapping tools is most cited/used in practice
- Define the 5 tools to compare (e.g., CellTypist, scType, Azimuth, SingleR, scArches)
- Use an MCP (or web search) to find citation counts for each original paper
- Search for papers that cite these tools
- For papers with open full text, parse which tool was actually used
- Tally results and handle ambiguities
- Generate a summary plot (bar chart of usage)
- Working with MCPs for literature search
- Parsing and summarizing text data
- Data visualization with Python/R
- Handling real-world messiness in data
Goal: Visualize a protein binding site using PyMol despite no prior PyMol knowledge
- Identify a protein of interest (e.g., from a recent paper)
- Download structure from PDB
- Install PyMol (or use web viewer)
- Ask Claude Code to generate PyMol commands for:
- Loading the structure
- Highlighting the binding site
- Coloring by residue properties
- Generating publication-quality images
- Iterate on visualization aesthetics
- Using Claude Code to learn unfamiliar tools
- Structural biology basics
- Scripting PyMol
Goal: Understand and reproduce the oligo design logic from Kanatani et al.
- Obtain the paper and supplementary materials
- Identify the oligo sequences used
- Ask Claude Code to help understand the design principles
- Reverse-engineer the rules/constraints
- Attempt to design new oligos following the same logic
- Validate designs (in silico checks)
- Reading and interpreting methods sections
- Primer/oligo design principles
- Systematic reverse-engineering with AI assistance
Goal: Take an introduction paragraph stripped of citations and systematically find and insert appropriate references
- A sample introduction (provided) with [CITATION NEEDED] markers
- PubMed MCP configured
- Read the introduction, identify claims needing citations
- For each claim:
- Formulate a PubMed search query
- Review returned papers
- Select the most appropriate reference
- Insert citation in proper format
- Generate a bibliography
- Review for coherence and citation quality
- Using MCPs for literature search
- Critical evaluation of sources
- Academic writing workflow
- Bibliography management
Optional deeper dive
- Outlining a methods section
- Generating figure legends
- Consistency checking across sections
- Exporting to LaTeX/Word
- Setting up a LaTeX project
- Claude Code for equation formatting
- Managing bibliographies with BibTeX
- Compiling and troubleshooting errors
- Batch file renaming/organization
- Data format conversion
- Scheduled scripts and cron jobs
- Static site generators (Jekyll, Hugo, Quarto)
- Deploying to GitHub Pages
- Basic HTML/CSS with AI assistance
- Installing and configuring common tools (samtools, bedtools, etc.)
- Pipeline construction
- Working with SLURM/HPC environments
- Being specific about what you want
- Providing context
- Iterating on responses
- Always review suggested changes
- Understanding what commands do before approving
- Sensitive data considerations
- Complex multi-file refactors
- Domain-specific knowledge gaps
- Knowing when to take manual control
- Claude Code updates
- New MCPs and integrations
- Community resources
- Common installation issues
- GitHub authentication problems
- API key and billing issues
- What are MCPs?
- Installing the PubMed MCP
- Other useful MCPs for academics
- CLI, API, MCP, SSH, PAT, etc.
- Official Claude Code documentation
- Community forums
- Related tutorials
| Format | Pros | Cons |
|---|---|---|
| Jupyter Notebook | Interactive, runnable code, familiar to academics | Linear, no branching, heavy for text-focused sections |
| HTML (Quarto/MkDocs) | Branching, searchable, expandable sections, embeds | Requires build step, less interactive |
| LaTeX → PDF | Polished, printable, academic-friendly | Static, no interactivity, no branching |
| Hybrid | Best of both: HTML for navigation + embedded notebooks for demos | More complex to maintain |
Recommendation: Quarto with embedded executable code blocks—gives you HTML output with optional PDF export, supports branching navigation, and can execute Python/R.
Last updated: January 2026