{"id":841,"date":"2024-03-18T13:28:26","date_gmt":"2024-03-18T10:28:26","guid":{"rendered":"https:\/\/www.kibs.co.ke\/wp\/?page_id=841"},"modified":"2026-07-21T12:41:44","modified_gmt":"2026-07-21T09:41:44","slug":"perl-programming-for-bio-scientists","status":"publish","type":"page","link":"https:\/\/www.kibs.co.ke\/research\/perl-programming-for-bio-scientists\/","title":{"rendered":"Perl Programming for Bio Scientists"},"content":{"rendered":"\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n\n\n\nPerl is a powerful programming tool widely used in the analysis of biological data. It not only combines the modern robustness of Java with the expedient pragmatism of scripting languages but also offers both the low-level system access of C and the high-level elegance of Lisp. Perl is widely used in bioinformatics due to its powerful text-processing capacity. It allows the easy implementation of NLP and bio-informatics algorithms and the extraction and generation of textual data.<br><br>Perl is also easy to learn, is portable and multiplatform, has a large library of extensions, is component-oriented, is good in prototyping, and is efficient in the slicing, dicing, twisting, wringing, smoothing, summarizing and otherwise mangling of text. The objective of this course is to equip biologists who have little or no programming experience with the requisite skills.<br>This training will teach you how to:\n\n\n\n\nInstall the Perl interpreter\n\n\n\nManipulate files and directories\n\n\n\nUse arrays and array functions to solve a variety of problems\n\n\n\nUse the powerful regular expression capabilities of Perl.\n\n\n\nGenerate reports, use hashes to solve biological problems, and write programs that solve common biological problems.\n\n\n\n\n\n\n\n\n<strong>TOOLS AND SOFTWARE<\/strong>\n\n\n\n\nActive State Perl Interpreter\n\n\n\nNotepad ++\n\n\n\nCGI.pm Module\n\n\n\nCourse material including a comprehensive training manual\n\n\n\n\n\n\n\n\n<strong>DAY 1. GETTING STARTED WITH PERL<\/strong><br><br>Getting Started with Perl<br>What is Perl?<br>Where Can I Get Perl?<br>Installing the Perl interpreter and checking that it has correctly installed<br>Checking if the path to the Perl interpreter has been added to the path list in C:\/Autoexec.bat<br>A Simple Perl Program<br>Simple I\/O<br>Perl Variables<br>Control Flow &#8211; Decisions<br>Control Flow &#8211; Loops<br>Altering Loop Control Flow<br>Statement Modifiers<br>What Is True And What Is False?<br>The Special Variable $_<br><br>Perl Operators<br>Introduction<br>Table Of Perl Operators<br>Arithmetic Operators<br>String Operators<br>Relational Operators<br>Logical Operators<br>Bitwise Operators<br>Assignment Operators<br>The Conditional Operator<br>Range Operator<br>String Functions<br>The eval Function<br><br>Input\/Output<br>Introduction<br>String Literals<br>The print Function<br>Here Documents<br>The printf Function<br>The sprintf Function<br>Filehandles<br>Opening Disk Files<br>File Open Errors<br>The die and warn Functions<br>File Operators<br><br><strong>DAY 2. ARRAYS AND SUB-ROUTINES<\/strong><br><br>Arrays<br>Basic Concepts<br>Assigning Values To An Array<br>Accessing Array Elements<br>Array Functions<br>push and pop<br>shift<br>sort, reverse, and chop<br>split and join<br>grep<br>splice<br>Command Line Arguments<br>Associative Arrays<br><br>Subroutines<br>CALLING SUBROUTINES<br>Passing Arguments to Subroutines<br>Returning Values from Subroutines<br>The require Function<br>Packages and Modules<br>The @INC Array<br>Predefined Subroutines<br>Comparison Subroutines for Sorting<br><br><strong>DAY 3. PATTERN MATCHING, REGULAR EXPRESSIONS AND ACCESSING SYSTEM RESOURCES<\/strong><br><br>Pattern Matching<br>Introduction<br>Regular Expression Syntax<br>The Match Operator<br>Regular Expression Meta-Characters<br>Anchors<br>Single Character Matches<br>Some Special Issues<br>Character Classes<br>Multiple Character Matches<br>Alternation<br>The Substitution Operator<br>The Translation Operator<br>Remembered Matches<br>Greedy Regular Expressions<br>Nested Remembered Patterns<br>Matching for Multiple Occurrences in a Loop<br><br>Accessing System Resources<br>Introduction<br>File and Directory System Calls<br>The stat Function<br>The utime Function<br>The fork Function<br>The exec and wait Functions<br>Handling Signals<br>The system Function<br>Command Substitution<br>Opening Pipe Files<br><br><strong>DAY 4. GENERATING REPORTS WITH PERL, PERL AND CGI, AND COMMAND LINE OPTIONS AND DEBUGGING<\/strong><br><br>Generating Reports with Perl<br>Formats<br>Formatting Examples<br>Multi-Line Values<br>Multi-Line Text Blocks<br>Sending a Report to a File<br>The select Function<br>The Special Variable $~<br>Top-of-Page Formats<br>Bottom-of-Page Formats<br>A Sample Report<br><br>Perl and CGI<br>What is CGI?<br>Web Servers and Browsers<br>HTML<br>HTML Forms<br>Form Elements<br>A Typical CGI Application<br>CGI Input<br>CGI Output<br>Using the CGI.pm Module<br>CGI Environment Variables<br><br>Command Line Options and Debugging<br>Running Perl on the Command Line<br>Summary of Command Line Options<br>The Perl Debugger<br>Perl Debugger Commands<br>Other Debugging Aids<br>The strict Module<br><strong>DAY 5. SOLVING BIOLOGICAL PROBLEMS USING PERL<br>DAY 5. EXERCISES<br>DAY 5. AWARD OF CERTIFICATES<\/strong>\n\n\n\n\n\n\n\nPerl Programming for Bio Scientists is aimed at researchers who have little or no programming skills and who are applying or planning to use bioinformatics techniques in their work.\n\n\n\n\nThe fee is Kshs. 30,000\/ for East African residents. Non-East African students pay 300 USD.\n\n\n\nFees covers tuition, training material, and certificate only.\n\n\n\nFees are payable strictly in advance (at least 4 working days before the starting date.\n\n\n\nGroups with a minimum of 5 people will enjoy a 10% discount and early bird registration (at least 2 weeks before the start) will be offered a 5% discount\n\n\n\nThere will be a 10% administrative charge for cancellations received in writing up to 20 working days before the start of the course. No refunds will be made for cancellations received within 20 working days of the course start date or for the inability to attend the course for whatever reasons. Substitutions may, of course, be made at any time, providing you inform us in writing. KIBs is not liable for non-attendance due to travel disruptions, health problems or any other reason that might lead to a delegate not being able to attend the course.\n\n\n\nFee is payable by direct depsoit, bankers cheque or MPESA to: Bioinformatics Institute of Kenya Ltd. A\/C No. 0012342070001, Cooperative Bank of Kenya, Co-op House Branch, Nairobi, Kenya. The Paybill number for payments via Mpesa is 400222 and the account number is 1679821#your name. Contact us for online payments.\n\n\n\n\n\n\n\n\nKindly fill the form details below to register for your course of interest.<br><div class=\"kibs-registration-form\">\n<form method=\"post\" action=\"https:\/\/www.kibs.co.ke\/research\/wp-admin\/admin-post.php\">\n<input type=\"hidden\" name=\"action\" value=\"kibs_training_registration\">\n<input type=\"hidden\" id=\"kibs_nonce\" name=\"kibs_nonce\" value=\"676991d3ad\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/research\/wp-json\/wp\/v2\/pages\/841\" \/>\n<h2>Course Registration Form<\/h2>\n\n<div class=\"form-section\">\n<h3>Course Information<\/h3>\n\n<div class=\"form-row\">\n<div class=\"form-group\">\n<label for=\"course_name\">Course *<\/label>\n<select name=\"course_name\" id=\"course_name\" required>\n<option value=\"\">-- Select a Course --<\/option>\n<option value=\"Bioinformatics 1 Course\" data-fee=\"130000\">Bioinformatics 1 Course<\/option>\n<option value=\"Computer-Aided Drug Design Course\" data-fee=\"100000\">Computer-Aided Drug Design Course<\/option>\n<option value=\"CRISPR-Cas POC Diagnostics Course\" data-fee=\"85000\">CRISPR-Cas POC Diagnostics Course<\/option>\n<option value=\"Genome Editing using CRISPR-Cas Course\" data-fee=\"85000\">Genome Editing using CRISPR-Cas Course<\/option>\n<option value=\"Metabolomics Course\" data-fee=\"85000\">Metabolomics Course<\/option>\n<option value=\"Metagenomics Course\" data-fee=\"85000\">Metagenomics Course<\/option>\n<option value=\"NGS Data Analysis Course\" data-fee=\"85000\">NGS Data Analysis Course<\/option>\n<option value=\"PCR Boot Camp\" data-fee=\"30000\">PCR Boot Camp<\/option>\n<option value=\"RNASeq Gene Expression Analysis\" data-fee=\"130000\">RNASeq Gene Expression Analysis<\/option>\n<option value=\"Pathogen Genomics\" data-fee=\"250000\">Pathogen Genomics<\/option>\n<option value=\"Perl Programming for Bio Scientists\" data-fee=\"30000\">Perl Programming for Bio Scientists<\/option>\n<option value=\"Python Programming for Bio Scientists\" data-fee=\"50000\">Python Programming for Bio Scientists<\/option>\n<option value=\"Nanopore Sequencing &amp; Data Analysis Techniques\" data-fee=\"130000\">Nanopore Sequencing &amp; Data Analysis Techniques<\/option>\n<\/select>\n<\/div>\n\n<div class=\"form-group\">\n<label for=\"training_dates\">Preferred Training Date *<\/label>\n<input type=\"date\" id=\"training_dates\" name=\"training_dates\" required>\n<\/div>\n<\/div>\n\n<div class=\"form-group\">\n<label>Registration Fee<\/label>\n<input type=\"text\" id=\"course_fee\" readonly placeholder=\"Automatically calculated\">\n<input type=\"hidden\" id=\"course_fee_hidden\" name=\"course_fee\">\n<\/div>\n\n<p class=\"notice\"><strong>Fee includes:<\/strong> Tuition, laboratory consumables, course notes, certificate and refreshments. Joining instructions are sent after payment confirmation.<\/p>\n<\/div>\n\n<div class=\"form-section\">\n<h3>Participant Information<\/h3>\n\n<div class=\"form-row\">\n<div class=\"form-group\"><label>Full Name *<\/label><input type=\"text\" name=\"full_name\" required><\/div>\n<div class=\"form-group\"><label>Institution<\/label><input type=\"text\" name=\"company_name\"><\/div>\n<\/div>\n\n<div class=\"form-group\"><label>Address *<\/label><textarea name=\"address\" rows=\"3\" required><\/textarea><\/div>\n\n<div class=\"form-row\">\n<div class=\"form-group\"><label>Email *<\/label><input type=\"email\" name=\"email\" required><\/div>\n<div class=\"form-group\"><label>Telephone *<\/label><input type=\"tel\" name=\"telephone\" required><\/div>\n<\/div>\n\n<div class=\"form-group\"><label>Dietary Requirements \/ Special Needs<\/label><textarea name=\"dietary_requirements\" rows=\"3\"><\/textarea><\/div>\n<\/div>\n\n<div class=\"form-section\">\n<h3>Payment Method *<\/h3>\n<label class=\"checkbox\"><input type=\"radio\" name=\"payment_method\" value=\"Cheque\" required> Cheque<\/label>\n<label class=\"checkbox\"><input type=\"radio\" name=\"payment_method\" value=\"Bank Transfer\"> Bank Transfer<\/label>\n<label class=\"checkbox\"><input type=\"radio\" name=\"payment_method\" value=\"Credit Card\"> Credit Card<\/label>\n<\/div>\n\n<div class=\"form-section\">\n<h3>Additional Information<\/h3>\n<div class=\"form-group\">\n<label>How did you hear about this course?<\/label>\n<select name=\"referral_source\">\n<option value=\"\">-- Please Select --<\/option>\n<option>Search Engine<\/option><option>Facebook<\/option><option>Instagram<\/option><option>LinkedIn<\/option><option>YouTube<\/option><option>Referral<\/option>\n<\/select>\n<\/div>\n\n<label class=\"checkbox\"><input type=\"checkbox\" name=\"data_protection\" required> I consent to KIBS storing my information for the purpose of processing this registration.<\/label>\n<\/div>\n\n<div class=\"form-section\">\n<h3>Declaration<\/h3>\n<div class=\"form-row\">\n<div class=\"form-group\"><label>Digital Signature<\/label><input type=\"text\" name=\"signature\"><\/div>\n<div class=\"form-group\"><label>Date<\/label><input type=\"date\" name=\"signature_date\"><\/div>\n<\/div>\n<\/div>\n\n<button class=\"submit-btn\" type=\"submit\">Submit Registration<\/button>\n<\/form>\n<\/div>\n\n\n\n\n<div class=\"wp-block-jetpack-contact-form\" style=\"padding-top:16px;padding-right:16px;padding-bottom:16px;padding-left:16px\">\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<\/div>\n\n\n\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h2>Short Courses<\/h2>\n\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/Bioinformatics-Course\/\">Bioinformatics 1 Course<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/computer-aided-drug-design-course\/\">Computer-Aided Drug Design Course<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/genome-editing-using-crispr-cas-course\/\">CRISPR-Cas POC Diagnostics <\/a><a href=\"https:\/\/www.kibs.co.ke\/research\/crispr-cas-poc-diagnostics-course\/\">Course<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/genome-editing-using-crispr-cas-course\/\">Genome Editing using CRISPR-Cas Course<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/Metabolomics-Course\/\">Metabolomics<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/Metagenomics-Course\/\">Metagenomics<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/NGS-Data-Analysis-Course\/\">NextGen Sequencing (NGS) Data Analysis<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/pcr-boot-camp\/\">PCR Boot Camp<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/perl-programming-for-bio-scientists\/\">Perl Programming for Bio Scientists<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/python-programming-for-bio-scientists\/\">Python Programming for Bio Scientists<\/a>\n\n\n\n<a href=\"https:\/\/www.kibs.co.ke\/research\/nanopore-sequencing-data-analysis-techniques\/\">Nanopore Sequencing &amp; Data Analysis Techniques<\/a>\n\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"class_list":["post-841","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/pages\/841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/comments?post=841"}],"version-history":[{"count":9,"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/pages\/841\/revisions"}],"predecessor-version":[{"id":3571,"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/pages\/841\/revisions\/3571"}],"wp:attachment":[{"href":"https:\/\/www.kibs.co.ke\/research\/wp-json\/wp\/v2\/media?parent=841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}