code for sparsity vs. number of sequences...