Cloudbook: Perl for Biologists Hello Guest, Login

  1. Home
  2. Strings
  3. Exercises
  4. ↵ lesson← prevnext →
  • Create a perl program that defines a scalar variable, stores a 18 base long DNA coding sequence in it and then stores each of the six codons comprising the DNA sequence into an array. Your program should print the sequence and, on a new line, the codons comprising it, separated by tabs.
  • Create a perl program that computes and prints the number of nucleotides that separate the first and last appearance of the motif "AGAG" in lower case, upper case, or combination, in the DNA sequence "GACGTCGCCAGAGAggcataTAACGATAtgacacagagagagcaGAGACAAGT".


# My Perl code ...


Copyright 2012 Huseyin Kocak, Dimitris Papamichail and Burt Rosenberg. All Rights Reserved.