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

Javascript Error: too much recursion #4

Open
raw937 opened this issue Apr 14, 2024 · 8 comments
Open

Javascript Error: too much recursion #4

raw937 opened this issue Apr 14, 2024 · 8 comments
Labels
question Further information is requested

Comments

@raw937
Copy link

raw937 commented Apr 14, 2024

python 3.11
latest version of codonU

Any thing I try within the examples for my file I get "Javascript Error: too much recursion"

any thoughts?

@raw937
Copy link
Author

raw937 commented Apr 14, 2024

I figured it out. It does like .ffn, .fna, or .fnn.fasta only .fasta. Odd?

@SouradiptoC
Copy link
Owner

I am not sure what in this case you were trying to do and how you are having a js error. CodonU completely runs in python. If you are using jupyter, then you may face such an error. Let me know how you face the error and what you were trying to do.

P.S. CodonU only take as input .fasta file. No other extensions are supported.

@raw937
Copy link
Author

raw937 commented Apr 15, 2024

This is from a notebook with .ffn, .fna, .faa extensions which are commonly used formats.

@SouradiptoC
Copy link
Owner

As of now, handler for opening only .fasta is available. It would be better if you can change the extensions to .fasta. Thanks for bringing in notice the other commonly used formats. I'm working on an update, i'll try to incorporate handlers for those extensions also.

@raw937
Copy link
Author

raw937 commented Apr 16, 2024

It is quite confusing to use .fasta for all outputs.

The .fasta isn't commonly used due to this confusion.

.fna = fasta nucleotide files for contigs or reads
.faa = fasta amino acid for called ORFs
.ffn = fasta nucleotide feature format which the nucleotide version of .faa

You need a .ffn for this program to run correctly. If you just add a whole genome or a collection of contigs this program will fail to run.

This would be useful to have this content in the readme to help users.

@SouradiptoC
Copy link
Owner

Thanks for the suggestions. As mentioned earlier, I'll look into handlers for other file formats.

@SouradiptoC
Copy link
Owner

Hey @raw937, I looked into .fna, .faa, .ffn formats. As per my understanding, the difference between these formats and .fasta are merely semantical and not structural. The contents of these file as well look like the following

> [id] [name] [desc]
code (80 chars)

I got your point that having specified extensions will help users to know the contents of the file, but after all, parsing the contents of the file are same as that of .fasta. So, I'm not getting why you faced the error in the first place. Can you please share the exact process you were following and some dummy data so that I can reproduce the error?

@SouradiptoC SouradiptoC reopened this Apr 16, 2024
@SouradiptoC SouradiptoC added invalid This doesn't seem right question Further information is requested and removed invalid This doesn't seem right labels Apr 16, 2024
@Hasanzahid10
Copy link

Hello sir,
I am new user CodonU .I have one question about output.
I am run Staphylococcus_aureus.fasta file but my output not to same your output.
why.. if you want I will share my output screenshot ............

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

No branches or pull requests

3 participants