1 / 10

Bioinformatics

This comprehensive guide is designed for newcomers to Perl in the context of bioinformatics. Authored by Dr. Aladdin Hamwieh, Khalid Al-shamaa, and Abdulqader Jighly from Aleppo University's Faculty of Technical Engineering, it covers essential topics such as command line usage, file inputs and outputs, variable handling, and basic arithmetic operations. The text includes practical examples, introductory code snippets, and a clear understanding of operator precedence, aimed at helping students become proficient in Perl for bioinformatics applications.

jenny
Télécharger la présentation

Bioinformatics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Practical • Getting started with Perl Bioinformatics Dr. Aladdin Hamwieh Khalid Al-shamaa Abdulqader Jighly Aleppo University Faculty of technical engineering Department of Biotechnology 2010-2011

  2. Basics • Command Line • Text File • Inputs & Outputs • Variables ($) • " " and ' ' • New Line (;) • Comments (#)

  3. First Code # first test print "hi everybody! \n"; print ‘Your name is:'; $name = <STDIN>; print "Hi $v"; exit 0;

  4. Basic arithmetic operators • Operator Function + Addition - Subtraction * Multiplication / Division % Modulus (remainder) ** Exponent (to the power of) ++ Increment -- Decrement

  5. Basic arithmetic operators • $v = 4; • $a = 2 + 3; • print "\$a = \$a \n"; • $a = $a -1; • $a -= 1; • $a--; • print "$a \n"; • $x = 2 + 3; • print '\$x = $x \n';

  6. Note 12/3*4=16 BUT 12/(4*3)=1

  7. order of precedence Operator ** / * % + -

  8. Training • Input: • n • Output: • X

  9. Homework X • Inputs: • Height (X) • Width (Y) • Outputs: • Perimeter • Area Y

  10. Thank you

More Related