Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't see colors for ENCODE bigBed on UCSC browser #83

Open
paul-sud opened this issue Mar 15, 2021 · 4 comments
Open

Can't see colors for ENCODE bigBed on UCSC browser #83

paul-sud opened this issue Mar 15, 2021 · 4 comments

Comments

@paul-sud
Copy link

Hello,

We are using gemBS version 3.5.1 and the IHEC standard configuration. When loading the ENCODE-style CpG bigBed produced during gemBS extract into the UCSC browser as a custom track, the colors for all the CpG sites are the same, even with itemRgb=on and different combinations of settings for maxItems, visibility, and type (e.g. bigBed 9 + 5).

However, after manually running bedToBigBed on the ENCODE-style BED file produced by extract, like this:

bedToBigBed -as=bed9_5.as -type=bed9+5 input.bed chrom_sizes.tsv output.bigbed

then the colors are visible on UCSC. The .as file above is from this repo: https://github.com/heathsc/gemBS/blob/master/gemBS/etc/bed9_5.as

Is there some other UCSC setting that is required to see the colors? Or perhaps some issue with the bigBeds produced during extract that prevent the colors from being rendered? Any guidance would be appreciated.

Thanks,

Paul

@heathsc
Copy link
Owner

heathsc commented Mar 15, 2021 via email

@paul-sud
Copy link
Author

Thanks for offering to take a look Simon, it would be great if there was a way to make the coloring work.

@paul-sud
Copy link
Author

Just an update: we are able to see the colors when using a trackHub. The relevant portion (I think) is this:

track test
compositeTrack on
type bed 3
visibility full

    track test_cpg
    parent test on
    type bigBed 9 +
    visibility dense
    scoreFilter 0:1000
    itemRgb on

        track test_cpg_concrete
        parent test_cpg on
        type bigBed 9 +
        ...

Nothing surprising in there, I'd guess there are probably some discrepancies in how custom tracks are handled vs. track hubs.

@heathsc
Copy link
Owner

heathsc commented Mar 18, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants