Python
The file “dna.seq” (on Blackboard) consists of several DNA sequences. Write a program that reads in the file “dna.seq” and counts the number of sequences with the following properties:
The total number of sequences in the file
The number of sequences that have the pattern CTATA
The number of sequences that have more than 1000 bases
The number of sequences that have over 50% GC composition
The number of sequences that have more than 2000 bases and more than 50% GC composition
Some program requirements: (1) the program should prompt the user for the filename, (2) each of the above tasks should be its own function.
Write a program that reads in the file “dna.seq” and counts the number of sequences with the following properties below.