Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.
/ gelImage Public archive

A quick and simple gel image annotator script in python

License

Notifications You must be signed in to change notification settings

openpaul/gelImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gelImage

This code enables a user to simply annotate gel images. It is designed to make quick annotations of agarose gels or sds-PAGE's possible. It is not a fully working annotation software! If does not have any features for so called "eye candy". It is slow and has serveral limitations. Feel free to contribute code.

How to use it:

First install python 2.7.x: https://wiki.python.org/moin/BeginnersGuide/Download and Cairo, wxpython. This shuld be easy on GNU/Linux.

Ubuntu 14.10 (untested)

sudo apt-get install python2.7 python-cairo python-wxgtk2.8

Windows (XP)

I only testet it on Xubuntu 14.10. A short test on windows resulted in a various errors.

As you run the script in Python a window should open. A workflow could look like this:

  • open file (CTRL+S)
  • invert image (CTRL+I) (not working currently)
  • rotate image sligthly (CTRL+R)
  • crop image (CTRL+K)
  • add a ladder (CTRL+L)
  • click on the visible bands of the ladder to make lines appear
  • add labels (CTRL+J)
  • click on the positions where to show the label (only horizontal for now)

Screenshot gelImage

Version info:

Features and limitations:

works:

  • open image (png, TIFF (also 16 bit))
  • crop image (very slow and buggy, should be improved)
  • save image as svg
  • export only selection as png
  • add and remove ladders
  • draw lines to ladder bands
  • add labels
  • add custom labels and rotate them
  • select various ladders
  • work with large images (larger than screen) (party functioning)

not yet implemented or not working:

  • rotate image [buggy but works, will be removed in the future, as its more easy to make this in gimp]
  • invert image (not working anymore, should be fixed)
  • 2D gels
  • vertical labels
  • horizontal ladders
  • performance
  • is bad because I use cairo lib for drawing. This libary produces nice svg-graphics but is not very performant

About

A quick and simple gel image annotator script in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages