Blog of Andrés Aravena
CMB2:

Homework for class 7

15 March 2016

Research questions

The class of next week will be based on these subjects

Programming practice

These programs should have been developed in class today, but we were too slow.

  1. (This question is hard and was replaced by question 1 of the following week’s homework). Write a function to find, in a bacterial genome, all ORF larger than a minimum size. The inputs are:

    • genome: a vector of characters
    • min.size: a number

    The output should be a list of vectors of characters. Can you tell which ORF are CDS?

  2. Write a function that reads a GFF file and a FASTA file containing a genome and writes a new FASTA file with the aminioacidic sequences of the proteins encoded by the CDS. The inputs are:

    • The name of the GFF file
    • The name of the FASTA file with the genome
    • The name of the new FASTA file that will contain the protein sequences