Introduction to programming 2013

These screencasts are lectures by Gavin Huttley in ANU BIOL3157. They are a very elementary introduction to programming using Python. The lectures are centred on writing a fasta format parser and producing some summary statistics. The lectures also cover very basic (assertion style) testing of functions.

If you can't view the movies in the browser, click the download links under each lecture title. VLC player on all platforms can be used to watch the screencasts.

Lecture 1

Content

  • Outline the fasta parser problem
  • Intro do basic features of programming languages
  • Order of execution
  • Basic Python data types (ints, floats, strings), functions (type), operations (multiply, add)
Download file "huttley_programming_1.mov"

Lecture 2

Content

  • Handling files
  • Looping
  • The dir and help functions for discovering properties
  • Relational operators
  • Conditionals

Download file "huttley_programming_2.mov"

Lecture 3

Content

  • Opening files for writing
  • Counting records in a file
  • String formatting
  • Container objects, lists
  • Slicing/indexing

Download file "huttley_programming_3.mov"

Lecture 4

Contents

  • String processing, join method
  • Finishing the fasta parser
  • assertion style tests
  • Introduction to functions

Download file "huttley_programming_4.mov"

Lecture 5

Contents

  • String processing, counting sub strings
  • python basic data type, dictionaries
  • Turning code into a function
  • assertion style tests
  • Basic statistics
Download file "huttley_programming_5.mov"

Lecture 6

Contents

  • Review and summary pseudo-code

Download file "huttley_programming_6.mov"


Comments

