It's Python. My university changed to using python this semester.
So I tried what you suggested and did a search. I tried to do it one way I found which was the following:
with open ("c:/temp/dna.fasta.txt", "r") as myfile:
lines = myfile.readline s()
print(lines)
['>human \n', 'ACCGT \n']
str = "ACCGT";
>>> print str.replace("A" ,...
User Profile
Collapse
-
Getting a certain output from a file
Hi, all.
I'm very new to python and it's a requirement for my biology major to take at least one class in bioinformatics.
I am having some difficulty with the homework my professor gave. The assignment is below:
Write a Perl script that computes the complement
of a DNA sequence. In other words, your script should convert all
A's to T's, C's to G's, G's to C's, and T's to A's.
...
No activity results to display
Show More
Leave a comment: