Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Lars Arvestad 2015-11-02 11:18

Visa nästa >
Jämför nästa >

Computer labs

Computer Labs of appbio14

This course has four labs consisting of sets of assignments and one larger programming project.

Preparations

Be sure to issue the command

  course join appbio13

before working on your first assignment (it is supposed to be "appbio14", but for some reason I can't get that working)! You will unfortunately also have to logout and log in again. This procedure makes sure that you have access to all the tools we need in this course.

Single or group?

You are welcome to work in pairs. In fact, this is highly recommended, especially for beginners, since you will have someone to discuss problems with and simply have more fun.

Get in line! with SimaManager

To make it easier for the lab tutors to find the next person in line, we will use the lab queuing system SimaManager. If your appbio12 environment is setup correctly, you type

  sm

in the terminal to start the queuing system. You get a list of courses and if you click "bioinfo", you will see the current list of people waiting. To get in line, click on the help button!

Editing Python code

Any Real Programmer will use a classic programming text editor such as Emacs! This editor has everything, including a steep learning curve! If you write programs, or know you will spend a lot of time editing code in the future, you might want to consider using Emacs for editing code in this course. Start it by writing:

  emacs &

The ampersand (&) ensures that you can continue to work in the terminal.

Python actually has its own programming editor: start it by running "idle".

There are simplistic text editors without all the hard-to-use bells and whistles of Emacs, and a good alternativ choice is gedit. Write

  gedit &

to get a nice graphical user interface suitable for Python programming!

Many people, in particular with more experience, feel that Eclipse is the only way to go. This integrated development environment, IDE, have many and convenient features.

The labs

The actual lab assignments are found in the menu in the left margin! But you should read this page before starting on them!