SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem of gbrowse jiexiong Bioinformatics 3 05-20-2013 01:27 PM
NGS data in gbrowse? Weird! bio_tt Bioinformatics 0 08-09-2011 07:07 PM
Augustus and GBROWSE k-gun12 Bioinformatics 1 11-03-2010 03:32 PM
velvet assembler contigs into gbrowse Zimbobo Bioinformatics 0 04-15-2010 02:36 PM
Gbrowse problem??? ptong7 Illumina/Solexa 0 04-07-2009 02:33 PM

Reply
 
Thread Tools
Old 02-10-2012, 02:29 PM   #1
cascoamarillo
Senior Member
 
Location: MA

Join Date: Oct 2010
Posts: 160
Default GBrowse visualization

Hi,

In the GenomeBrowser 2.0, when I load my custom track (is this case is a BAM file) I can see the coverage and reads (when I zoom in); but I'm not able to diferenciate the reads that match the positive/negative strand (i.e. with different colors). I've tried to modify the config file without successful. This is what I got:

Code:
[mapping_sorted.bam]
feature   = coverage:2000
min_score    = 0
glyph        = wiggle_xyplot
height       = 200
fgcolor      = black
bgcolor      = black
autoscale    = local


[mapping_sorted.bam]
database = database_0 # do not change this!
feature      = read_pair
glyph        = segments
draw_target  = 1
show_mismatch = 1
mismatch_color = red
bgcolor      = blue
fgcolor      = blue
height       = 3
label        = 1
label density = 50
bump         = fast
key          = Shared track from http://mapping_sorted.bam
Any help?
Thanks
cascoamarillo is offline   Reply With Quote
Old 02-10-2012, 03:06 PM   #2
ffinkernagel
Senior Member
 
Location: Marburg, Germany

Join Date: Oct 2009
Posts: 110
Default

you need a callback for the bgcolor.
here's what I'm using
bgcolor = sub { my $f = shift; return 'purple' unless $f->type eq 'match'; return $f->reversed ? 'blue' : 'yellow'; }
which covers slightly more than just the forward/reversed case.
ffinkernagel is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 12:55 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO