Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Gene Code

AntonAnton118 downloads

Render lifescience DNA variants lollipop and pedigree diagrams in Obsidian notes.

Add to Obsidian
Gene Code screenshot
Gene Code screenshot
  • Overview
  • Scorecard
  • Updates5

Render lifescience-related diagrams directly in your Obsidian notes, like Mermaid but for lifescience.

Write a gene-code code block and the plugin renders it inline as an SVG figure.

Usage

Lollipop gene variant diagram

```gene-code
lollipopDiagram
    gene KRAS
    length 189
    domain 5 166 GTPase
    domain 167 185 HVR
    variant G12D 12 missense
    variant G12V 12 missense
    variant G12C 12 missense
    variant G12A 12 missense
    variant G12S 12 missense
    variant G12R 12 missense
    variant G13D 13 missense
    variant G13C 13 missense
    variant V14I 14 missense
    variant L19F 19 missense
    variant Q22K 22 missense
    variant T35fs 35 frameshift
    variant I36M 36 missense
    variant E37* 37 nonsense
    variant A59T 59 missense
    variant Q61H 61 missense
    variant Q61L 61 missense
```

Pedigree diagram

```gene-code
pedigreeDiagram
    node gf male unaffected noncarrier
    node gm female unaffected carrier
    couple gf gm
    node uncle male unknown unknown gf-gm
    node dad male unaffected carrier gf-gm
    node mom female unaffected carrier
    couple dad mom
    node childless_a male unaffected noncarrier gf-gm
    node childless_b female unaffected unknown
    couple childless_a childless_b
    node son male affected carrier dad-mom
    node daughter female unaffected carrier dad-mom
    node baby male unaffected noncarrier dad-mom
```

Rendering is provided by @gene-code/core; this plugin is the thin Obsidian integration layer.

License

MIT © Anton Zhuravlev

HealthExcellent
ReviewPassed
About
Render gene-code lollipop and pedigree diagrams inline as SVG figures by writing code blocks in Obsidian notes. Stay meaningful across light and dark themes, and show inline errors for unparseable blocks. Proposals for new additional types of diagrams are highly appreciated! Write me an Issue on the Github page.
VisualizationImagesScience
Details
Current version
0.2.2
Last updated
3 months ago
Created
3 months ago
Updates
5 releases
Downloads
118
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
AntonAntonneznayer
GitHubneznayer
  1. Community
  2. Plugins
  3. Visualization
  4. Gene Code

Related plugins

NanoBanana PRO

Generate Knowledge Posters (infographics) from your notes using AI. Supports OpenAI, Gemini, Anthropic, and xAI.

Image Layouts

Add beautiful image layouts to your notes.

Leaflet

Interactive maps inside your notes.

Adamantine Pick

Embeddable Pikchr diagrams renderer.

Note Gallery

A masonry gallery that will visualize your notes, similar to Craft note view.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.