The point value of each script is given in []. Within each script, include a header comment block that looks something like this:
#!/usr/bin/perl -w # # Perl script: name_of_script # # Perl guru: your_name # # Description_of_script # # Date: date_created #
You should email your Perl scripts in separate emails to heath@vt.edu --- with the subject of each email being the name of the script --- by 5:00PM on September 27, 2002. No late submission will be accepted.
File <filename> is in correct FASTA format.to standard output. Otherwise, print an error message to standard output that describes the syntax error. If there are multiple syntax errors, finding and reporting any one error is sufficient.
The example FASTA file AY133756_SOD.fasta can be checked with this command:
FASTA_check AY133756_SOD.fastawith this result:
File AY133756_SOD.fasta is in correct FASTA format.You will want to generate your own test files that are not syntactically correct in one way or another. If you email up to three of your test files to heath@vt.edu, then I will post them here for everybody to use.
The DNA sequence in file <filename> has GC content <percentage>%.
For example, the test file test_GC.fasta can be examined with this command:
GC_content test_GC.fastawith this result:
The DNA sequence in file test_GC.fasta has GC content 50%.You may use either substr as in Example 5.6 or regular expressions to "find" the G's and C's.
This page was last modified at 12:00 AM UTC, on
January 1, 1970.
Current time at Virginia Tech is 7:39 PM UTC, on
December 4, 2024.
Please report any problems found in these pages by email to:
Lenwood S. Heath.