Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

=============================================================================== Here is the previous exercise that mention in problem four: Please help. thank you. Problem Four: Writing Multiple FASTA File [Page 68] Use the

image text in transcribed

===============================================================================

Here is the previous exercise that mention in problem four:

image text in transcribed

image text in transcribed

image text in transcribed

Please help. thank you.

Problem Four: Writing Multiple FASTA File [Page 68] Use the data from the previous exercise, but instead of creating a single FASTA file, create three new FASTA files - one per sequence. The names of the FASTA files should be the same as the sequence header names, with the extension "fasta". Name your program writing_multiple_fasta_files.py. For example: ABC123.fasta, DEF456.fasta, and GHI789.fasta. Do not forget to use the Python Coding Style conventions. Problem Three: Writing a FASTA File [Pages 67-68] FASTA file format is a commonly used DNA and protein sequence file format. A single sequence in FASTA format looks like this: >sequence_name ATCGTAGTCGATGTCGTGTCG where sequence_name is a header that describes the sequence (the greater-than symbol indicates the start of the header line). Often, the header contains an accession number that relates to the record for the sequence in a public sequence database. A single FASTA file can contain multiple sequences, like this: >sequence_one ATCGCTGATGCTAGGATAGCT >sequence_two AGCTGCTGCTCGATCAAACTG >sequence_three AGCTGCTCGTGATATATGCAA Write a program, named writing_a_fasta_file.py, that will create a FASTA file for the following three sequences - make sure that all sequences are in upper case and only contain the bases A, T, G, and C. Sequence header ABC123 DEF456 GHI789 DNA sequence ATCGCTCGTGATCGTAGATAGGATTTCGAGAT gtcgttogtagctaaagcttgtcgatgcgctcgctag CTCGTAGT-ATCTT--ATTAG----CACTGAT Do not forget to use the Python Coding Style conventions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions