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

How to display multiple gene colors in gtf file? #484

Open
Simple53 opened this issue Sep 18, 2024 · 2 comments
Open

How to display multiple gene colors in gtf file? #484

Simple53 opened this issue Sep 18, 2024 · 2 comments

Comments

@Simple53
Copy link

Hi,
I would like to display different types of genes when using gtf file. Is there any aproach to display different types with different colors? In another word, that means anything like the color=bed_rgb in bed files. Thanks.

@lldelisle
Copy link
Collaborator

Hi,
Unfortunately this is not implemented. The way I do it is that I use an external python script to convert gtf to bed12 and then I assign colors in the 9th field.
The python script mimics the way pyGenomeTracks deal with gtf. It is available at https://github.com/lldelisle/tools-lldelisle/blob/master/tools/fromgtfTobed12/fromgtfTobed12.py
Tell me if you need more help.

@Simple53
Copy link
Author

Thank you for the suggestions!

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