Note: I need help with part c, d, e, f. Pls show the code you use as well as the output. Thank you
Write a R code to do each of the following tasks : a. (10 points) search for DNA sequences from the organism "Chlamydia trachomatis in the ACNUC "genbank". b. (10 points) How many sequences retrieved? c. (10 points) How many bases are there in longest sequence among them? d. (10 points) For the first five sequences, print out the accession number and the first 10 nucleotide bases e. (10 points) For the 250 sequence, how many As, Cs, Gs and Ts does it contain? f. (10 points) For the 100th sequence, calculate the GC content for each 500-nucleotide chunks of the sequence. Create a sliding window plot of GC content. g. (10 points) For the 123th sequence, what are the top three most frequent 4-bp words? h. (10 points) Export the data of the first 10 sequences to a FASTA file. i. (20 points) Write a function to find and return all over-represented DNA words that are 2 nucleotides long in a given sequence. Write a R code to do each of the following tasks : a. (10 points) search for DNA sequences from the organism "Chlamydia trachomatis in the ACNUC "genbank". b. (10 points) How many sequences retrieved? c. (10 points) How many bases are there in longest sequence among them? d. (10 points) For the first five sequences, print out the accession number and the first 10 nucleotide bases e. (10 points) For the 250 sequence, how many As, Cs, Gs and Ts does it contain? f. (10 points) For the 100th sequence, calculate the GC content for each 500-nucleotide chunks of the sequence. Create a sliding window plot of GC content. g. (10 points) For the 123th sequence, what are the top three most frequent 4-bp words? h. (10 points) Export the data of the first 10 sequences to a FASTA file. i. (20 points) Write a function to find and return all over-represented DNA words that are 2 nucleotides long in a given sequence