Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Howdy brothers,

I have (what I think is) an interesting project. I want to take a chromosome, with its characteristic banding partners, and manipulate programmatically the colours of each band. I would *love* to do this rapidly enough to output via CGI, but I could do it statically if its slow. That part isn't critical.

Look at this picture to see an example of a chromosome map. I want to be able to dynamically find the bands and change their colours based on other criteria (while perhaps inserting a sharp dividing land between each band for clarity).

I have no clue what tools to start with to do this sort of thing in Perl. I have no idea how to segment the image. My instinct to avoid that problem is:

  1. Manually segment each picture into bands
  2. Re-colour bands separately
  3. Piece bands together with separating lines

Even that's beyond my skills, so I'm looking for guidance to modules (I'm stuck on Win32 btw), resources, or non-Perl tools to link into on this. Any advice very welcome.


In reply to Dynamic Chromosome Mapping by Itatsumaki

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2023-03-20 09:29 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (59 votes). Check out past polls.