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 message: Error: When reading a fasta record: Expected character '>' at record start. #1560

Open
basmaelsaadani opened this issue Dec 23, 2024 · 2 comments
Labels
t:bug Type: bug, error, something isn't working

Comments

@basmaelsaadani
Copy link

Error message: Error: When reading a fasta record: Expected character '>' at record start.

Nextclade version 3.10.0 (commit: 6489d24, branch: release)

Memory available: 2222 MBytes

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Browser details: {"browser":{"name":"Chrome","version":"131.0.0.0"},"os":{"name":"Windows","version":"NT 10.0","versionName":"10"},"platform":{"type":"desktop"},"engine":{"name":"Blink"}}

Call stack:

Error: When reading a fasta record: Expected character '>' at record start.
at A (https://clades.nextstrain.org/_next/static/chunks/68.6fe6624798e33815.js:1:9418)
at https://clades.nextstrain.org/_next/static/wasm/136357611caedf0d.wasm:wasm-function[3056]:0x302a9f
at Function.value (https://clades.nextstrain.org/_next/static/chunks/68.6fe6624798e33815.js:1:6470)
at https://clades.nextstrain.org/_next/static/chunks/68.6fe6624798e33815.js:1:18799
at u (https://clades.nextstrain.org/_next/static/chunks/444.170c49d0571b2ba1.js:1:28086)
at Generator._invoke (https://clades.nextstrain.org/_next/static/chunks/444.170c49d0571b2ba1.js:1:29376)
at a. [as next] (https://clades.nextstrain.org/_next/static/chunks/444.170c49d0571b2ba1.js:1:28489)
at p (https://clades.nextstrain.org/_next/static/chunks/68.6fe6624798e33815.js:1:14701)
at d (https://clades.nextstrain.org/_next/static/chunks/68.6fe6624798e33815.js:1:14898)
at https://clades.nextstrain.org/_next/static/chunks/68.6fe6624798e33815.js:1:14957

@basmaelsaadani basmaelsaadani added good first issue Good for newcomers help wanted Extra attention is needed needs triage Mark for review and label assignment t:bug Type: bug, error, something isn't working labels Dec 23, 2024
@ivan-aksamentov
Copy link
Member

ivan-aksamentov commented Dec 23, 2024

Hi @basmaelsaadani

You are likely using an incorrectly formatted fasta file or a compressed fasta file. Note that while Nextclade CLI supports compressed fasta (e.g. .fasta.gz), Nextclade Web does not support compression (yet).

If you think your fasta is good and it's a bug in Nextclade, then please attach a smallest file which triggers the problem, so that we could investigate.

@ivan-aksamentov ivan-aksamentov removed needs triage Mark for review and label assignment good first issue Good for newcomers help wanted Extra attention is needed labels Dec 23, 2024
@corneliusroemer
Copy link
Member

Maybe for web, we can catch this error and check if the text is a single valid sequence (ACGT etc) just without fasta header and if that's the case add a simple name like "sequence".

I think this is the most common error people get using web Nextclade, they paste a single sequence without header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Type: bug, error, something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants