REFERENCE GENOME - merging files
0
0
Entering edit mode
2.3 years ago
GiuliaAC ▴ 10

Hi!

I would like to create a new reference genome (host + other genes) for mapping transcriptomic data

In order to do this, I have the 2 .fa files and the 2 .gtf files

For fasta files, I can easly merge the files cat file1.fa file2.fa > file1.2.fa

And for gtf files? What can I do?

Thanks for the help

reference genome • 904 views
ADD COMMENT
0
Entering edit mode

(cat f1.gtf && grep -v "^#" f2.gtf) > 1.2.gtf ?

ADD REPLY
0
Entering edit mode

to extend this, it could be as simply concat both files, just be sure you have different chromosome names

ADD REPLY
0
Entering edit mode

How can I check it? And if they are not different, what can I do?

ADD REPLY
0
Entering edit mode

May be best to use agat_sp_merge_annotations.pl from AGAT a proper GTF/GFF tooklit.

ADD REPLY
0
Entering edit mode

I didn't know AGAT, thank you!

ADD REPLY

Login before adding your answer.

Traffic: 2469 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