This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Visualisation of restriction cutting sites using Biopython

How to use GenomeDiagram class available in Biopython to map and show the restriction enzyme cutting sites ? The ouput should be close to snapgene outputs

biopython restriction enzymes visualization

Hello neilgupte7,

how does your current code look like? At what point do have problems?

fin swimmer

I have written my restriction enzyme finding code which is working fine ,now i want to use the sites got from that code to be used visualize the sites with genomediagram.....i could not find anything inside the cook books so for genome diagram i am starting with clean plate

You will probably need to build this yourself. I don't know if the genomediagram has specific functionality to display restriction sites, but the easiest thing to do would be to iterate your list of restriction coordinates, and add them as feature tracks. See the manual here: http://biopython.org/DIST/docs/GenomeDiagram/userguide.pdf

thanks for the reply ,will try iterating them manually

0 answers

No answers yet.

Log in to answer this question.