What is Perl?
1. What is perl?
The abbreviation for “Practical Extraction and Report Language”, which is useful tool to programming.
2. What’s the benefit of using perl?
Easy to use, fast, and time saving. Moreover, there is almost no limit in programming by using perl.
3. Basic perl function information
* Perl functions
- https://metacpan.org/pod/perlfunc
* Perl pre-defined variable
- https://metacpan.org/pod/perlvar
4. Example of perl program for DNA to RNA transcription
#!/usr/bin/perl
use Bio::Seq;
$dna=”TGCAGCGAAATGT”;
($dna=~tr/T/U/);
$rna=$dna;
print”Translated seq:$rna|n”;
$startCount=($rna=~(s/UGC/start/));
print"The start seq:$rna|n”;
* Results:
Translated seq: UGCAGCGAAAUGU
The start seq: startAGCGAAAUGU
References
1] What is perl, http://blog.naver.com/bitnang/70182174649
2] Example code of perl, http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html
3] First steps in perl, https://docs.google.com/viewer?url=http%3A%2F%2Fblob.perl.org%2Fbooks%2Fbeginning-perl%2F3145_Chap01.pdf