Till KTH:s startsida Till KTH:s startsida

Lab 1

Lab 1: Unix and Python programming

In the Python assignments you are expected to use Python and no additional libraries. The goal is to practice writing "pure" Python for those occasions when libraries or other good tools are not available for one reason or another.

Basic Assignments

These basic assignments are necessary to pass Lab 1.

  1. Unix introduction
  2. Working in Unix
  3. Random DNA sequences
  4. Reading Stockholm files
  5. Re-formatting sequences
  6. Translate DNA

Links are found in the left margin!

Advanced Assignment

There is also an advanced assignment that raises your grade one step (see the left menu!).

Lars Arvestad skapade sidan 27 oktober 2016

En användare har tagit bort sin kommentar
kommenterade 2 november 2016

About this thing with not using any additional libraries, does that mean that we are not allowed to use any modules? In one of the labs it says not to use the textwrap module, and that that is according to the general instructions for the lab. But random is also a module. What modules are we allowed to use?

Lärare kommenterade 4 november 2016

I mean "libraries outside of the standard python distribution, unless otherwise noted". There is good support for these tasks in BioPython and other third-party libraries.