Question: write a program that asks a user for a gene ID or accession number and returns the sequence that corresponds to that gene. Use a
write a program that asks a user for a gene ID or accession number and returns the sequence that corresponds to that gene. Use a dictionary to accomplish this. Get the genes and their sequences from NCBI and create the dictionary so that the key = gene ID and value = sequence. Handle the case where the gene ID is not found in the dictionary.
Step by Step Solution
There are 3 Steps involved in it
import requests Initialize an empty dictionary to store gene sequences genesequenc... View full answer
Get step-by-step solutions from verified subject matter experts
