[Bioperl-l] BioGraphics highlight segment

Navdeep Jaitly ndjaitly@hotmail.com
Wed, 06 Nov 2002 17:00:30 -0500


You might be able to create different features for the different colors of 
the track. Then embed them in another feature, which is the one you draw. 
Since each feature embedded in this track has its own characteristics, they 
could have their own color.
I think.

Deep







>From: Marco Aurelio Valtas Cunha <mavcunha@gordon.fmrp.usp.br>
>To: Robson Francisco de Souza <rfsouza@citri.iq.usp.br>
>CC: Bioperl <bioperl-l@bioperl.org>
>Subject: Re: [Bioperl-l] BioGraphics highlight segment
>Date: Wed, 06 Nov 2002 19:07:22 -0200
>MIME-Version: 1.0
>Received: from mc5-f35.law1.hotmail.com ([65.54.252.42]) by 
>mc5-s4.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 6 Nov 
>2002 13:23:12 -0800
>Received: from pw600a.bioperl.org ([155.94.54.80]) by 
>mc5-f35.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 6 Nov 
>2002 13:23:11 -0800
>Received: from pw600a.bioperl.org (localhost [127.0.0.1])by 
>pw600a.bioperl.org (8.12.2/8.12.2) with ESMTP id gA6L8C6J018736;Wed, 6 Nov 
>2002 16:08:12 -0500
>Received: from joker.fmrp.usp.br ([143.107.223.178])by pw600a.bioperl.org 
>(8.12.2/8.12.2) with ESMTP id gA6L7H6J018720for <bioperl-l@bioperl.org>; 
>Wed, 6 Nov 2002 16:07:18 -0500
>Received: from bit.fmrp.usp.br (localhost [127.0.0.1])by joker.fmrp.usp.br 
>(Postfix) with ESMTPid 668302E74; Wed,  6 Nov 2002 19:07:22 -0200 (BRST)
>Message-ID: <3DC9848A.9060906@bit.fmrp.usp.br>
>Organization: Fundação Hemocentro
>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021024
>X-Accept-Language: en-us, en
>References: <Pine.LNX.3.96.1021106185224.9703A-100000@citri.iq.usp.br>
>In-Reply-To: <Pine.LNX.3.96.1021106185224.9703A-100000@citri.iq.usp.br>
>Sender: bioperl-l-admin@bioperl.org
>Errors-To: bioperl-l-admin@bioperl.org
>X-BeenThere: bioperl-l@bioperl.org
>X-Mailman-Version: 2.0.12
>Precedence: bulk
>List-Help: <mailto:bioperl-l-request@bioperl.org?subject=help>
>List-Post: <mailto:bioperl-l@bioperl.org>
>List-Subscribe: 
><http://bioperl.org/mailman/listinfo/bioperl-l>,<mailto:bioperl-l-request@bioperl.org?subject=subscribe>
>List-Id: Bioperl Project Discussion List <bioperl-l.bioperl.org>
>List-Unsubscribe: 
><http://bioperl.org/mailman/listinfo/bioperl-l>,<mailto:bioperl-l-request@bioperl.org?subject=unsubscribe>
>List-Archive: <http://bioperl.org/pipermail/bioperl-l/>
>Return-Path: bioperl-l-admin@bioperl.org
>X-OriginalArrivalTime: 06 Nov 2002 21:23:12.0149 (UTC) 
>FILETIME=[B5EEDC50:01C285DA]
>
>Hi Robson,
>
>I've already though that, this is my backup plan since I'm planning yet and 
>no code was written. If no glyph fits in I'll have to use this method.
>
>Tahnk you.
>Marco.
>
>Robson Francisco de Souza wrote:
>>	Hi Marco,
>>
>>On Wed, 6 Nov 2002, Marco Aurelio Valtas Cunha wrote:
>>
>>>Hi all,
>>>
>>>A Bio::Graphics question,
>>>
>>>I'm trying to draw is something like:
>>>
>>>----------------------------------- My anchor
>>>      ___________________________
>>>     |_____|XXXXXXXXXXX|_________|   My track
>>>
>>>Note that at some point my track changes its color, then get the color
>>>back. The information for such change is just coordnates it's not a
>>>SeqFeature like CDS or else. So what I'm looking for is something like 
>>>this:
>>>
>>>  "my track has a lenght of 1000 and I want highlight the 300..500 
>>>segment of it."
>>>
>>>Sugestions?
>>
>>
>>	Did you try to create a SeqFeature from your coordinates and add
>>them to the panel using add_track with option '-bump=>0'? I'm not sure it
>>works, but I would try it.
>>					Robson
>>
>>
>>>Thank you,
>>>Marco.
>>>
>>>--
>>>    _ _ _ _ _ Marco A Valtas Cunha     
>>>http://scarecrow.fmrp.usp.br/~mavcunha/
>>>   /  '`    / Lab de Bioinformatica    http://bit.fmrp.usp.br
>>>  /  '  `  /  Hemocentro de Rib Preto  http://ctc.fmrp.usp.br
>>>/_ _`..'_/   Fax: 55 16 3963-9309     Tel: 55 16 3963-9300 R:9603
>>>
>>>
>>>_______________________________________________
>>>Bioperl-l mailing list
>>>Bioperl-l@bioperl.org
>>>http://bioperl.org/mailman/listinfo/bioperl-l
>>>
>>
>>
>>
>>
>
>--
>    _ _ _ _ _ Marco A Valtas Cunha     
>http://scarecrow.fmrp.usp.br/~mavcunha/
>   /  '`    / Lab de Bioinformatica    http://bit.fmrp.usp.br
>  /  '  `  /  Hemocentro de Rib Preto  http://ctc.fmrp.usp.br
>/_ _`..'_/   Fax: 55 16 3963-9309     Tel: 55 16 3963-9300 R:9603
>
>
>_______________________________________________
>Bioperl-l mailing list
>Bioperl-l@bioperl.org
>http://bioperl.org/mailman/listinfo/bioperl-l


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail