This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Library For Perl Protein Sequence Visualisation

Hi all,

I'm looking for a library to draw, annotate and visualise protein sequences, ideally in Perl. Aside from the Tcl/tk library what else is out there. Does anyone use the GD library and would they recommend it?

Alternatively, assuming the data is in an accessible format what other libraries, toolkits would people recommend?

visualization protein

3 answers

it depends what's your original input and what you want to get at the end. For example, you could use a Genbank/XML file from the NCBI, transform it to SVG using XSLT (for example that one:

https://github.com/lindenb/xslt-sandbox/blob/master/stylesheets/bio/ncbi/gb2svg.xsl)

and edit the resulting SVG file with http://inkscape.org/

Like the idea of using SVG as the final output.

I usually use Jalview (http://www.jalview.org/examples/examples.html) for all my sequence visualization/annotation. can you provide an example of what you'd like to do?

Hadn't thought of using Jalview. Is it scriptable?

Bio::Graphics is the obvious choice. Start with the HOW-TO (not specific to protein sequence but same principles apply).

Thanks - that's the kind of thing I'm after for this project.

Log in to answer this question.