-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: cannot perform reduce with flexible type #9
Comments
Hi @ramadatta, Can I have first few lines from your GFF3 input file? |
Hi Vipin, Please find it here:
Prakki Rama |
@ramadatta the input gff3 file lines looks good to me. From the above error message, I am seeing little difference the current version of the code: |
Hi Vipin, Thank you for quick replies. I have got the gff3 file from NCBI. The following is the result when I used the latest version of your script:
|
@ramadatta can you provide me the ncbi link where you downloaded the gff3 file. |
Hi Vipin, Here is the annotation file:
|
Hi @ramadatta, The exon feature is directly mapped to gene, in this mapping there missing a additional layer of mapping exon -> transcript -> gene. I would say as per the GFF specification even if it is a single transcript gene, the mapping description should go as mentioned before. (gene -> transcript -> exon). May be it is good to contact the genome annotation center (ncbi) where you downloaded the file and inform them that the mapping in GFF is not valid. |
in BED format we are representing the transcript feature in a single line. |
I could do something that I can kick out these non properly matched annotation features. But I m not sure whether this will clean all single exon gene annotation from this file. I think then the resulting bed format will not contain any single exon gene. That will not be a good fix to this problem. Also you cannot define the missing transcript status whether a mRNA, lnRNA, or any other type of RNA feature, this has to be defined by the annotation center. |
Hi @vipints That appears true. Some transcripts are missing the status. Any other possible solution to think. May be I will try to approach the NCBI annotation team about this. Thanks so much for your help! |
Hi Vipin,
Thank you very much for the GFFtools scripts. However, when I run the command,
python gff_to_bed.py ref.gff3 > out2.bed
while converting gff3 to bed 12 format, I receive an error below:
Could I please know how to fix this error?
The text was updated successfully, but these errors were encountered: