tutorials:perl:display_codon_1.pl
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tutorials:perl:display_codon_1.pl [2010/07/31 23:43] – created chkuo | tutorials:perl:display_codon_1.pl [2012/06/15 00:37] (current) – chkuo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <code perl> | + | <file perl display_codon_1.pl> |
| - | # display_codon.pl | + | # display_codon_1.pl |
| # Read a fasta file that contain protein-coding sequences. | # Read a fasta file that contain protein-coding sequences. | ||
| # Re-format the sequences to show codons (10 codons per line) | # Re-format the sequences to show codons (10 codons per line) | ||
| # in the output file. | # in the output file. | ||
| - | # this version uses substr function | + | # this version uses substr function |
| my $in_file = shift; | my $in_file = shift; | ||
| my $out_file = shift; | my $out_file = shift; | ||
| Line 49: | Line 49: | ||
| } | } | ||
| close OUT; | close OUT; | ||
| - | </code> | + | </file> |
tutorials/perl/display_codon_1.pl.1280590998.txt.gz · Last modified: by chkuo