Comments (1)
Hi,
Indeed we only allow different colors for CDS (coding) and UTR (non-coding). If you want to highighlight some exons, you can modify your bed12 so that the exons you want to highlight are the CDS and all the rest are non coding.
In a bed12 the CDS id defined in columns 7 and 8 see UCSC FAQ.
So if you modify the columns 7 and 8 you can get the resired output:
- Set all columns 7 and 8 to the same value as column 2.
- Change columns 7 and 8 for the intervals with exons you want to highlight with the coordinates of the exon.
For example:
cat original.bed12 | awk -v OFS="\t" '{if ($4=="the name of your gene"){$7=start of highlight exon;$8=end of highlight exon}else{$7=$2;$8=$2};print}' > modified.bed12
from pygenometracks.
Related Issues (20)
- Bigwig display at base pair zoom level HOT 4
- getting "ImportError: cannot import name typeDict" error HOT 2
- Directionality of links HOT 4
- `make_tracks_file` create of a configuration with `bigwig` HOT 1
- grouped scaling for bigwick/graph tracks HOT 1
- Changing the font type HOT 6
- Question about Plotting GeneHancer file .bed HOT 4
- gappedPeak not working HOT 4
- Flipping the reverse strand genes HOT 2
- Python 3.7 EOL HOT 2
- Is it possible to merge two matrices together to visualize the differences? HOT 2
- Manhattan HOT 3
- Feature Request: Add peak height
- using two identical bedgraph files with max_value set to different values does not work HOT 2
- Missing tracks from RNA-seq bigwig file when using pyGenomeTracks HOT 1
- Unable to install with conda phyton 3.9 HOT 1
- Visualize loop in hic matrix HOT 2
- Dependency Conflict: Installation of pyGenomeTracks Causes ResolutionImpossible Error HOT 3
- Please update PyPi as it still provides only version 3.8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygenometracks.