Skip to content

Tjorbenn/Vitax

Repository files navigation

Vitax Logo

Vitax

Visualizing the NCBI Taxonomy

Build Status Latest Release License

Introduction

Vitax is a web application for exploring and working with the NCBI Taxonomy in a visual way. It provides a user-friendly interface for searching and visualizing a wide range of taxonomic information in various formats.

One of its key features is direct access to genome accessions from within the visualization, which enables a visual interface for genomic analysis based on the taxonomy.

Features

  • Multiple types of relationships / taxonomic data: Investigate different types of taxonomic relationships, including:
    • Neighbors: Displays the the taxonomic neighbors of a group of target taxa.
    • Descendants: Shows the descendants of a taxon.
    • Most Recent Common Ancestor (MRCA): Shows the most recent common ancestor of a group of target taxa and their connecting lineage.
  • Suggestions: Quickly find any taxon of interest with autocomplete suggestions as you type.
  • Interactive Visualizations: Explore taxonomic relationships through a variety of interactive visualizations, including:
    • Tree: A classic hierarchical view of the taxonomic tree.
    • Graph: A network graph that shows the relationships between taxa.
    • Pack: A space-efficient circle packing visualiztion, where taxa are represented as circles packed hierarchically.
    • Find any taxon in the visualization from a hierarchical list.
    • Get metadata for any taxon right from the visualization.
  • Genome Accessions: Access genome accessions for any taxon in the visualization.
  • Data Sources:

Live Demo

A live demo of the application is available on the website of the Research Group for Bioinformatics.

Usage

  1. Enter a taxon name in the search box.
  2. Select a taxon from the suggestions list (or press Enter to select the entered taxon if it exists). Repeat for additional taxa.
  3. Choose a visualization type from the display type component.
  4. Press "Visualize" to generate the visualization.

Architecture

Vitax is built in TypeScript, uses Vite as the build tool, and DaisyUI combined with TailwindCSS for styling. D3.js is used for creating the data visualizations.

Development

To get started with Vitax, follow the steps below to set up the project on your local machine.

Prerequisites

Ensure you have the following installed:

  • Node.js (Latest LTS version recommended)
  • npm (Included with Node.js)

Installation

  1. Clone the repository:
git clone https://github.com/Tjorbenn/Vitax.git
cd Vitax
  1. Install the dependencies:
npm install

Environment Setup

The project uses a .env file for configuration. A default .env file is included in the repository.

To override these defaults locally, create a .env.local file in the root directory or modify the .env file:

cp .env .env.local

Running the Application

Start the development server:

npm run dev

The application will be available at http://localhost:5173.

Development Workflow

Here are some common commands used during development:

  • Linting: Check for implementation errors and potential bugs.

    npm run lint

    To automatically fix linting issues:

    npm run lint:fix
  • Formatting: Check if code adheres to the defined formatting style.

    npm run format

    To automatically format code:

    npm run format:fix

Building for Production

To build the application for production:

npm run build

You can preview the production build locally using:

npm run preview

Or you can use your own web server of choice to serve the dist directory that is created when running npm run build.

Built With

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

Tjorben – @Tjorbenn

Project Link: https://github.com/Tjorbenn/Vitax

About

Visualizing the NCBI Taxonomy

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages