User Profile

Collapse

Profile Sidebar

Collapse
ah68
ah68
Last Activity: Sep 13 '10, 04:40 PM
Joined: Sep 13 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ah68
    replied to Getting a certain output from a file
    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" ,...
    See more | Go to post

    Leave a comment:


  • ah68
    started a topic Getting a certain output from a file

    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.
    ...
    See more | Go to post
No activity results to display
Show More
Working...