Data Formats

Detailed information about the data formats used in the Zebrafish Atlas.

This page is enhanced with AI-powered content that updates dynamically

Data Format Overview

The Zebrafish Atlas uses standardized data formats to organize and present zebrafish microanatomical and gene expression data. Understanding these formats is essential for effectively using and contributing to the atlas.

Primary Data Categories

  • Image Data: High-resolution microscopy images in various formats
  • Metadata: Descriptive information about each image
  • Anatomical Structures: Hierarchical classification of zebrafish anatomy
  • Segmentation Data: Structure annotations and segmentation masks
Note

All data in the Zebrafish Atlas follows established biological and technical standards to ensure interoperability with other research tools and databases.

Image Formats

The Zebrafish Atlas supports multiple image formats, with different formats preferred for different use cases:

Supported Image Formats

Format Extension Use Case Characteristics
TIFF .tif, .tiff Primary storage, high-resolution analysis Lossless, supports multiple channels, high bit depth
JPEG .jpg, .jpeg Web display, previews Lossy compression, smaller file size, 8-bit
PNG .png Web display, annotations Lossless compression, supports transparency
BigTIFF .btf, .tif Very large image datasets Supports files >4GB, tiled format

Image Properties

Each image in the Zebrafish Atlas includes the following technical properties:

  • Dimensions: Width and height in pixels
  • Resolution: Physical resolution (e.g., pixels per micron)
  • Bit Depth: Typically 8-bit (256 levels) or 16-bit (65,536 levels) per channel
  • Channels: Number and type of channels (e.g., RGB, grayscale, fluorescence channels)
  • Compression: Type of compression used, if any
Tip

For uploading to the Zebrafish Atlas, TIFF format is strongly recommended to preserve image quality. The system automatically generates optimized versions for web display.

Segmentation Overlays

Segmentation data is stored as separate mask layers that can be overlaid on the original images:

  • Binary Masks: One mask per anatomical structure
  • Label Maps: Single image with integer codes for each structure
  • Contours: Vector outlines of structures

Metadata Formats

Comprehensive metadata is stored for each image in the Zebrafish Atlas, ensuring proper categorization and enabling advanced search functionality:

Core Metadata Fields

Field Type Description Example
id UUID Unique identifier for the image bdc5a24e-9f3e-42f1-a53c-6c822a0f7abe
title String Descriptive title of the image Zebrafish Wildtype - 24hpf - Coronal - 40x
age_type String Developmental stage 24hpf, 5dpf, 3mpf_female
cut_type String Orientation of the section Coronal, Sagittal, Transverse
species_category String Zebrafish variant or category Wildtype, Transgenic, Casper, Axolotl
file_path String Path to the image file uploads/24hpf/coronal/24hpf_Coronal_20240410_123456.tif
segmentation_progress Integer Percentage completion of segmentation 0-100
magnification String Microscope magnification used 20x, 40x, 100x
treatment String Any treatments applied to the specimen H&E stain, DAPI, Transgenic GFP
upload_date DateTime When the image was uploaded 2024-04-10T12:34:56Z
tags Array Keywords for improved searchability ["24hpf", "coronal", "wildtype"]

Metadata Format

Metadata is stored internally in JSON format and can be exported in several standard formats:

{
  "id": "bdc5a24e-9f3e-42f1-a53c-6c822a0f7abe",
  "title": "Zebrafish Wildtype - 24hpf - Coronal - 40x",
  "description": "24 hours post fertilization, coronal section",
  "age_type": "24hpf",
  "cut_type": "Coronal",
  "species_category": "Wildtype",
  "file_path": "uploads/24hpf/coronal/24hpf_Coronal_20240410_123456.tif",
  "thumbnail_url": "uploads/24hpf/coronal/thumbnails/24hpf_Coronal_20240410_123456.jpg",
  "segmentation_progress": 75,
  "magnification": "40x",
  "treatment": "H&E stain",
  "upload_date": "2024-04-10T12:34:56Z",
  "uploaded_by": {
    "id": "user123",
    "name": "Jane Researcher",
    "institution": "Marine Biology Institute"
  },
  "tags": ["24hpf", "coronal", "wildtype", "neural development"],
  "dimensions": {
    "width": 2048,
    "height": 1536,
    "physical_width_um": 500,
    "physical_height_um": 375
  },
  "acquisition": {
    "microscope": "Zeiss Axio Imager",
    "objective": "40x/0.75 Plan-Neofluar",
    "camera": "Zeiss Axiocam 503",
    "acquisition_date": "2024-03-15T09:30:00Z"
  }
}

Anatomical Structure Format

The Zebrafish Atlas uses a hierarchical system to represent zebrafish anatomy. This organization is based on established zebrafish anatomy ontologies with adaptations for the atlas.

Structure Data Model

Field Type Description Example
anatomical_id Integer Unique identifier for the structure 1001
name String Full name of the structure Olfactory Bulb
abbreviation String Standard abbreviation OB
parent_anatomical_id Integer Parent structure ID (null for top-level) 1000
system_path String Full path in the hierarchy Central Nervous System/Forebrain/Olfactory Bulb
color String Standard color for visualization (hex) #FF5733

