Comments (6)
Hi @slowkow . Maybe I can help.
One example of such file is here. It's referred as [bedgraph matrix]
in the config. Basically, it's a bedgraph file (chr, start, end, score) with extra columns for scores from replicates.
For additional information on config files, the current hicPlotTADs documentation might be helpful. Additionally, config files with some explanation of fields can directly be generated from a list of files using make_tracks_file
. Genes can be represented as bed6 or bed12 files at this moment.
from pygenometracks.
I added a new example to the README.md Maybe that helps.
from pygenometracks.
Hi Fidel, that's a great example. Could I ask you to please share the configuration?
I guess the gray lines are plotted with a configuration that looks something like this:
[bedgraph matrix]
# a bedgraph matrix file is like a bedgraph, except that per bin there
# are more than one value separated by tab: E.g.
# chrX 18279 40131 0.399113 0.364118 0.320857 0.274307
# chrX 40132 54262 0.479340 0.425471 0.366541 0.324736
# bedgraph matrices are produced by hicFindTADs
file = spectra_conductance.bm
title = conductance spectra
width = 1.5
orientation = inverted
min_value = 0.10
max_value = 0.70
# if type is set as lines, then the TAD score lines are drawn instead
# of the matrix
# set to lines if a heatmap representing the matrix
# is not wanted
type = lines
file_type = bedgraph_matrix
For the mean, are you creating an additional bedgraph file and then plotting it? What does the configuration look like for that?
from pygenometracks.
Yes, the configuration looks like that. When you use the bedgraph_matrix
file_type, the mean is computed based on the data. No extra file is needed.
from pygenometracks.
hi,Fidel,
how to handle with a GFF3 file, should it be convert to BED file?
thanks.
from pygenometracks.
Hi @werhmk!
Please try the latest release - it has gtf support: https://github.com/deeptools/pyGenomeTracks/releases/tag/3.1 That should hopefully work.
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
- highlight specific exon with different color HOT 1
- 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.