This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Writing and asking user for fasta file as input and printing the length of sequence and amount of nucleotides

using the fasta file sequence of chromosome 2 of Vibrio cholerae.

1.write a program that asks user for the file name then print the length of the dna sequence and the nucleotide frequencies to the 3rd decimal place(consider the following):

Enter name of fasta file [default = Sample_Data.fasta]: Sample_Data.fasta

Length of sequence = 1,108,250

nucleotide frequencies A = 0.265 C = 0.238 G = 0.231 T = 0.266

fasta python sequence dna nucleotides

tell the teacher we're surfin

No one wants to do your homework for you.

0 answers

No answers yet.

Log in to answer this question.