Bioinformatics
This presentation is the property of its rightful owner.
Sponsored Links
1 / 10

Bioinformatics PowerPoint PPT Presentation


  • 49 Views
  • Uploaded on
  • Presentation posted in: General

Practical Getting started with Perl. Bioinformatics. Dr. Aladdin HamwiehKhalid Al- shamaa Abdulqader Jighly. Aleppo University Faculty of technical engineering Department of Biotechnology. 2010-2011. Basics. Command Line Text File Inputs & Outputs Variables ($) " " and ' '

Download Presentation

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Bioinformatics

Practical

  • Getting started with Perl

Bioinformatics

Dr. Aladdin HamwiehKhalid Al-shamaa

Abdulqader Jighly

Aleppo University

Faculty of technical engineering

Department of Biotechnology

2010-2011


Basics

Basics

  • Command Line

  • Text File

  • Inputs & Outputs

  • Variables ($)

  • " " and ' '

  • New Line (;)

  • Comments (#)


Bioinformatics

  • First Code

# first test

print "hi everybody! \n";

print ‘Your name is:';

$name = <STDIN>;

print "Hi $v";

exit 0;


Basic arithmetic operators

Basic arithmetic operators

  • OperatorFunction

    +Addition

    -Subtraction

    *Multiplication

    /Division

    %Modulus (remainder)

    **Exponent (to the power of)

    ++Increment

    --Decrement


Basic arithmetic operators1

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';


Bioinformatics

Note

12/3*4=16

BUT

12/(4*3)=1


Order of precedence

order of precedence

Operator

**

/

*

%

+

-


Training

Training

  • Input:

    • n

  • Output:

    • X


Homework

Homework

X

  • Inputs:

    • Height (X)

    • Width (Y)

  • Outputs:

    • Perimeter

    • Area

Y


Thank you

Thank you


  • Login