This widget displays Fasta or Blast hits/HSPs with text annotation options. It is frame-based and can be used in software to enhance data visualization.
HitDisplay consists of a Frame-based widget that contains a Canvas. If provided with a list of data structures, each representing a hit of a query sequence to a database, it will draw several visual elements. These include:
1. A scale: This is marked in residues, with 'aa' representing protein queries and 'nt' representing nucleic acid queries.
2. The query sequence: Represented by a single green line.
3. Database hits: A line is drawn for each Fasta hit or a group of lines is drawn for each Blast hit (one line per HSP).
4. The coordinates of the hits/HSPs on the subject sequence (i.e., the sequence in the database) are indicated below the ends of each line.
In summary, Bio::Tk::HitDisplay is a user-friendly widget that simplifies the task of visualizing Blast and Fasta HSP hits, and can also add text annotation if desired. Its intuitive interface makes the complex data much easier to understand, and it is a great tool for any bioinformatician who needs to analyze sequence data.
Version 0.7: N/A