Problem when converting from blast output table to GTF file.
1
0
Entering edit mode
2.4 years ago

Hello, from an alignment of genes against metagneomic contigs using mmseqs2 I got a blast output format 6 table.

For the purpose of performing a gene abundance calculation from the metagenomes I want to use htseq program.

for htseqI need as input bam files (which I have) and gif files. The issue is that when I convert the blast tables (with .m8 extension) to off using blast2gff program (https://github.com/wrf/genomeGTFtools/blob/master/blast2gff.py) I got the following table:

smaple_image

From that table I used gffread on te next way:

gffread file.gff3 -T -o file.gtf

but the resulting table is an empty one.

What is the best way of converting off table or blast table (outfmt 6) to a gif file?

Thanks for your time :)

gene GTF GFF • 796 views
ADD COMMENT
3
Entering edit mode
2.4 years ago
Juke34 8.9k

I guess gffread does not deal with match_part feature type (3rd column of your GFF file.) You should use agat_convert_sp_gff2gtf.pl from AGAT with option "Relax".

ADD COMMENT
0
Entering edit mode

Thank you so much!! it reduced my anxiety

ADD REPLY

Login before adding your answer.

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