UMass Chan Medical School Faculty Publications


LogoJS: a Javascript package for creating sequence logos and embedding them in web applications

UMMS Affiliation

Program in Bioinformatics and Integrative Biology

Publication Date


Document Type



Bioinformatics | Computational Biology | Computer Sciences | Integrative Biology


SUMMARY: Sequence logos were introduced nearly 30 years ago as a human-readable format for representing consensus sequences, and they remain widely used. As new experimental and computational techniques have developed, logos have been extended: extra symbols represent covalent modifications to nucleotides, logos with multiple letters at each position illustrate models with multi-nucleotide features, and symbols extending below the x-axis may represent a binding energy penalty for a residue or a negative weight output from a neural network. Web-based visualization tools for genomic data are increasingly taking advantage of modern web technology to offer dynamic, interactive figures to users, but support for sequence logos remains limited. Here we present LogoJS, a Javascript package for rendering customizable, interactive, vector-graphic sequence logos and embedding them in web applications. LogoJS supports all the aforementioned logo extensions and is bundled with a companion web application for creating and sharing logos.

AVAILABILITY: LogoJS is implemented both in plain Javascript and ReactJS, a popular user-interface framework. The web application is hosted at All major browsers and operating systems are supported. The package and application are open-source; code is available at GitHub.

SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.

DOI of Published Version



Pratt H, Weng Z. LogoJS: a Javascript package for creating sequence logos and embedding them in web applications. Bioinformatics. 2020 Mar 17:btaa192. doi: 10.1093/bioinformatics/btaa192. Epub ahead of print. PMID: 32181813. Link to article on publisher's site

Related Resources

Link to Article in PubMed

Journal/Book/Conference Title

Bioinformatics (Oxford, England)

PubMed ID