sanger-pathogens / Artemis

Artemis is a free genome viewer and annotation tool that allows visualization of sequence features and the results of analyses within the context of the sequence, and its six-frame translation
http://sanger-pathogens.github.io/Artemis
Other
236 stars 76 forks source link

All GFF features placed on each scaffold in multi-FastA file #306

Open kubu4 opened 4 years ago

kubu4 commented 4 years ago

I have a multi-FastA file containing 18 genomic scaffolds. I also have a GFF containing gene features for all of the scaffolds. However, Artemis appears to be mapping all gene features to each and every scaffold.

The screencap below shows:

20200304_001

Any thoughts on what is happening here and/or how to correct this?

tseemann commented 4 years ago

Wow - that error used to happen years ago when you used a Genbank reference. But it works with GFF 3.0 normally.

Did you run art ref.fa + ref.gff ?

One idea might be to make a single GFF file as follows:

echo "##gff-version 3" > fixed.gff
cat ref.gff >> fixed.gff
echo "##FASTA" >> fixed.gff
cat ref.fa >> fixed.gff

and try loading that