How to merge gff3 files?
1
0
Entering edit mode
4.5 years ago

Hello. I'm new to bioinformatics. I have 11 gff3 files of annotated TE (one for each chromosome of banana). I need to merge them into one gff3 files. Anyone know how to do that?

Thank you :)

gff3 RNA-Seq • 4.1k views
ADD COMMENT
0
Entering edit mode

Your request needs to re-worded to reflect the fact that you have one file each for a chromosome - so what you are really looking for is file "concatenation", not 'merging' :) So the answer below is spot on.

In the future, if you will need to truly 'merge' GFF3 files, then you can look up - BEDTOOLS' utility = merge.

ADD REPLY
0
Entering edit mode

oh i see! thank you for correcting me :)

ADD REPLY
2
Entering edit mode
4.5 years ago
skbrimer ▴ 740

if you are using a linux machine can you not just cat *.gff > superbanana.gff I think that should work, the gff files I have worked with in the past didn't have headers so I don't think there is an issue there. Also there is this thread How To Merge Gff Files

ADD COMMENT
0
Entering edit mode

Thank you! I'll try it. Have a nice day :)

ADD REPLY

Login before adding your answer.

Traffic: 2089 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6