Closed AlexFryd closed 4 years ago
Hi @AlexFryd ,
I'm sorry it has taken so long for me to get back to you- my current job has become much busier than it used to be, and I haven't been able to do much work here.
To answer your question, the score in the BED files output by metagene generate
are all set to zero, because they're made in the generate
step, which is a function of a genome annotation only, and doesn't use any alignment data. The idea is that computing the windows in the generate
step is often expensive, and only needs to be done once, as the windows can be re-used with various alignment files (e.g. to compare metagene profiles across conditions).
The scores you want are emitted by metagene count
(which does use info from alignments) specifically in the file foo_metagene_profile.txt
(where foo
is whatever output name you supplied during the run). Hopefully you were already able to find this for your research.
If it would be useful to set the scores in the window file from the generate
step to .something other than zero, I welcome your suggestions- often the score in a BED is used to capture something about the quality of the annotations.
In case helpful, details may be found in the metagene
documentation, here:
Cheers, Josh
Hi @AlexFryd ,
Closing this issue. If you have further questions feel free to re-open it.
Chers, Josh
Dear Plastid Team,
I have been using plastid for about a week now. Everything runs fine, no errors. Metagene profile looks representative of regular riboseq data.
However, the .bed file that is returned (after the first 31 lines) when running the
metagene generate
function looks like this:4th line, on what I have checked on .BED file format, would result on a "score" which on this case I would assume would be the ribosome-protected-fragment counts on the selected windows. Is that right?
I then make a .bedgraph file using this command:
$ cut -f1-3,5 my.bed > my.bedgraph
. It looks like this (again, after the first 31 lines):I would assume that the 3rd line should have some numbers so as to allow visualization into genome browsers or other tools.
Is there something I am doing wrong?
Thank you in advance, Alexandros