بنقرة واحدة
jupyterlite-galaxy
Write JupyterLite notebooks for Galaxy dataset interaction using gxy package
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Write JupyterLite notebooks for Galaxy dataset interaction using gxy package
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when authoring a Galaxy User-Defined Tool (UDT) -- a `class: GalaxyUserTool` YAML definition that wraps a container and command into a tool a non-admin user creates and runs (e.g. via Galaxy MCP create_user_tool / run_user_tool, or POST /api/unprivileged_tools). Not for classic XML/ToolShed tool wrappers.
Use this skill when asked to create, draft, or write a Galaxy workflow report template for the Workflow Editor's Report tab. Triggers on requests like "create a report for this workflow", "draft a workflow report template", "write a Galaxy report for workflow <id/url>".
Galaxy Collection Transformation Command - transform Galaxy dataset collections reproducibly using Galaxy's native tools. Use when asked to filter, sort, relabel, restructure, flatten, nest, merge, or otherwise manipulate Galaxy collections.
Galaxy MCP server tools reference for histories, datasets, tools, and workflows
Router for Galaxy MCP, JupyterLite notebooks, and BioBlend automation
Building UCSC Track Hubs (track hubs and assembly hubs) — bigBed/bigChain/bigMaf format requirements, composite-track rules, hub.txt / genomes.txt / trackDb.txt structure. Use when emitting a UCSC hub from Galaxy outputs, wrapping a hub-publishing tool, or debugging hubCheck failures.
| name | jupyterlite-galaxy |
| description | Write JupyterLite notebooks for Galaxy dataset interaction using gxy package |
| user_invocable | true |
When helping users write JupyterLite notebooks for Galaxy:
import gxy
# By HID (history item number)
path = await gxy.get(1) # single dataset
paths = await gxy.get([1, 2, 3]) # multiple
# By name (partial match)
path = await gxy.get("sample", identifier_type="name")
# By tag
path = await gxy.get("input_data", identifier_type="tag")
# By regex
paths = await gxy.get(r".*\.fastq$", identifier_type="regex")
# By dataset ID
path = await gxy.get("f9cad7b01a472135", identifier_type="id")
# Get datatype too
path, dtype = await gxy.get(1, retrieve_datatype=True)
# Upload file to history
await gxy.put("output.csv")
# Custom name and extension
await gxy.put("results.txt", output="My Analysis Results", ext="tabular")
# With genome build
await gxy.put("variants.vcf", ext="vcf", dbkey="hg38")
# GET request (default)
user = await gxy.api("/api/users/current")
# POST request
result = await gxy.api("/api/histories", method="POST", data={"name": "New History"})
# NOTE: Only GET and POST supported. No PUT, DELETE, PATCH.
# Get current history ID
history_id = await gxy.get_history_id()
# Get visible datasets in history (not deleted/hidden)
datasets = await gxy.get_history()
for ds in datasets:
print(f"{ds['hid']}: {ds['name']} ({ds['extension']})")
import gxy
import pandas as pd
path = await gxy.get(1)
df = pd.read_csv(path, sep="\t")
import gxy
path = await gxy.get("sequences", identifier_type="name")
with open(path) as f:
for line in f:
if line.startswith(">"):
print(line.strip())
import gxy
import matplotlib.pyplot as plt
plt.plot([1, 2, 3], [1, 4, 9])
plt.savefig("plot.png")
await gxy.put("plot.png", output="My Plot", ext="png")
import gxy
paths = await gxy.get(r".*\.fastq$", identifier_type="regex")
for path in paths:
# process each file
result = process(path)
await gxy.put(result)
await{hid}.{ext}.{id}.{txt|dat}hdca) not yet supportedBefore writing notebook code, use Galaxy MCP tools to discover datasets:
# In Claude Code, use MCP to find dataset IDs:
mcp__galaxy__get_history_contents(history_id="...")
# Then reference those IDs in notebook code:
path = await gxy.get("dataset_id_here", identifier_type="id")
See examples/ for complete notebooks:
average_col3.ipynb - Simple tabular data processingextract_sample_metadata.ipynb - Metadata extraction with regexvariant_annotation.ipynb - Complex analysis with Biopython + visualizationvcp_variant_map.ipynb - Geographic visualization with Altair