Bioinformatics Programming Using Python 1st Edition Mitchell L. Model fast download
Bioinformatics Programming Using Python 1st Edition Mitchell L. Model fast download
https://ebookfinal.com/download/bioinformatics-programming-using-
python-1st-edition-mitchell-l-model/
★★★★★
4.8 out of 5.0 (61 reviews )
DOWNLOAD PDF
ebookfinal.com
Bioinformatics Programming Using Python 1st Edition Mitchell
L. Model Pdf Download
EBOOK
Available Formats
Mitchell L Model
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: 800-998-9938 or [email protected].
Printing History:
December 2009: First Edition.
O’Reilly and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Bioinformatics Pro-
gramming Using Python, the image of a brown rat, and related trade dress are trademarks of O’Reilly
Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-0-596-15450-9
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1. Primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Simple Values 1
Booleans 2
Integers 2
Floats 3
Strings 4
Expressions 5
Numeric Operators 5
Logical Operations 7
String Operations 9
Calls 12
Compound Expressions 16
Tips, Traps, and Tracebacks 18
Tips 18
Traps 20
Tracebacks 20
v
Traps 45
Tracebacks 46
3. Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Sets 48
Sequences 51
Strings, Bytes, and Bytearrays 53
Ranges 60
Tuples 61
Lists 62
Mappings 66
Dictionaries 67
Streams 72
Files 73
Generators 78
Collection-Related Expression Features 79
Comprehensions 79
Functional Parameters 89
Tips, Traps, and Tracebacks 94
Tips 94
Traps 96
Tracebacks 97
4. Control Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Conditionals 101
Loops 104
Simple Loop Examples 105
Initialization of Loop Values 106
Looping Forever 107
Loops with Guard Conditions 109
Iterations 111
Iteration Statements 111
Kinds of Iterations 113
Exception Handlers 134
Python Errors 136
Exception Handling Statements 138
Raising Exceptions 141
Extended Examples 143
Extracting Information from an HTML File 143
The Grand Unified Bioinformatics File Parser 146
Parsing GenBank Files 148
Translating RNA Sequences 151
Constructing a Table from a Text File 155
vi | Table of Contents
Tips, Traps, and Tracebacks 160
Tips 160
Traps 162
Tracebacks 163
5. Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Defining Classes 166
Instance Attributes 168
Class Attributes 179
Class and Method Relationships 186
Decomposition 186
Inheritance 194
Tips, Traps, and Tracebacks 205
Tips 205
Traps 207
Tracebacks 208
6. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
System Environment 209
Dates and Times: datetime 209
System Information 212
Command-Line Utilities 217
Communications 223
The Filesystem 226
Operating System Interface: os 226
Manipulating Paths: os.path 229
Filename Expansion: fnmatch and glob 232
Shell Utilities: shutil 234
Comparing Files and Directories 235
Working with Text 238
Formatting Blocks of Text: textwrap 238
String Utilities: string 240
Comma- and Tab-Separated Formats: csv 241
String-Based Reading and Writing: io 242
Persistent Storage 243
Persistent Text: dbm 243
Persistent Objects: pickle 247
Keyed Persistent Object Storage: shelve 248
Debugging Tools 249
Tips, Traps, and Tracebacks 253
Tips 253
Traps 254
Tracebacks 255
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com