What is Perl?
From Biolecture.org
Revision as of 20:16, 17 June 2016 by imported>Mi Rae Yeo (Created page with "<p><strong>1. What is perl?</strong></p> <p style="margin-left: 40px;">The abbreviation for “Practical Extraction and Report Language”, which is useful tool to progr...")
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] http://blog.naver.com/bitnang/70182174649