1 / 14

Bioinformatics

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. Training. Input: n Output: X. Homework. X. Inputs: Height (X) Width (Y)

zach
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. 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. Training • Input: • n • Output: • X

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

  4. String Operators

  5. String Operator $a="Bio"; $b="technology"; $a=$a.$b; # We can also use $a.=$b; print $a;

  6. String Operator $peptide="AGWGSPK"; $leng = length($peptide); print "Length of $peptide is $leng \n"; $x="A simple"; $x.=" sentence"; print "$x\n"; $x=uc($x); print "$x\n"; $x=lc($x); print "$x\n"; print reverse($x)."\n";

  7. Translation $dna="accACgttAGGTct"; $rna=lc($dna); $rna=~tr/t/u/; print $rna; $cdna =lc($dna); $cdna =~tr/ATCG/TAGC/; print $cdna ;

  8. Conditions if (condition) { action } elseif{ another action } else{ alternative action }

  9. Example $x=149; $y=100; if ($x > $y){ print "$x is greater than $y\n"; } elseif ($x = $y){ print "$x is equal to $y\n"; } else{ print "$x is less than $y\n"; }

  10. Numeric conditional operators

  11. String conditional operators

  12. Example $x=5*4; $y=17+3; if($x==$y) { print "$x equals $y"; }

  13. Homework • Store a DNA sequence in $x variable: • Convert it to RNA. • Change if from 5’ to 3’ direction into 3’ to 5’ direction • Write a simple script that would allow you to print the complimentary sequence (from 5’ to 3’) of it if its length were more than 100 bpand if it equal of less than 100 bp let the program print the original sequence.

  14. Thank you

More Related