-
Object-Oriented Programming in Perl
-
Chapter 1 Modular Programming with Perl
- What Is a Module?
- Why Perl Modules?
- Namespaces
- Packages
- Defining Modules
- Storing Modules
- Writing Your First Perl Module
- Using Modules
- CPAN Modules
- Exercises
-
Chapter 2 Data Structures and String Algorithms
- Basic Perl Data Types
- References
- Matrices
- Complex Data Structures
- Printing Complex Data Structures
- Data Structures in Action
- Dynamic Programming
- Approximate String Matching
- Resources
- Exercises
-
Chapter 3 Object-Oriented Programming in Perl
- What Is Object-Oriented Programming?
- Using Perl Classes (Without Writing Them)
- Objects, Methods, and Classes in Perl
- Arrow Notation (->)
- Gene1: An Example of a Perl Class
- Details of the Gene1 Class
- Gene2.pm: A Second Example of a Perl Class
- Gene3.pm: A Third Example of a Perl Class
- How AUTOLOAD Works
- Cleaning Up Unused Objects with DESTROY
- Gene.pm: A Fourth Example of a Perl Class
- How to Document a Perl Class with POD
- Additional Topics
- Resources
- Exercises
-
Chapter 4 Sequence Formats and Inheritance
- Inheritance
- FileIO.pm: A Class to Read and Write Files
- SeqFileIO.pm: Sequence File Formats
- Resources
- Exercises
-
Chapter 5 A Class for Restriction Enzymes
- Envisioning an Object
- Rebase.pm: A Class Module
- Restriction.pm: Finding Recognition Sites
- Drawing Restriction Maps
- Resources
- Exercises
-
-
Perl and Bioinformatics
-
Chapter 6 Perl and Relational Databases
- One Perl, Many Databases
- Popular Relational Databases
- Relational Database Definitions
- Structured Query Language
- Administering Your Database
- Relational Database Design
- Perl DBI and DBD Interface Modules
- A Rebase Database Implementation
- Additional Topics
- Resources
- Exercises
-
Chapter 7 Perl and the Web
- How the Web Works
- Web Servers and Browsers
- The Common Gateway Interface
- Rebase: Building Dynamic Web Pages
- Exercises
-
Chapter 8 Perl and Graphics
- Computer Graphics
- GD
- Adding GD Graphics to Restrictionmap.pm
- Making Graphs
- Resources
- Exercises
-
Chapter 9 Introduction to Bioperl
- The Growth of Bioperl
- Installing Bioperl
- Testing Bioperl
- Bioperl Problems
- Overview of Objects
- bptutorial.pl
- bptutorial.pl: sequence_manipulation Demo
- Using Bioperl Modules
-
-
Appendixes
-
Appendix A Perl Summary
- Command Interpretation
- Comments
- Scalar Values and Scalar Variables
- Assignment
- Statements and Blocks
- Arrays
- Hashes
- Complex Data Structures
- Operators
- Operator Precedence
- Basic Operators
- Conditionals and Logical Operators
- Binding Operators
- Loops
- Input/Output
- Regular Expressions
- Scalar and List Context
- Subroutines
- Modules and Packages
- Object-Oriented Programming
- Built-in Functions
-
Appendix B Installing Perl
- Installing Perl on Your Computer
- Versions of Perl
- Internet Access
- Downloading
- How to Run Perl Programs
- Finding Help
-
-
Colophon
- Title:
- Mastering Perl for Bioinformatics
- By:
- James Tisdall
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- September 2003
- Pages:
- 400
- Print ISBN:
- 978-0-596-00307-4
- | ISBN 10:
- 0-596-00307-2
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Mastering Perl for Bioinformatics is a North American bullfrog (Rana catesbeiana). It is native to the central and eastern United States, as well as southern portions of Canada. However, this bullfrog has since been introduced as far away from its native habitat as Asia, Europe, and Hawaii.
The North American bullfrog is the largest true frog in North America and can weigh over a pound. It can grow up to eight inches in length, although the norm is four to five inches. The gender of the bullfrog is ascertained by comparing the size of the external ear (the tympanum) relative to the size of the eye.
Bullfrogs are predators and also are cannibalistic. Their role in the environment is to control the population of insect pests as well as snakes and mice. In fact, the zeal of the North American bullfrog threatens to drive other frog species to extinction.
The generic name (rana) comes from the Latin for frog, while the species name (catesbeiana) honors an English naturalist. In the 18th century, Mark Catesby (1683--1749) produced the authoritative and exhaustive record of the flora and fauna found in the New World. Wealthy patrons in England eagerly received Catesby's regular shipments of specimens, including plants, birds, reptiles, insects, and frogs. Mary Anne Weeks Mayo was the production editor and copyeditor, and Marlowe Shaeffer was the proofreader, for Mastering Perl for Bioinformatics. Jane Ellin and Colleen Gorman provided quality control. Marlowe Shaeffer, Mary Agner, and James Quill provided production assistance. John Bickelhaupt wrote the index.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted by Andrew Savikas to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Reg Aubry.
