Changes

From Biolecture.org

What is Perl?

1,720 bytes added, 20:16, 17 June 2016
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 &ldquo;Practical Extraction and Report Language&rdquo;, which is useful tool to programming.</p>

<p><strong>2. What&rsquo;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=&rdquo;TGCAGCGAAATGT&rdquo;;</p>

<p>($dna=~tr/T/U/);</p>

<p>$rna=$dna;</p>

<p>print&rdquo;Translated seq:$rna|n&rdquo;;</p>

<p>$startCount=($rna=~(s/UGC/start/));</p>

<p>print&quot;The start seq:$rna|n&rdquo;;</p>

<p>&nbsp;</p>

<p>* Results:</p>

<p>Translated seq: UGCAGCGAAAUGU</p>

<p>The start seq: startAGCGAAAUGU</p>

<p>&nbsp;</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>&nbsp;</p>
Anonymous user

Navigation menu