Add all non overlapping genes/transcripts from one gtf to another with bedtools intersect
If trying to add all non-overlapping transcripts from one gtf to another gtf would would the appropriate bedtools intersect command be.
I am starting with:
intersectBed –wa –a augustus.gtf –b genemark.gtf > mynew.gtf
But I think this will only write the original entry in A for each overlap but not the non overlapping parts?
• 1,554 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Option
-vis what you want.So use
-vto get non overlapping then later on join the two together?That could be an option, yes.
Is there a better way you would suggest?