Closed sarah872 closed 4 years ago
What command did you use?
Uneducated guesses:
If you could post the data used and the command you tried that would be of great help :)
This is the command:
methplotlib -m calls freq -n calls freq -w TQUA2019C00010.1:0-1794 -g annotation.gff --simplify
Looking into it now :) Thanks!
I could not find the reason. Guess @wdecoster will look at it next week :)
Thanks for reporting this. I believe the cause is that methplotlib makes certain assumptions about the gtf file, which may not necessarily be valid for yours. It is tailored to Ensembl gtf files, maybe even specific for human files. But I should change that to also enable other types. It's an annoying format.
These assumptions are:
Only select lines which are "exon" features
from the attributes (final column) select "gene_name" and "transcript_id"
Based on the file you linked above (which is only 4 gtf lines?) your gtf doesn't match with both of these assumptions.
Could you perhaps share the full gtf? You can find my email in my GitHub profile.
Thanks, Wouter
Perhaps you could report that it found no entries in the format expected and what the expected format is? Also the readme and --help screen could also inform the user about the expected format.
Yes, I agree, that would be the minimal information that the script should report. I hope to look into this later this week.
I'm sorry, but I won't be able to provide a fix before the 2nd of January. Enjoy your holidays!
I apologize for taking so long to fix this. I have just made version 0.13 available, which supports your annotation file. I didn't realize in December that you were using a GFF file, while everything I wrote is intended for GTF files. They kinda look the same, but there are some crucial differences in how they're parsed.
My code will currently use the locus_tag attribute as "gene name". I am not entirely happy with how it at the moment parses GFF files and how the attributes of interest are selected, but I will wait for more user feedback to see if changes need to be made. I can't foresee all the problems that users might encounter. It is perfectly functional for Ensembl GTF files, and I'll make more changes when users require those.
Please let me know if you have more feedback.
I have a gff3 file that I downloaded from the Microscope Annotation platform. This is how the file looks:
This is the log file:
The plotting works, but as said, there are no annotations plotted. What is wrong with my gff-file?