Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kubu4 opened this issue Mar 4, 2020 · 1 comment
Open

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

kubu4 opened this issue Mar 4, 2020 · 1 comment

Comments

@kubu4
Copy link

kubu4 commented Mar 4, 2020

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:

  • Green box highlights different scaffold names in the gene GFF

  • Red arrow shows Artemis currently viewing "Scaffold_01"

  • Green arrows show gene GFF coordinates from different scaffolds are listed in the Artemis Scaffold_01 features list, even though only one of the gene features actually belongs in Scaffold_01

20200304_001

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

@tseemann
Copy link

tseemann commented Mar 5, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants