[Bioperl-l] setting a strand in Bio::Graphics

Mark A. Jensen maj at fortinbras.us
Mon Sep 28 10:32:39 EDT 2009


Now that's what I call user-friendly.
  ----- Original Message ----- 
  From: Emanuele Osimo 
  To: Mark A. Jensen 
  Sent: Monday, September 28, 2009 10:28 AM
  Subject: Re: [Bioperl-l] setting a strand in Bio::Graphics


  Hello everyone,
  thank you, I found what I needed. You have to add                           

  -strand_arrow => 1

  in $panel->add_track, and 

  -strand        => +/-1,

  in $feature = Bio::SeqFeature::Generic->new options.

  Thanks
  Emanuele




  On Mon, Sep 28, 2009 at 02:54, Mark A. Jensen <maj at fortinbras.us> wrote:

    Emos- Without the code, I can only guess, but you might not be providing
    the options correctly. Have a look at
    http://www.bioperl.org/wiki/Drawing_with_multiple_glyphs_in_a_single_track
    for something that may help.
    MAJ
    ----- Original Message ----- From: "Emanuele Osimo" <e.osimo at gmail.com>
    To: "perl bioperl ml" <bioperl-l at lists.open-bio.org>
    Sent: Sunday, September 27, 2009 5:00 AM
    Subject: [Bioperl-l] setting a strand in Bio::Graphics



      Hello,
      I've tried all the arrows suggested in
      http://search.cpan.org/~lds/Bio-Graphics-1.982/lib/Bio/Graphics/Glyph/arrow.pm,
      but I can't figure out how to tell in the options of $panel->add_track the
      strand of the feature I'm adding.
      I'm drawing DNA elements from a local DB, and I have a field "strand" which
      can be + or -.
      Please help!
      Emanuele

      _______________________________________________
      Bioperl-l mailing list
      Bioperl-l at lists.open-bio.org
      http://lists.open-bio.org/mailman/listinfo/bioperl-l









More information about the Bioperl-l mailing list