Changes
From Biolecture.org
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..."
<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 programming.</p>
<p><strong>2. What’s the benefit of using perl?</strong></p>
<p style="margin-left: 40px;">Easy to use, fast, and time saving. Moreover, there is almost no limit in programming by using perl.</p>
<p><strong>3. Basic perl function information</strong></p>
<p style="margin-left: 40px;">* Perl functions</p>
<p style="margin-left: 40px;">- <a href="https://metacpan.org/pod/perlfunc">https://metacpan.org/pod/perlfunc</a></p>
<p style="margin-left: 40px;">* Perl pre-defined variable</p>
<p style="margin-left: 40px;">- <a href="https://metacpan.org/pod/perlvar">https://metacpan.org/pod/perlvar</a></p>
<p><strong>4. Example of perl program for DNA to RNA transcription</strong></p>
<p>#!/usr/bin/perl</p>
<p>use Bio::Seq;</p>
<p>$dna=”TGCAGCGAAATGT”;</p>
<p>($dna=~tr/T/U/);</p>
<p>$rna=$dna;</p>
<p>print”Translated seq:$rna|n”;</p>
<p>$startCount=($rna=~(s/UGC/start/));</p>
<p>print"The start seq:$rna|n”;</p>
<p> </p>
<p>* Results:</p>
<p>Translated seq: UGCAGCGAAAUGU</p>
<p>The start seq: startAGCGAAAUGU</p>
<p> </p>
<p><strong>References</strong></p>
<p>1] <a href="http://blog.naver.com/bitnang/70182174649">http://blog.naver.com/bitnang/70182174649</a></p>
<p>2] <a href="http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html">http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html</a></p>
<p> </p>
<p style="margin-left: 40px;">The abbreviation for “Practical Extraction and Report Language”, which is useful tool to programming.</p>
<p><strong>2. What’s the benefit of using perl?</strong></p>
<p style="margin-left: 40px;">Easy to use, fast, and time saving. Moreover, there is almost no limit in programming by using perl.</p>
<p><strong>3. Basic perl function information</strong></p>
<p style="margin-left: 40px;">* Perl functions</p>
<p style="margin-left: 40px;">- <a href="https://metacpan.org/pod/perlfunc">https://metacpan.org/pod/perlfunc</a></p>
<p style="margin-left: 40px;">* Perl pre-defined variable</p>
<p style="margin-left: 40px;">- <a href="https://metacpan.org/pod/perlvar">https://metacpan.org/pod/perlvar</a></p>
<p><strong>4. Example of perl program for DNA to RNA transcription</strong></p>
<p>#!/usr/bin/perl</p>
<p>use Bio::Seq;</p>
<p>$dna=”TGCAGCGAAATGT”;</p>
<p>($dna=~tr/T/U/);</p>
<p>$rna=$dna;</p>
<p>print”Translated seq:$rna|n”;</p>
<p>$startCount=($rna=~(s/UGC/start/));</p>
<p>print"The start seq:$rna|n”;</p>
<p> </p>
<p>* Results:</p>
<p>Translated seq: UGCAGCGAAAUGU</p>
<p>The start seq: startAGCGAAAUGU</p>
<p> </p>
<p><strong>References</strong></p>
<p>1] <a href="http://blog.naver.com/bitnang/70182174649">http://blog.naver.com/bitnang/70182174649</a></p>
<p>2] <a href="http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html">http://www.biology-online.org/articles/introductory-workbook-perl-biology-students/8-perl-program-dna-rna-transcription.html</a></p>
<p> </p>