-
Notifications
You must be signed in to change notification settings - Fork 58
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
How to merge two genes with overlapping positions but no overlapping CDS? #468
Comments
This script if for a particular purpose and avoid overlap of the end of genes to be exactly at the same position ( a peculiarity for submission to public archive) |
I don't quite understand what you mean, can you point me in the right direction? Or do you know of any code that accomplishes this? |
If you work on 2 files use agat_sp_merge_annotations.pl If you work on a single file then use the gxf2gxf script but you must first activate the merge option in the agat config file ( agat config —expose) |
I'll try your offer and I'll let you know if I hear anything new, thanks! |
What vesion of AGAT do you use? |
Right if two genes have CDS it is at CDS level that the overlap will be taken into account to decide to merge the gene or not. |
Sorry, just saw the message now. It would be best if a gene level merge could be implemented. |
Since your agat_sp_fix_overlaping_genes.pl program only merges for CDS that have overlap, it would be a great creation if we could be allowed to autonomously choose the level of merging (e.g., gene, mRNA, exon, and CDS, etc.). |
Either use But for now it merge genes * if both have CDS and CDS overlaps and are on same strand. I have not implemented the merge if one have CDS and the other one no, or force to check overlap at exon level even if they have CDS. I'm not sure if it is relevant. I'm afraid we merge different locus overlapping in their CDS or different features i.e. a miRNA / ncRNA in the UTR of a gene... |
I tried to merge genes with overlapping regions using agat_sp_fix_overlaping_genes.pl but it failed because their CDSs don't overlap, is there any way to fix this? Thanks!
The text was updated successfully, but these errors were encountered: