This is a test version of Biostars. For the public version, visit https://www.biostars.org.
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?

bedtools annotation gtf

Option -v is what you want.

So use -v to get non overlapping then later on join the two together?

That could be an option, yes.

0 answers

No answers yet.

Log in to answer this question.