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

GFF file not recognized #98

Open
domenico-simone opened this issue May 11, 2021 · 6 comments
Open

GFF file not recognized #98

domenico-simone opened this issue May 11, 2021 · 6 comments
Assignees

Comments

@domenico-simone
Copy link

Hello,

I keep on getting a "GFF file is not in GFF3 file format!" error while running samtools mpileup + ivar variants. This is the command line:

samtools mpileup \
-aa -A -B \
--reference scaffolds.fasta \
test.bam | \
ivar variants \
-p ivar.out \
-r scaffolds.fasta \
-g test.gff

with these tool versions:

samtools v1.12
ivar v1.3.1

The gff file is output by Prokka (I have double-checked it's tab separated, and also have changed the source field from Prodigal to Genbank in case iVar is picky about source values). I have uploaded the files used in the command line here. What could be the issue?

Thank you for your support!

Domenico

@gkarthik
Copy link
Member

gkarthik commented Jun 8, 2021

Hello @domenico-simone , seems like the GFF file has a bunch of fasta sequences below. I removed those lines. Could you please check with this GFF file where I removed the lines? Thanks!

test.txt

@carlottaolivero
Copy link

Hi @gkarthik , I have the same problem with gff3 file for SARS-CoV-2 from NCBI.

The error message is the follow: "GFF file is not in GFF3 file format!" What is the problem here?
sequence.gff3.txt

If I try to skip at all this point (without adding "-g", it gives me "A GFF file containing the open reading frames (ORFs) has not been provided. Amino acid translation will not be done.".
I am not interested in the AA translation at the moment, is it possible to skip it?

Many thanks for your support,
Carlotta

@gkarthik
Copy link
Member

Hello Carlotta, the message only indicates that you won't be able to do amino acid translation but you should be able to get the intra host variants without the translation.

I'll take a look at the GFF3 file you provided. Thanks!

@carlottaolivero
Copy link

Hi @gkarthik , I have managed to solve the problem (in the sense that the message "GFF file is not in GFF3 file format!" didn't appeared) downloading another gff3 file from a different website, not NCBI. Attached is the new file:
sequence.sorted.gff3.txt

Thanks a lot!!
.

@sebasfelt
Copy link

Hello,

I unfortunately have the same problem than above. Created a gff3 file through NCBI (https://www.ncbi.nlm.nih.gov/nuccore/KT992094.1?report=gbwithparts&log$=seqview) but I am getting the "GFF file is not in GFF3 file format!" error message. What could be the issue? Thanks for your time and help!!
RSVA2.txt

@cmaceves cmaceves self-assigned this Sep 8, 2022
@sebasfelt
Copy link

Found a solution! Just used http://genometools.org/cgi-bin/gff3validator.cgi which helped me to find issue with file.

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

No branches or pull requests

5 participants