Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am stuck on part 2c and d. I have already written the code but there seems to be a problem with line 96 where

image text in transcribedimage text in transcribedimage text in transcribedI am stuck on part 2c and d. I have already written the code but there seems to be a problem with line 96 where print(validChars[i], 'count=', counts[I]) it says substring not found when I try to run it on test-high-gc-1.fastq but it works on test-small.fastq.

\# This program reads DNA sequencer output and computes statistics, such as \# the GC content. Run it from the command line like this: \# python dna_analysis.py myfile.fastq \# This program is based on Michael Ernt's assignment on DNA Analysis \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\# \#\# Libraries \#\# \# The sys module supports reading files, command-line arguments, etc. import sys \#\# Read the nucleotides into a variable named seq ## \# You need to specify a file name if len( sys. argv)

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

Step: 3

blur-text-image

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

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions

Question

=+4. Did your message properly reflect the brand's image?

Answered: 1 week ago

Question

2. How will the team select a leader?

Answered: 1 week ago