Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cascoamarillo
    Senior Member
    • Oct 2010
    • 164

    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
  • ffinkernagel
    Senior Member
    • Oct 2009
    • 110

    #2
    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.

    Comment

    Latest Articles

    Collapse

    • GATTACAT
      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by GATTACAT
      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
      07-01-2026, 11:43 AM
    • SEQadmin2
      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by SEQadmin2


      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

      Here are nine questions we think about, in roughly the order they matter, before...
      06-18-2026, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 11:08 AM
    0 responses
    7 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    11 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    19 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    53 views
    0 reactions
    Last Post SEQadmin2  
    Working...