Due date: 9/12 by 10 am
A sample sequence file, sequence.txt, is available in the sample data directory.
Assignment. Create a bash script that prompts the user for the name of a file containing a sequence and then determines the following and prints the results to the terminal:
The challenge will be to figure out how to perform these operations on the contents of a file. You may want to generate a text file containing an ~20 nt sequence to use in the exercise.
* Further enrichment (not graded): using a conditional statement and the command exit, write a script that determines the reverse complement of a sequence input from the command line (as opposed to from a file) and exits with a warning message if it encounter non-DNA/RNA characters. As we did not cover the command exit in class, you may want to google search it, although you could probably figure it out on your own.