BioPython Resriction package output formatting
0
0
Entering edit mode
5 months ago
daewowo ▴ 20

I am looking for restriction sites in a contig using the following, and I want to change the output width of the map file - it only prints 60 characters then goes to next line

rb = RestrictionBatch(Restriction.CommOnly)
my_seq = Seq(contig_seq)
analog = Analysis(rb, my_seq)
analog.ConsoleWidth=200         #doesnt do anything
rmap=analog.print_as('map')
rmap=analog.format_output()


Any idea how to set ConsoleWidth property?

Biopython • 115 views