Bioinformatics Programming Using Python. Practical Programming for Biological Data - Helion
ISBN: 978-14-493-8290-2
stron: 528, Format: ebook
Data wydania: 2009-12-08
Księgarnia: Helion
Cena książki: 169,15 zł (poprzednio: 196,69 zł)
Oszczędzasz: 14% (-27,54 zł)
Powerful, flexible, and easy to use, Python is an ideal language for building software tools and applications for life science research and development. This unique book shows you how to program with Python, using code examples taken directly from bioinformatics. In a short time, you'll be using sophisticated techniques and Python modules that are particularly effective for bioinformatics programming.
Bioinformatics Programming Using Python is perfect for anyone involved with bioinformatics -- researchers, support staff, students, and software developers interested in writing bioinformatics applications. You'll find it useful whether you already use Python, write code in another language, or have no programming experience at all. It's an excellent self-instruction tool, as well as a handy reference when facing the challenges of real-life programming tasks.
- Become familiar with Python's fundamentals, including ways to develop simple applications
- Learn how to use Python modules for pattern matching, structured text processing, online data retrieval, and database access
- Discover generalized patterns that cover a large proportion of how Python code is used in bioinformatics
- Learn how to apply the principles and techniques of object-oriented programming
- Benefit from the "tips and traps" section in each chapter
Osoby które kupowały "Bioinformatics Programming Using Python. Practical Programming for Biological Data", wybierały także:
- GraphQL. Kurs video. Buduj nowoczesne API w Pythonie 169,00 zł, (50,70 zł -70%)
- Receptura na Python. Kurs Video. 54 praktyczne porady dla programist 199,00 zł, (59,70 zł -70%)
- Podstawy Pythona z Minecraftem. Kurs video. Piszemy pierwsze skrypty 149,00 zł, (44,70 zł -70%)
- Twórz gry w Pythonie. Kurs video. Poznaj bibliotekę PyGame 249,00 zł, (74,70 zł -70%)
- Data Science w Pythonie. Kurs video. Algorytmy uczenia maszynowego 199,00 zł, (59,70 zł -70%)
Spis treści
Bioinformatics Programming Using Python. Practical Programming for Biological Data eBook -- spis treści
- Bioinformatics Programming Using Python
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- Introduction
- About This Book
- About Bioinformatics
- About the Reader
- Python
- Some Context
- The Python Language
- Installing Python
- Running Python
- Notes
- Reading and Reference Recommendations
- Example Code
- Unfortunate and Unavoidable Vocabulary Overlap
- Comments
- Conventions Used in This Book
- Wed Like to Hear from You
- Using Code Examples
- Safari Books Online
- Acknowledgments
- Introduction
- 1. Primitives
- Simple Values
- Booleans
- Integers
- Floats
- Strings
- Expressions
- Numeric Operators
- Logical Operations
- String Operations
- String operators
- Subscription
- Slicing
- Calls
- Function calls
- Method calls
- Compound Expressions
- Tips, Traps, and Tracebacks
- Tips
- Statements and expressions
- Running Python interactively
- Traps
- Tracebacks
- Tips
- Simple Values
- 2. Names, Functions, and Modules
- Assigning Names
- Defining Functions
- Function Parameters
- Comments and Documentation
- Assertions
- Default Parameter Values
- Using Modules
- Importing
- Module namespaces
- The random module
- Python Files
- Importing
- Tips, Traps, and Tracebacks
- Tips
- Names
- Function definitions
- Executing code
- Using IDLE
- Managing Python files
- Traps
- Tracebacks
- Tips
- 3. Collections
- Sets
- Sequences
- Strings, Bytes, and Bytearrays
- Creating
- Testing
- Searching
- Replacing
- Changing case
- Reformatting
- The format method and function
- Ranges
- Tuples
- Tuple syntax
- Tuple packing and unpacking
- Lists
- Statements that modify lists
- List modification methods
- Sequence-oriented string methods
- Strings, Bytes, and Bytearrays
- Mappings
- Dictionaries
- Dictionary example: RNA codon translation table
- Dictionary operations
- Dictionary methods
- Dictionaries
- Streams
- Files
- Creating file objects
- File methods
- Example
- Generators
- Files
- Collection-Related Expression Features
- Comprehensions
- List comprehensions
- Set and dictionary comprehensions
- Generator expressions
- Conditional comprehensions
- Nested comprehensions
- Functional Parameters
- The parameter key
- Function objects
- Anonymous functions
- Comprehensions
- Tips, Traps, and Tracebacks
- Tips
- Language features
- Developing and testing code
- Traps
- Tracebacks
- Tips
- 4. Control Statements
- Conditionals
- Loops
- Simple Loop Examples
- Initialization of Loop Values
- Looping Forever
- Loops with Guard Conditions
- Iterations
- Iteration Statements
- Kinds of Iterations
- Do
- Collect
- Combine
- Search
- Filter
- Nested iterations
- Recursive iterations
- Exception Handlers
- Python Errors
- Tracebacks
- Runtime errors
- Exception Handling Statements
- Optional features of exception handling statements
- Exception handling and generator objects
- Raising Exceptions
- The raise statement
- Raising an exception to end a loop
- Python Errors
- Extended Examples
- Extracting Information from an HTML File
- The Grand Unified Bioinformatics File Parser
- Reading the sequences in a FASTA file
- Generalized parsing
- Parsing GenBank Files
- Translating RNA Sequences
- Step 1
- Step 2
- Step 3
- Step 4
- Step 5
- Constructing a Table from a Text File
- Step 1
- Step 2
- Step 3
- Step 4
- Step 5
- Tips, Traps, and Tracebacks
- Tips
- Traps
- Tracebacks
- 5. Classes
- Defining Classes
- Instance Attributes
- Access methods
- Predicate methods
- Initialization methods
- String methods
- Modification methods
- Action methods
- Support methods
- Summary
- Class Attributes
- Class fields
- Class methods
- Classes as objects
- Instance Attributes
- Class and Method Relationships
- Decomposition
- Class decomposition
- Method decomposition
- Singleton classes
- Inheritance
- Defining subclasses
- Factoring out common code
- Generalization
- Subclass methods
- Decomposition
- Tips, Traps, and Tracebacks
- Tips
- Traps
- Tracebacks
- Defining Classes
- 6. Utilities
- System Environment
- Dates and Times: datetime
- Classes
- Instance creation
- Operations
- Methods
- System Information
- The Python runtime environment: sys
- The system clock: time
- Command-Line Utilities
- Reading multiple files: fileinput
- Command-line options: optparse
- Command-line commands: subprocess
- Communications
- Sending email: smtplib
- Logging: logging
- Dates and Times: datetime
- The Filesystem
- Operating System Interface: os
- Environment access
- Managing files and directories
- Directories
- Files
- Directory contents
- Temporary files: tempfile
- Manipulating Paths: os.path
- Path components
- Path manipulations
- Path information
- Filename Expansion: fnmatch and glob
- fnmatch
- glob
- Shell Utilities: shutil
- Comparing Files and Directories
- File and directory comparison: filecmp
- Showing the differences between two files: difflib
- Operating System Interface: os
- Working with Text
- Formatting Blocks of Text: textwrap
- String Utilities: string
- Comma- and Tab-Separated Formats: csv
- String-Based Reading and Writing: io
- Persistent Storage
- Persistent Text: dbm
- Persistent Objects: pickle
- Keyed Persistent Object Storage: shelve
- Debugging Tools
- The Python debugger: pdb
- The IDLE debugger
- Tips, Traps, and Tracebacks
- Tips
- Traps
- Tracebacks
- System Environment
- 7. Pattern Matching
- Fundamental Syntax
- Fixed-Length Matching
- Literal matches
- Character sets
- Character classes
- Boundaries
- Variable-Length Matching
- Repetition
- Greedy Versus Nongreedy Matching
- Grouping and Disjunction
- Fixed-Length Matching
- The Actions of the re Module
- Functions
- Flags
- Methods
- Results of re Functions and Methods
- Match Object Fields
- Match Object Methods
- Putting It All Together: Examples
- Some Quick Examples
- Using regular expressions to ignore case
- Listing files in a directory, excluding some
- Finding open reading frames
- Extracting Descriptions from Sequence Files
- Extracting Entries From Sequence Files
- Using regular expressions to extract entries
- Keeping track of the position between calls
- Buffering input
- Some Quick Examples
- Tips, Traps, and Tracebacks
- Tips
- Traps
- Tracebacks
- Fundamental Syntax
- 8. Structured Text
- HTML
- Simple HTML Processing
- Searching HTML text
- More elaborate HTML pattern matching
- Turning HTML into plain text
- Structured HTML Processing
- Problems with HTML pattern matching
- Structured HTML parsing: html.parser
- Simple HTML Processing
- XML
- The Nature of XML
- An XML File for a Complete Genome
- The ElementTree Module
- Getting started with ElementTree
- Navigating around an ElementTree
- Event-Based Processing
- Function calls, exceptions, and the call stack
- Callbacks: Reversed function calls
- Programming for an event-based processor
- expat
- Obtaining a single piece of information
- Extracting a few pieces of data
- Getting the content of all tags with a specified name
- Tips, Traps, and Tracebacks
- Tips
- Traps
- Tracebacks
- HTML
- 9. Web Programming
- Manipulating URLs: urllib.parse
- Disassembling URLs
- Assembling URLs
- Opening Web Pages: webbrowser
- Module Functions
- Constructing and Submitting Queries
- Constructing and Viewing an HTML Page
- Web Clients
- Making the URLs in a Response Absolute
- Constructing an HTML Page of Extracted Links
- Downloading a Web Pages Linked Files
- Web Servers
- Sockets and Servers
- Server fundamentals
- Running a server: The http.server module
- CGI
- Serving CGI requests
- Setting up CGI
- CGI script arguments and responses
- Simple Web Applications
- Using CGI scripts
- HTML forms with CGI scripts
- Sockets and Servers
- Tips, Traps, and Tracebacks
- Tips
- Web pages
- Debugging CGI scripts
- HTTP servers
- Traps
- Tracebacks
- Tips
- Manipulating URLs: urllib.parse
- 10. Relational Databases
- Representation in Relational Databases
- Database Tables
- Avoiding duplication of values
- Representation of relationships
- Database definition
- A Restriction Enzyme Database
- The data
- Reading the data
- A schema for the Rebase database
- Database Tables
- Using Relational Data
- SQL Basics
- Using the sqlite3 module
- Connecting to the database
- Creating the database
- Loading data into tables
- SQL Queries
- Simple database queries
- Qualified database queries
- Relationship queries
- Querying the Database from a Web Page
- HTML frames
- An HTML page of query forms
- SQL Basics
- Tips, Traps, and Tracebacks
- Tips
- Traps
- Tracebacks
- Representation in Relational Databases
- 11. Structured Graphics
- Introduction to Graphics Programming
- Concepts
- Coordinate system
- Components
- Properties
- GUI Toolkits
- GUI toolkits for Python
- Using a GUI toolkit
- Concepts
- Structured Graphics with tkinter
- tkinter Fundamentals
- The basic steps
- Common widget options
- Canvas drawing methods
- Writing the contents of a canvas to a PostScript file
- Examples
- An abstract class for tkinter graphics
- Dot plots
- Histograms
- tkinter Fundamentals
- Structured Graphics with SVG
- SVG File Contents
- SVG tags
- SVG styles
- Examples
- Histograms of codon use
- Sequencing trace file curves using SVG
- SVG File Contents
- Tips, Traps, and Tracebacks
- Tips
- Traps
- SVG traps
- Tracebacks
- Introduction to Graphics Programming
- A. Python Language Summary
- Language Components
- Special Syntactic Elements
- Keywords
- Special Names
- Operators
- Anonymous Functions
- Types and Expressions
- Statements
- Notes
- Language Components
- B. Collection Type Summary
- Types and General Operations
- Common Operations
- Creating Collections
- Specific Collection Types
- Sets
- Sequences
- Strings
- Lists
- Mappings
- Streams
- File objects
- Generators
- Iteration Templates
- Basic Iteration Templates
- Filtering Templates
- Other Kinds of Templates
- Types and General Operations
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly