Answered step by step
Verified Expert Solution
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
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 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started