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

ERROR-get_tx_seq : No genes were found on chromosomes defined in fasta file. #180

Open
yaskermezli opened this issue Mar 31, 2023 · 6 comments

Comments

@yaskermezli
Copy link
Collaborator

Hi,

I'm using the get_tx_seq function from gtftk and I'm getting this error

Here the header of my genome_fasta.fa file :

1 dna:chromosome chromosome:GRCm38:1:1:195471971:1 REF
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

to test that I deleted headers after chr [dna:chromosome chromosome:GRCm38:1:1:195471971:1 REF] but still getting the same error

Any help/suggestion ?

Thank you

@dputhier
Copy link
Owner

Hi Yasmina,
Yes. First, there is this issue related to " dna:chromosome chromosome:GRCm38:1:1:195471971:1 REF" which has not been fixed yet. This is a known issue (#171). But, yes, deleting every character after "1" should work...
Maybe the problem is related to the fact that (at least in your example), the line does not start with ">".
Best

@dputhier
Copy link
Owner

Also, you forgot to paste the error message.
Denis

@yaskermezli
Copy link
Collaborator Author

oh yes sorry,

1- my lines start by > (I did'nt paste it) :

1
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

2- the error message is the same in the subject :

|-- 16:50-ERROR-get_tx_seq : No genes were found on chromosomes defined in fasta file.

@dputhier
Copy link
Owner

dputhier commented Mar 31, 2023 via email

@yaskermezli
Copy link
Collaborator Author

Yes I found it
The probleme was in some unlocalized genomic contigs (like >GL456211.1 ...)
I deleted them and it works now

Thanks Denis!

@dputhier
Copy link
Owner

I will reopen it as it should not complain for additional chromose in the fasta file (but for additional chromosome in the gtf file).

@dputhier dputhier reopened this Mar 31, 2023
@dputhier dputhier reopened this Oct 11, 2024
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