Tag me embarrassed. There is confidence then over-confidence. I am humbled by my hubris.
Sorry for posting a working solution to a Rosalind problem and identifying it as such.
I normally produce my results by way of a wrapper routine like this:
def sseqf(filename): clearBioDb() loadFASTA(filename) print ' '.join(map(str, sseq(namedSeq[namedOrder[0]], namedSeq[namedOrder[1]])))I write the actual routine sseq separately. If the output will be of substantial size I will write it to a file rather than print it. I'll discuss join and map in a few days.
No comments:
Post a Comment