Skip to content

Instantly share code, notes, and snippets.

View kantale's full-sized avatar

Alexandros Kanterakis kantale

View GitHub Profile
@kantale
kantale / notes.md
Last active October 17, 2019 12:13
Προγραμματισμός με τη γλώσσα python 2019-2020

Επικοινωνία

Πρόγραμμα

  • Week 1: Εισαγωγή στη python, γιατί python; anaconda installation, περιβάλλον ανάπτυξης jupyter, markdown, social coding, primitive data types and operations, strings, boolean logic, slicing
  • Week 2: Lists, tuples, for, while, if_then_else, continue, break. Whitespaces for indentation
  • Week 3: List comprehensions
  • Week 4: functions, variable scope, map/reduce, functional programming, recursive functions
  • Week 5: Dictionaries, complex data types, dictionary comprehensions, sets, set comprehensions
  • Week 6: Sorting, Counting, Filtering, lambda functions, generators, generator comprehensions
@kantale
kantale / lesson_1.ipynb
Created October 17, 2019 06:57
First lesson in python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kantale
kantale / scripts.md
Last active July 20, 2019 09:59
Useful scripts for installing tools

hapgen2 2.1.2

Install

wget https://mathgen.stats.ox.ac.uk/genetics_software/hapgen/download/builds/macosx_intel/v2.1.2/hapgen2_macosx_intel.tar.gz
tar zxvf hapgen2_macosx_intel.tar.gz

validate

@kantale
kantale / notes.md
Last active June 15, 2019 08:58
TEI_assignments_notes

This is a list of common mistakes and bad practices seen in assignments submitted for the Bioinformatics lesson.

Note 1

Prefer using with instead of open/close

https://www.pythonforbeginners.com/files/reading-and-writing-files-in-python

One bonus of using this method is that any files opened will be closed automatically after you are done. This leaves less to worry about during cleanup.

Avoid:

@kantale
kantale / lesson_3.ipynb
Created April 8, 2019 16:49
lesson_TEI_8_apr_2019
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kantale
kantale / lesson_2.ipynb
Created April 1, 2019 17:04
TEI lesson_2 1 April 2019
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kantale
kantale / lesson_1.ipynb
Created March 18, 2019 18:05
lesson_1 18 March 2019
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kantale
kantale / lesson_1.ipynb
Created March 18, 2019 14:40
description
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.