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
ADD COMMENT

Login before adding your answer.

Traffic: 1591 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6