Structure Hierarchy

Structures are organized in a hierarchical tree with multiple levels:

{
  "anatomical_id": 1000,
  "name": "Central Nervous System",
  "abbreviation": "CNS",
  "parent_anatomical_id": null,
  "system_path": "Central Nervous System",
  "color": "#2E86C1",
  "children": [
    {
      "anatomical_id": 1001,
      "name": "Forebrain",
      "abbreviation": "FB",
      "parent_anatomical_id": 1000,
      "system_path": "Central Nervous System/Forebrain",
      "color": "#3498DB",
      "children": [
        {
          "anatomical_id": 1002,
          "name": "Olfactory Bulb",
          "abbreviation": "OB",
          "parent_anatomical_id": 1001,
          "system_path": "Central Nervous System/Forebrain/Olfactory Bulb",
          "color": "#5DADE2",
          "children": []
        },
        // Additional structures...
      ]
    },
    // Additional structures...
  ]
}
Note

The anatomical structure system is synchronized with the Zebrafish Information Network (ZFIN) and OBO Foundry ontologies but has some atlas-specific adaptations for visualization purposes.

Ontology and Taxonomy

The Zebrafish Atlas uses standardized ontologies and taxonomies to ensure interoperability with other biological databases and research tools.

Developmental Stages

Developmental stages follow standard zebrafish staging conventions:

  • hpf: Hours post fertilization (e.g., 24hpf, 48hpf)
  • dpf: Days post fertilization (e.g., 3dpf, 5dpf)
  • mpf: Months post fertilization, often with sex specification (e.g., 3mpf_male, 3mpf_female)

Orientations

Three standard anatomical orientations are used:

  • Coronal: Sections along the dorsal-ventral axis
  • Sagittal: Sections along the left-right axis
  • Transverse: Sections along the anterior-posterior axis

Species Categories

Several zebrafish variants and related species are included:

  • Wildtype: Standard zebrafish strain
  • Transgenic: Genetically modified zebrafish with fluorescent markers
  • Casper: Transparent zebrafish variant
  • Axolotl: Related model organism for comparative studies

Ontology Mappings

The atlas provides mappings to common ontologies:

Ontology Description URL
ZFA Zebrafish Anatomy Ontology OBO Foundry ZFA
ZFS Zebrafish Developmental Stages OBO Foundry ZFS
BSPO Biological Spatial Ontology OBO Foundry BSPO

Export Formats

The Zebrafish Atlas allows data export in various standard formats for use in other research tools and databases:

Image Export

Format Extension Use Case
TIFF .tif, .tiff High-resolution image analysis
JPEG .jpg, .jpeg Publications, presentations
PNG .png Transparent backgrounds, web
OME-TIFF .ome.tiff Bioimage analysis, microscopy tools

Metadata Export

Format Extension Use Case
JSON .json API integration, web applications
CSV .csv Spreadsheet analysis, statistical tools
XML .xml Ontology tools, legacy systems
BibTeX .bib Citation management

Segmentation Export

Format Extension Use Case
TIFF Masks .tif Binary masks for each structure
NIFTI .nii 3D segmentation data
STL .stl 3D printing, volumetric rendering
SVG .svg Vector outlines for publication
Tip

For bulk exports or specific format requirements not listed here, contact our support team.

File Naming Conventions

The Zebrafish Atlas uses standardized file naming conventions to ensure consistency and easy identification of image files:

Standard Naming Pattern

AgeType_CutType_SpeciesCategory_Timestamp.extension

For example:

24hpf_Coronal_Wildtype_20240410_123456.tif
5dpf_Sagittal_Transgenic_20240411_091523.tif
3mpf_female_Transverse_Casper_20240412_153042.tif

Naming Components

Component Format Examples
AgeType Standard developmental stage code 24hpf, 5dpf, 3mpf_female
CutType Capitalized orientation name Coronal, Sagittal, Transverse
SpeciesCategory Capitalized category name (optional) Wildtype, Transgenic, Casper
Timestamp YYYYMMDD_HHMMSS format 20240410_123456
Extension Standard file extension .tif, .jpg, .png

Directory Structure

Files are organized in a hierarchical directory structure that mirrors the naming convention:

uploads/
├── 24hpf/
│   ├── coronal/
│   │   ├── 24hpf_Coronal_Wildtype_20240410_123456.tif
│   │   ├── 24hpf_Coronal_Transgenic_20240410_124512.tif
│   │   └── ...
│   ├── sagittal/
│   │   ├── 24hpf_Sagittal_Wildtype_20240410_130145.tif
│   │   └── ...
│   └── transverse/
│       ├── 24hpf_Transverse_Wildtype_20240410_133025.tif
│       └── ...
├── 5dpf/
│   ├── coronal/
│   │   └── ...
│   └── ...
└── 3mpf_female/
    ├── coronal/
    └── ...
Important

When uploading files to the Zebrafish Atlas, the system will automatically rename files to match these conventions. However, following the naming convention in your input files will help ensure proper categorization.

Working with Zebrafish Atlas Data

Error: No API key available. Please contact an administrator.