Closed NMaziak closed 1 year ago
Hi, Do you have tabulations in your file? Do you have an error message? Thanks, Lucille
I will have a closer look tomorrow.
It seems that your 'gappedPeak' does not follow exactly the format described by UCSC: https://genome.ucsc.edu/FAQ/FAQformat.html#format14 And this is what pyGenomeTracks gives as message:
Warning: The block field 5 (score) is not valid: ..
Error message: could not convert string to float: '.'
Only the first 4 fields will be used.
There are 2 ways to convert your gappedPeak file to a 'conform' gappedPeak file:
awk -v OFS="\t" '{$5=0;print}' input.gappedPeak > fixed.gappedPeak
sed 's/\.\t\./0\t./' input.gappedPeak > fixed.gappedPeak
Here is the result:
Feel free to reopen the issue if the error is still here.
Hi Lucille, thank you so much for the prompt reply. I didn't catch the warning, very sorry about that. Will fix it!
Hello,
Thanks for providing a wonderful tool! I have pyGenomeTracks version 3.8. I have a gappedPeak file, the first two lines look like this:
However, when I plot it, it comes out looking like a normal peak, in the .ini file, I have the following:
Would you happen to know why it won't work?
Any help is greatly appreciated.
Best, Noura