Advanced python for biologists

Jones, Martin

Advanced python for biologists by Dr. Martin jones - San Bernardino : CreateSpace, ©2014 - 267 p. ; 25 cm.

Includes index.

1. Introduction About this book Why use Python's advanced features? How to use this book Exercises and solutions A Note on Setting up Your Environment Joined-up programming Getting in touch 2. Recursion and trees Recursively generating kmers Processing tree-like data Recap Exercise Solution 3. Complex data structures Tuples Sets Lists of lists Lists of diets and lists of tuples Other complex structures Exercises Solutions 4. Object-oriented Python Introduction A Simple DNA sequence class Constructors Inheritance Overriding Calling methods in the superclass Polymorphism 5. Functional Python State and mutability Side effects Functions as objects What is to be calculated Built-in higher order functions Map Filter Sorted Reduce Writing higher-order functions Contents note continued: Exercises 6. Iterators, comprehensions & generators Defining lists Lists and iterables List comprehensions Dictionary comprehensions Set comprehensions Iterators and generators 7. Exception handling Catching exceptions Catching specific errors Else Blocks in Exception Handling Finally Blocks in Exception Handling Nested try/except blocks Exceptions bubble up Raising exceptions Custom exception types Exercises.

9781495244377


Python (Computer program language)
Programming

005.133 / JON-A
© 2024 IIIT-Delhi, library@iiitd.ac.in