Skip to content
curate-genome-assembly logo

Genome Assembly Dataset Curation

curate-genome-assembly

Process genome assembly datasets for VEuPathDB resources

SKILL.md

Full skill instructions

Genome Assembly Dataset Curation

This skill guides processing of genome assembly datasets for VEuPathDB resources.

Prerequisites Check

This workflow requires the following repositories in veupathdb-repos/:

  • ApiCommonPresenters
  • EbrcModelCommon

First, run the repository status check to verify repositories are present:

Note: this script is located in the skill directory

bash scripts/​check-repos.sh ApiCommonPresenters EbrcModelCommon

If repositories are missing, the script will provide clone instructions.

Branch Confirmation: After verifying repositories exist, check their current branches and status using git -C <path>, then confirm with the user before proceeding. Users typically create dataset-specific branches (see curator branching guidelines).

Example:

git -C veupathdb-repos/​ApiCommonPresenters branch --show-current
git -C veupathdb-repos/​ApiCommonPresenters status -sb

Working Directory (Curation Workspace Directory)

IMPORTANT: All commands in this workflow must be run from your curation workspace directory (the directory that contains veupathdb-repos/ as a subdirectory).

For Claude Code:

  • DO NOT use cd commands to change into veupathdb-repos/ subdirectories
  • Use git -C <path> for git operations in subdirectories
  • Use absolute paths or relative paths from the curation workspace directory
  • Example: git -C veupathdb-repos/​ApiCommonPresenters status instead of cd veupathdb-repos/​ApiCommonPresenters && git status

The workflow will create a tmp/ subdirectory in the curation workspace directory for intermediate files.

Required Information

Gather the following before starting:

Workflow Overview

Step 1: Fetch Assembly Metadata from NCBI

Fetch assembly metadata from NCBI using the GenBank accession.

Command:

curl -X GET "https://api.ncbi.nlm.nih.gov/​datasets/​v2/​genome/​accession/<ASSEMBLY_ACCESSION>/​dataset_report" \
  -H "Accept: application/​json" > tmp/<ASSEMBLY_ACCESSION>_dataset_report.json

Detailed instructions: Step 1 - Fetch NCBI Metadata

Step 2: Fetch BioProject Metadata

Extract the BioProject accession from the assembly report and fetch additional details.

Command:

node scripts/​fetch-bioproject.js <BIOPROJECT_ACCESSION>

This retrieves the BioProject title and description, saved to tmp/<BIOPROJECT>_bioproject.json.

Detailed instructions: Step 2 - Fetch BioProject

Step 3: Fetch PubMed Data

Find and fetch publications for the genome assembly.

Command:

node scripts/​fetch-pubmed.js <ASSEMBLY_ACCESSION>

Results saved to tmp/<ASSEMBLY_ACCESSION>_pubmed.json.

Detailed instructions: Step 3 - Fetch PubMed

Step 4: Curate Contacts

Identify and curate contact entries for the genome submission.

Contact identification priority:

  1. Named submitter from assembly metadata
  2. Senior/​last author from PubMed publications (if available)
  3. Curator judgment for additional contacts

Actions:

  • Search existing contacts in veupathdb-repos/​EbrcModelCommon/​Model/​lib/​xml/​datasetPresenters/​contacts/​allContacts.xml
  • Create new contact entries if needed
  • Present choices to curator for review

Detailed instructions: Step 4 - Curate Contacts

Step 5: Generate and Insert Presenter XML

Generate the datasetPresenter XML and insert it into the appropriate presenter file.

Command:

node scripts/​generate-presenter-xml.js <ASSEMBLY_ACCESSION> <PROJECT> <PRIMARY_CONTACT_ID> [ADDITIONAL_CONTACT_IDS...]

Target file: veupathdb-repos/​ApiCommonPresenters/​Model/​lib/​xml/​datasetPresenters/<PROJECT>.xml

Detailed instructions: Step 5 - Update Presenter Files

Next Steps

After completing this workflow:

  1. Review generated XML for TODO fields that require curator input
  2. Commit changes to dataset branch (curator handles git operations)
  3. Create pull request for review (curator handles PR creation)

Resources

Scripts

  • scripts/​fetch-bioproject.js - Fetches BioProject metadata from NCBI (esearch + esummary)
  • scripts/​fetch-pubmed.js - Fetches PubMed records linked to a BioProject (elink + esummary)
  • scripts/​generate-presenter-xml.js - Generates datasetPresenter XML from fetched metadata
  • scripts/​check-repos.sh - Validates veupathdb-repos/ repository setup (synced from shared/)

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View