HOMEWORK 6

(For interactive page, go to /education/bioinfo
Answers are also available at that URL.)

  1. Modify blast_parse_0.pl. Your revised script can blast a sequence and retrieve the sequences of the top 10 hits, and save them in one file in fasta format. Here are the functions you need to add to the sample script:
  2. Draw a PNG figure with a perl script to show sequence features of a gene, such as the locations of CD and SNP. The gene is in genbank format, we can use bmp7 as an input file. Here is a sample output. The red line is the TTF1 gene, the green line is CD of TTF1. The black line within the gene(red) is the location of SNP.