Question

In: Computer Science

Counting Severe Acute Respiratory Syndrome coronavirus 2 genome bps: Download the FASTA file (NC_045512.2) containing the...

  1. Counting Severe Acute Respiratory Syndrome coronavirus 2 genome bps: Download the FASTA file (NC_045512.2) containing the SARS-CoV-2 reference sequence. (You can use the "Send" widget on the upper-right corner of the NCBI Web page containing the genome to download a FASTA file.) Now, write a Python program that reads the file, stores the sequence without white characters (spaces, end-of-line, etc.), and prints out the number of nucleotides (bps) in the complete SARS-CoV-2 genome.

Solutions

Expert Solution

Here is the code:

f = open ("NC_045512.2.fna")
f.readline() # Ignore the header
c = f.readlines ()

l = ""
for e in c:
l += e.strip()

print (len(l))
#--- E N D O F C O D E

29903                                                                                                                         

                                                                                                                              

                                                                                                                              

...Program finished with exit code 0

The NCBI site also shows 29903 as the number of bps, confirming above answer:

Severe acute respiratory syndrome coronavirus 2 isolate Wuhan-Hu-1, complete genome

Severe acute respiratory syndrome coronavirus 2

29,903 bp genomic sequence

  • NC_045512.2

Related Solutions

COVID-19 is caused by the Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2), and is closely related...
COVID-19 is caused by the Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2), and is closely related to SARS-CoV-1 (Severe Acute Respiratory Syndrome Coronavirus 1) and MERS-CoV (Middle Eastern Respiratory Syndrome Coronavirus). Imaging studies have shown that COVID-19 results in pneumonia with “ground-glass opacification, consolidation, bilateral involvement, and peripheral and diffuse distribution.” (Lee et al (2020); The Lancet, 20(4), 384). Ground-glass opacification: Consolidation: Bilateral involvement: Peripheral and diffuse distribution:
COVID-19 is caused by the Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2), and is closely related...
COVID-19 is caused by the Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2), and is closely related to SARS-CoV-1 (Severe Acute Respiratory Syndrome Coronavirus 1) and MERS-CoV (Middle Eastern Respiratory Syndrome Coronavirus). Imaging studies have shown that COVID-19 results in pneumonia with “ground-glass opacification, consolidation, bilateral involvement, and peripheral and diffuse distribution.” (Lee et al (2020); The Lancet, 20(4), 384). Ground-glass opacification: Consolidation: Bilateral involvement: Peripheral and diffuse distribution:
Like all viral pathogens, severe acute respiratory syndrome coronavirus 2, or SARS-CoV 2, requires a cell...
Like all viral pathogens, severe acute respiratory syndrome coronavirus 2, or SARS-CoV 2, requires a cell surface receptor in order to invade a given host cell. For SARS-CoV 2, this receptor is actually the enzyme Angiotensin Converting Enzyme 2, or ACE2. ACE2 is responsible for downregulation of the Renin-Angiotensin-Aldosterone System by deactivation of Angiotensin II. Explain the RAAS in detail, including the roles played by kidneys and the lungs, and then explain what effects using recombinant human ACE2, or rhACE2,...
The Coronavirus disease 2019 (COVID-19) is an infectious disease caused by the severe acute respiratory syndrome...
The Coronavirus disease 2019 (COVID-19) is an infectious disease caused by the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). This type of RNA virus causes diseases by replicating only inside the living cells of an organism like mammals and birds. When not inside an infected cell, viruses behave mostly as inert things (e.g., do not self-replicate, do need energy to exist and might crystallize). What traits, common to living things, might define SARS-CoV-2 as a living organism? Define at least...
Like all viral pathogens, severe acute respiratory syndrome coronavirus 2, or SARS-CoV 2 (I know, how...
Like all viral pathogens, severe acute respiratory syndrome coronavirus 2, or SARS-CoV 2 (I know, how topical), requires a cell surface receptor in order to invade a given host cell. For SARS-CoV 2, this receptor is actually the enzyme Angiotensin Converting Enzyme 2, or ACE2. ACE2 is responsible for downregulation of the Renin-Angiotensin-Aldosterone System by deactivation of Angiotensin II. Explain the RAAS in detail, including the roles played by kidneys and the lungs, and then explain what effects using recombinant...
Like all viral pathogens, severe acute respiratory syndrome coronavirus 2, or SARS-CoV 2 (I know, how...
Like all viral pathogens, severe acute respiratory syndrome coronavirus 2, or SARS-CoV 2 (I know, how topical), requires a cell surface receptor in order to invade a given host cell. For SARS-CoV 2, this receptor is actually the enzyme Angiotensin Converting Enzyme 2, or ACE2. ACE2 is responsible for downregulation of the Renin-Angiotensin-Aldosterone System by deactivation of Angiotensin II. Explain the RAAS in detail, including the roles played by kidneys and the lungs, and then explain what effects using recombinant...
research the emergence and incidence of respiratory ailments such as Severe Acute Respiratory Syndrome
research the emergence and incidence of respiratory ailments such as Severe Acute Respiratory Syndrome
In the spring of 2003, the international community experienced the outbreak of Severe Acute Respiratory Syndrome...
In the spring of 2003, the international community experienced the outbreak of Severe Acute Respiratory Syndrome (SARS), a contagious and frequently deadly disease that appears to have originated in China. Concern over catching this disease greatly discouraged travel to and within China. a. .With the aid of the graph provided, explain the effect of this outbreak on the market for airline travel within China (where, in fact, there are numerous competing airlines). b. Interested in protecting Chinese airlines from the...
BACKGROUND:Severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2)is an enveloped, (+)-sense, single-strandRNA virus that causes coronavirus disease...
BACKGROUND:Severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2)is an enveloped, (+)-sense, single-strandRNA virus that causes coronavirus disease 2019(COVID-19). The coronavirus family is named for the crown-like spikes on the outer surface of the virus and includes viruses that infect many species of animals, including camels, cattle, bats, and cats. The SARS-CoV-2 virus appears to have “spilled”out ofbats,its primaryanimal host,and into humansin December of 2019 in Wuhan, China. COVID-19 symptoms appear 2-14 days after exposure and include fever, dry cough, shortness of...
Severe acute respiratory syndrome discuss the potential impact of the disease, pathogenesis, mechanism of transmission, and...
Severe acute respiratory syndrome discuss the potential impact of the disease, pathogenesis, mechanism of transmission, and associated risks.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT