HIV Databases HIV Databases home HIV Databases home
HIV sequence database


Shannon Entropy-Two

  Entropy-Two   Entropy-One   Entropy Readme   Entropy Options  

Purpose: These tools apply Shannon Entropy as a measure of variation in DNA and protein sequence alignments. ENTROPY-TWO compares two sets of aligned sequences (named query and background sequences), and determine if there is greater variability in one set relative to the other. Each position with a significant difference in variability between these two sets will be highlighted against a query consensus.

Entropy has the option of randomizing the combined sequence sets either with replacement or no replacement, and recalculating the entropies for two random data sets broken down into sets of the same size as the original two. If you wish to include sequences of variable length in the alignment, add asterisks (*) to compensate for shorter sequences. Avoid including columns that are all stars. For more details, see explanation of Entropy Options.

Paste your aligned background sequences
Or browse for sequence file
Paste your aligned query sequences
Or browse for sequence file

Use amino acid class equivalents for the calculation (ONLY for protein sequences)
Calculate the frequency of the most common
aa or nt in each position
Find the statistical confidence using randomization
With replacement Without replacement
Number of randomizations
Number of random samples that can have higher
entropy difference than the actual data

last modified: Tue Jul 12 13:54 2016

Questions or comments? Contact us at

Operated by Los Alamos National Security, LLC, for the U.S. Department of Energy's National Nuclear Security Administration
Copyright © 2005-2017 LANS, LLC All rights reserved | Disclaimer/Privacy

Dept of Health & Human Services Los Alamos National Institutes of Health