processing code for visualizing genomes