/groups/tic/search/index.rss?tag=hotlist/groups/tic/search/?tag=hotWhat’s HotHotListHot!?tag=hot8/groups/tic/sidebar/HotListemmadowlingEmma Dowling2015-12-03 23:06:19+00:002015-12-03 23:06:19updated28emmadowlingEmma Dowling2015-10-01 05:31:53+00:002015-10-01 05:31:53updated27gavinGavin Huttley2015-09-22 02:28:27+00:002015-09-22 02:28:27updated26gavinGavin Huttley2015-09-14 04:46:30+00:002015-09-14 04:46:30updated25emmadowlingEmma Dowling2015-09-14 00:26:50+00:002015-09-14 00:26:50updated24emmadowlingEmma Dowling2015-09-11 04:30:17+00:002015-09-11 04:30:17updated23emmadowlingEmma Dowling2015-08-27 05:19:06+00:002015-08-27 05:19:06updated22emmadowlingEmma Dowling2015-08-26 00:36:22+00:002015-08-26 00:36:22updated21emmadowlingEmma Dowling2015-08-21 03:34:53+00:002015-08-21 03:34:53updated20emmadowlingEmma Dowling2015-08-11 04:40:56+00:002015-08-11 04:40:56updated19emmadowlingEmma Dowling2015-08-05 00:42:06+00:002015-08-05 00:42:06updated18emmadowlingEmma Dowling2015-07-31 01:58:17+00:002015-07-31 01:58:17updated17emmadowlingEmma Dowling2015-07-24 05:00:22+00:002015-07-24 05:00:22updated16Emma DowlingEmma Dowling2015-06-18 03:30:17+00:002015-06-18 03:30:17updated15jackieJackie Stenhouse2015-06-14 23:55:03+00:002015-06-14 23:55:03updated14jackieJackie Stenhouse2015-06-01 04:42:44+00:002015-06-01 04:42:44updated13jackieJackie Stenhouse2015-05-28 01:46:47+00:002015-05-28 01:46:47updated12emmadowlingEmma Dowling2015-05-11 01:08:53+00:002015-05-11 01:08:53updated11gavinGavin Huttley2015-04-07 22:53:44+00:002015-04-07 22:53:44updated10emmadowlingEmma Dowling2015-04-02 03:04:03+00:002015-04-02 03:04:03updated9gavinGavin Huttley2015-04-01 01:15:42+00:002015-04-01 01:15:42updated8gavinGavin Huttley2015-04-01 01:04:36+00:002015-04-01 01:04:36updated7gavinGavin Huttley2015-04-01 00:55:58+00:002015-04-01 00:55:58updated6Added tag - hotjackieJackie Stenhouse2015-03-24 23:49:31+00:002015-03-24 23:49:31addTag5jackieJackie Stenhouse2015-02-25 03:49:00+00:002015-02-25 03:49:00updated4jackieJackie Stenhouse2015-02-18 05:41:50+00:002015-02-18 05:41:50updated3jackieJackie Stenhouse2015-01-23 02:00:00+00:002015-01-23 02:00:00updated2First createdjackieJackie Stenhouse2015-01-23 01:47:50+00:002015-01-23 01:47:50created1wiki2015-12-03T23:06:19+00:00groups/tic/wiki/89d11False2015 Calendar/groups/tic/wiki/89d11/2015_Calendar.htmlEmma Dowling28 updates2015 Calendar To edit this page, click the Edit (pencil) button. To delete this page, click the Delete (–) button. Date Venue ...Falseemmadowling2015-12-03T23:06:19+00:00gavinGavin Huttley2013-12-06 03:00:17+00:002013-12-06 03:00:17updated14gavinGavin Huttley2013-12-05 23:44:39+00:002013-12-05 23:44:39updated13gavinGavin Huttley2013-12-05 23:42:04+00:002013-12-05 23:42:04updated12gavinGavin Huttley2013-12-04 01:36:51+00:002013-12-04 01:36:51updated11gavinGavin Huttley2013-12-04 00:59:47+00:002013-12-04 00:59:47updated10gavinGavin Huttley2013-12-03 05:03:20+00:002013-12-03 05:03:20updated9gavinGavin Huttley2013-12-03 03:54:08+00:002013-12-03 03:54:08updated8Added tag - hotgavinGavin Huttley2013-12-03 03:53:44+00:002013-12-03 03:53:44addTag7gavinGavin Huttley2013-12-03 03:53:26+00:002013-12-03 03:53:26updated6gavinGavin Huttley2013-12-02 12:08:07+00:002013-12-02 12:08:07updated5gavinGavin Huttley2013-12-02 11:50:46+00:002013-12-02 11:50:46updated4gavinGavin Huttley2013-11-26 09:51:40+00:002013-11-26 09:51:40updated3gavinGavin Huttley2013-11-26 09:09:53+00:002013-11-26 09:09:53updated2First createdgavinGavin Huttley2013-11-26 09:09:22+00:002013-11-26 09:09:22created1wiki2013-12-06T03:00:17+00:00groups/tic/wiki/62bb3FalseBioinfosummer 2013/groups/tic/wiki/62bb3/Bioinfosummer_2013.htmlGavin Huttley14 updatesBioinfosummer 2013 Ben session (Friday) Starting the notebook server. $ ipython notebook --script --pylab=inline [Download file "solution.zip"] [Dow...Falsegavin2013-12-06T03:00:17+00:00gavinGavin Huttley2013-09-10 23:14:05+00:002013-09-10 23:14:05updated17gavinGavin Huttley2013-09-10 23:13:41+00:002013-09-10 23:13:41updated16gavinGavin Huttley2013-09-10 23:11:37+00:002013-09-10 23:11:37updated15gavinGavin Huttley2013-09-10 03:27:50+00:002013-09-10 03:27:50updated14gavinGavin Huttley2013-09-03 03:23:37+00:002013-09-03 03:23:37updated13gavinGavin Huttley2013-08-30 23:29:42+00:002013-08-30 23:29:42updated12gavinGavin Huttley2013-08-30 23:28:00+00:002013-08-30 23:28:00updated11gavinGavin Huttley2013-08-30 23:04:10+00:002013-08-30 23:04:10updated10gavinGavin Huttley2013-08-27 05:04:20+00:002013-08-27 05:04:20updated9gavinGavin Huttley2013-08-27 04:40:36+00:002013-08-27 04:40:36updated8gavinGavin Huttley2013-08-27 04:30:55+00:002013-08-27 04:30:55updated7gavinGavin Huttley2013-08-27 04:30:20+00:002013-08-27 04:30:20updated6gavinGavin Huttley2013-08-27 04:27:56+00:002013-08-27 04:27:56updated5Added tag - screencastgavinGavin Huttley2013-08-27 04:26:30+00:002013-08-27 04:26:30addTag4Added tag - pythongavinGavin Huttley2013-08-27 04:26:27+00:002013-08-27 04:26:27addTag3Added tag - hotgavinGavin Huttley2013-08-27 04:26:17+00:002013-08-27 04:26:17addTag2First createdgavinGavin Huttley2013-08-27 04:25:46+00:002013-08-27 04:25:46created1wiki2013-09-10T23:14:05+00:00groups/tic/wiki/bcdc6FalseGDU Python Course 2013/groups/tic/wiki/bcdc6/GDU_Python_Course_2013.htmlGavin Huttley17 updatesGDU Python Course 2013 Below are the screencasts from the Python Course, organised and run by the Genome Discovery Unit. Each day is organised into 3 ~50 minute blocks....Falsegavin2013-09-10T23:14:05+00:00gavinGavin Huttley2013-08-30 23:23:27+00:002013-08-30 23:23:27updated31Added tag - screencastgavinGavin Huttley2013-08-30 23:23:24+00:002013-08-30 23:23:24addTag30Added tag - pythongavinGavin Huttley2013-08-30 23:23:22+00:002013-08-30 23:23:22addTag29gavinGavin Huttley2013-08-30 23:22:28+00:002013-08-30 23:22:28updated28gavinGavin Huttley2013-08-30 23:15:35+00:002013-08-30 23:15:35updated27gavinGavin Huttley2013-08-30 23:10:51+00:002013-08-30 23:10:51updated26gavinGavin Huttley2013-08-23 09:28:09+00:002013-08-23 09:28:09updated25gavinGavin Huttley2013-08-23 09:27:54+00:002013-08-23 09:27:54updated24gavinGavin Huttley2013-08-23 08:52:08+00:002013-08-23 08:52:08updated23gavinGavin Huttley2013-08-23 08:50:14+00:002013-08-23 08:50:14updated22gavinGavin Huttley2013-08-23 08:47:59+00:002013-08-23 08:47:59updated21gavinGavin Huttley2013-08-23 08:46:06+00:002013-08-23 08:46:06updated20gavinGavin Huttley2013-08-23 08:42:59+00:002013-08-23 08:42:59updated19gavinGavin Huttley2013-08-23 08:41:06+00:002013-08-23 08:41:06updated18gavinGavin Huttley2013-08-20 02:03:10+00:002013-08-20 02:03:10updated17gavinGavin Huttley2013-08-20 02:02:36+00:002013-08-20 02:02:36updated16gavinGavin Huttley2013-08-16 06:22:43+00:002013-08-16 06:22:43updated15gavinGavin Huttley2013-08-14 01:36:10+00:002013-08-14 01:36:10updated14gavinGavin Huttley2013-08-13 02:31:03+00:002013-08-13 02:31:03updated13gavinGavin Huttley2013-08-11 08:14:06+00:002013-08-11 08:14:06updated12gavinGavin Huttley2013-08-11 01:07:31+00:002013-08-11 01:07:31updated11gavinGavin Huttley2013-08-10 23:46:12+00:002013-08-10 23:46:12updated10gavinGavin Huttley2013-08-09 01:43:35+00:002013-08-09 01:43:35updated9gavinGavin Huttley2013-08-09 01:40:14+00:002013-08-09 01:40:14updated8gavinGavin Huttley2013-08-09 01:35:31+00:002013-08-09 01:35:31updated7gavinGavin Huttley2013-08-07 02:42:17+00:002013-08-07 02:42:17updated6gavinGavin Huttley2013-08-07 02:40:17+00:002013-08-07 02:40:17updated5gavinGavin Huttley2013-08-07 02:34:52+00:002013-08-07 02:34:52updated4Added tag - hotgavinGavin Huttley2013-08-07 02:27:46+00:002013-08-07 02:27:46addTag3gavinGavin Huttley2013-08-07 02:27:37+00:002013-08-07 02:27:37updated2First createdgavinGavin Huttley2013-08-07 02:25:54+00:002013-08-07 02:25:54created1wiki2013-08-30T23:23:27+00:00groups/tic/wiki/1dc17FalseIntroduction to programming 2013/groups/tic/wiki/1dc17/Introduction_to_programming_2013.htmlGavin Huttley31 updatesIntroduction to programming 2013 These screencasts are lectures by Gavin Huttley in ANU BIOL3157. They are a very elementary introduction to programming using Python. The lecture...Falsegavin2013-08-30T23:23:27+00:00Added tag - hotjackieJackie Stenhouse2013-03-04 02:05:59+00:002013-03-04 02:05:59addTag3jackieJackie Stenhouse2013-03-04 02:03:28+00:002013-03-04 02:03:28updated2First createdjackieJackie Stenhouse2013-03-04 02:02:50+00:002013-03-04 02:02:50created1wiki2013-03-04T02:03:28+00:00groups/tic/wiki/27ea8FalseEncode Revisited (TIC Talk 15 March 2013): Read this journal article first./groups/tic/wiki/27ea8/Encode_Revisited_TIC_Talk_15_March_2013__Read_this_journal_article_first.htmlJackie Stenhouse3 updatesEncode Revisited (TIC Talk 15 March 2013): Read this journal article first.[Download file "Genome Biol Evol-2013-Graur-gbe_evt028.pdf"] Falsejackie2013-03-04T02:03:28+00:00hot/groups/tic/search/index.rss?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomelist/groups/tic/search/?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomeRecent ChangesRecentChangesListUpdates?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcome0/groups/tic/sidebar/RecentChangesListmodifiedDateallRecent ChangesRecentChangesListUpdateswiki/welcomeNo recent changes.reverse5searchlist/groups/tic/calendar/Upcoming EventsUpcomingEventsListEvents1Getting events…