In: Biology
In python
The following is a short section of genomic DNA: ATCGATCGATCGATCGACTGACTAGTCATAGCTATGCATGTAGCTACTCGATCGATCGATCGATCGATCGATCGATCGATCGATCATGCTATCATCGATCGATATCGATGCATCGACTACTAT
1. It comprises two exons and an intron. The first exon runs from the start of the sequence to base number 63 (starting counting from zero), and the second exon runs from base 91 (also counting from zero) to the end of the sequence. Write a program that will print just the coding regions of the DNA sequence.
2. Using the data from part one, write a program that will calculate what percentage of the DNA sequence is coding.
3. Using the data from question one part 4, write a program that will print out the original genomic DNA sequence with coding bases in uppercase and non-coding bases in lowercase.
1.
Here is a brief segment of genomic DNA:ATCGATCGATCGATCGACTGACTAGTCATAGCTATGCATGTAGCTACTCGATCGATCGATCGATCGATCGATCGATCGATCGATCATGCTATCATCGATCGATATCGATGCATCGACTACTAT1.It comprises 2 exons as well as an intron. The very first exon operates out of the beginning of the sequence to base quantity sixty three (starting counting from zero), and the other exon runs from base ninety one (also counting from zero) on the conclusion of the sequence. Create a system which is going to print only the coding areas of the DNA sequence
.CodingRe = (DNA [0:63] + DNA [91:])
print(CodingRe)
DNA = 123
CodingRe = 96
2.
To us the information from part 1, create a system which will compute what portion of the DNA sequence is coding.DNApercent= len(cRegion) / len(DNA)
print (DNApercent * 100)
3.
voice the information from issue 1 part four, create a system which will print out the initial genomicDNA sequence with coding bases in non coding bases as well as uppercase in lowercase.
CodingRe = (DNA [0:63] + DNA [91:])
noncodingRe = DNA[63:91]
Sample1 = open('codingRegion.txt',' w')
Sample2 = open('nonCodingRegion.txt.lower()',' w')
Sample1.write = (CodingRe)
Sample2.write = (noncodingReg)
print(CodingRe.upper())
print(noncodingRe.lower())
Sample1.close()
Sample2.close()
I ANSWERED ALL OF YOUR QUESTIONS
kindly please give my answer a thumbs up