# Bioinformatics - PowerPoint PPT Presentation

1 / 10

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

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Bioinformatics

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

Practical

• Getting started with Perl

## Bioinformatics

Aleppo University

Faculty of technical engineering

Department of Biotechnology

2010-2011

### Basics

• Command Line

• Text File

• Inputs & Outputs

• Variables (\$)

• " " and ' '

• New Line (;)

• First Code

# first test

print "hi everybody! \n";

\$name = <STDIN>;

print "Hi \$v";

exit 0;

### Basic arithmetic operators

• OperatorFunction

-Subtraction

*Multiplication

/Division

%Modulus (remainder)

**Exponent (to the power of)

++Increment

--Decrement

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

12/3*4=16

BUT

12/(4*3)=1

Operator

**

/

*

%

+

-

• Input:

• n

• Output:

• X

X

• Inputs:

• Height (X)

• Width (Y)

• Outputs:

• Perimeter

• Area

Y