A web-based genome annotation visualization tool built with IGV (Integrative Genomics Viewer) utilities. This project provides a simple and efficient way to render genomic annotations and features in a web browser.
- Genome annotation visualization
- Support for multiple genome builds (currently configured for hg19)
- Interactive feature rendering
- Efficient data loading and rendering
- Built with modern web technologies
- Node.js (v14 or higher)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/yourusername/annotationRenderer.git
cd annotationRenderer
- Install dependencies:
npm install
To start the development server:
npm run dev
This will start the Vite development server, typically at http://localhost:5173
.
To create a production build:
npm run build
The built files will be in the dist
directory.
src/
- Source code directorymain.js
- Main application entry pointannotationRenderService.js
- Core annotation rendering serviceannotationRenderServiceFactory.js
- Factory for creating render servicesigvCore/
- IGV utilities and core functionality
The annotation renderer can be used to visualize genomic features by providing:
- Chromosome
- Start position
- End position
- Feature data
Example usage:
const renderService = createAnnotationRenderService(container, genome);
const features = await renderService.getFeatures('chr16', 26716013, 29371136);
renderService.render({
chr: 'chr16',
bpStart: 26716013,
bpEnd: 29371136,
features
});
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the terms of the license included in the LICENSE file.