-
Notifications
You must be signed in to change notification settings - Fork 27
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
KeyError: 'replace' #127
Comments
Sorry about the problems, @meiyang12! I can't tell from the gff3 snippets what might be wrong. If your gff3 and genome fasta files aren't too big and you're willing to share them, I can run the program and try to help debug. Let me know and we can figure out a way to transfer them. If that doesn't work, you might try running the ID generator script - it might be that gff3_merge requires that all features have IDs. |
Hi, thanks for your suggestions. I am sorry for the late response. I tried the methods you say, but it occurred errors. So, I have uploaded the three file to google drive (https://drive.google.com/drive/folders/1YlQfbJuNmCWl3FHG3OavLusGKMuJDENt?usp=share_link). |
Thanks for sharing the files. It looks like there'a a bug that misinterprets the attributes |
Hi, thanks for gff3toolkit! I also ran the gff_merge and encountered the same error. Renaming the sequence_ID and copy_num_ID did solve the problem. However, I met this error again when I tried to auto-assign replace tags for types beyond mRNA and my user defined file is as below: mRNA exon The error emerged again after I added rRNA, tRNA, snRNA, V_gene_segment and C_gene_segment. Could you possibly offer some suggestions? |
Sorry you're having trouble with the gff3_merge program! Is there a way you could share the 2 gff files and your command with me? I can try to debug with that information. |
I circumvented the problem by renaming 'V_gene_segment' and 'C_gene_segment' in the third column into 'mRNA' using: sed -E -i 's/V_gene_segment/mRNA/' my.gff and named them back after gff_merge using: sed -E -i '/^\S+\t\S+\tmRNA.*V_segment/ s/mRNA/V_gene_segment/' my.gff which I think worked just fine and there seems to be no missing information. |
I ran gff3_merge program, and I got the error
and my gff3 files were like these:
one:
two:
anyone can help?
The text was updated successfully, but these errors were encountered: