ASSIGNMENT #1
Scalar data

Reference material

  • Chapter 2 of the "Learning Perl" book.

    Obligatory

    1. The PKC Beta-1 protein sequence shows that it contains 671 amino acids. Given an average molecular weight of 110 daltons per amino acid, write a program that calculates the estimated molecular weight of the protein (in kilodaltons) and writes the result on the screen.

    2. Write a program that asks the user for a gene name and the number of nucleotides in its coding sequence (namely the part in its cDNA that translate to protein, from initiation to stop codon); calculates the number of amino acids in the resulting protein and its estimated molecular weight (in kilodaltons); and prints the results, including the gene name, on the screen.

      (For non-biologists: each amino acid is coded by 3 nucleotides)


    Table of Contents.
    Course Home Page.