Question: Gene Drawing At Scale
gravatar for Alex
8.6 years ago by
East Lansing
Alex150 wrote:

Hi, I need to draw a DNA region (not a plasmid) including a gene and different annotations, which software could be used for this. If it is freeware should be great, but any answer is appreciated.

ADD COMMENTlink modified 8.6 years ago by Daniel Standage3.8k • written 8.6 years ago by Alex150
gravatar for Khader Shameer
8.6 years ago by
Manhattan, NY
Khader Shameer18k wrote:

If you are a Perl fan, Bio::Graphics. It was a part of BioPerl distribution, earlier, but later moved as a separate project. Once you are done with the installation, the HOWTO:Graphics tutorial can get you started. You may download it as a separate package from CPAN. Jan Aerts' implemented a BioRuby version for Ruby. You can downloadBio::Graphics for Ruby, tutorials and docs here.

Bio::Graphics Perl Example from HOW-TO:

alt text

Bio::Graphics Ruby Example from Rubyforge:

alt text

ADD COMMENTlink written 8.6 years ago by Khader Shameer18k
gravatar for Mary
8.6 years ago by
Boston MA area
Mary11k wrote:

Well, I can think of a couple of things I would use. But they are much simpler than the other answers and may not meet the need at all.

  1. A custom track at UCSC. You could diagram out the boxes and lines pretty easily, do a couple more tracks for the annotations you want to add, and upload them. And that way you (or anyone you want to share it with) could also see it in the context of the whole genome and other data. But that requires your species to be in their collection.

In our Current Protocols UCSC Browser paper we have a simple example you could copy to get started. Or just use the sample over at UCSC. EDIT: oops, forgot the paper link

  1. For a quick diagram of a gene with some protein domains, I like this handy little diagram maker:

(By the way, in the editing interface my numbers are 1 and 2, not 1 and 1. I can count: Where do I report bugs?)

ADD COMMENTlink modified 8.6 years ago • written 8.6 years ago by Mary11k
gravatar for Treylathe
8.6 years ago by
San Francisco
Treylathe940 wrote:

I am underthinking this I'm sure :), but if this was a region of a completed genome, couldn't one just create a custom track on the UCSC genome browser ( from user-generated data or a table browser search and view it in the genome browser? ( Save the pic using the pdf/ps link at the top of the browser

Or if the region and annotations are already in the database, just view the region with the UCSC Genome Browser, configure the annotations as you wish, and save the pic?

Admittedly, this doesn't have unlimited flexibility, but it would be a quick and dirty way to get a gene region and annotations as a graphic.

Of course this would work with Ensembl or a GBrowse-based browser

ADD COMMENTlink written 8.6 years ago by Treylathe940
gravatar for Pierre Lindenbaum
8.6 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum118k wrote:

2 years ago I wrote a XSL stylesheet transforming the XML output of blast to SVG. See :

alt text

or using the mysql data from the UCSC with a PHP script:

alt text

once your image is correctly scaled in SVG, you can dot whatever you want with it using, e.g.,

alt text

ADD COMMENTlink written 8.6 years ago by Pierre Lindenbaum118k
gravatar for Daniel Standage
8.6 years ago by
Daniel Standage3.8k
Davis, California, USA
Daniel Standage3.8k wrote:

I have used the GenomeTools Annotation Sketch utility quite frequently recently. It has both a web-based version and a command-line version that you can download and run locally, both available at You just have to provide it with a valid GFF file.

Alternatively, you could try something like Apollo or Artemis, but I've had problems with those recently.

ADD COMMENTlink written 8.6 years ago by Daniel Standage3.8k

I've been playing with AnnotationSketch too. It produces the highest quality images I've seen so far!

ADD REPLYlink written 7.1 years ago by Mercutio220
gravatar for hurfdurf
8.6 years ago by
United States
hurfdurf460 wrote:

For something simple with a GUI, you could try [?]ApE[?] (assuming you don't want to get into coding anything).

Most plasmid drawing programs will draw a linear sequence, as long as you specify that the source DNA is linear. So you might want to check if your institution has a site license for Vector NTI or Lasergene, either of which will do basic annotation of sequences (ORFs, start/stops, exons, etc.). If you want to do plots as well you may have to roll your own.

ADD COMMENTlink written 8.6 years ago by hurfdurf460
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1479 users visited in the last hour