![]() |
|
![]() |
||||
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 |
![]() |
|
Thread Tools |
![]() |
#1 |
Senior Member
Location: MA Join Date: Oct 2010
Posts: 160
|
![]()
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 Thanks |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: Marburg, Germany Join Date: Oct 2009
Posts: 110
|
![]()
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. |
![]() |
![]() |
![]() |
Thread Tools | |
|
|