Entering edit mode
10.3 years ago
Hi!
I need to create an output file, the problem is that the output is a map of a sequence with restriction enzymes. I used this code:
cdna = Seq.Seq(sequence, IUPAC.unambiguous_dna)
anal=Restriction.Analysis(Restriction.CommOnly, cdna)
anal.print_as ("map")
anal.print_that()
print >> outputf, "Restriction map: \n", anal.print_that()
I don't know what I must do, replace anal.print_that()
for...?
It's possible to create the output file with the map as it print in the terminal?
Thank you :)
It doesn't work, the error is: