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

dnaio.exceptions.UnknownFileFormat #136

Open
wook2014 opened this issue Aug 19, 2024 · 2 comments
Open

dnaio.exceptions.UnknownFileFormat #136

wook2014 opened this issue Aug 19, 2024 · 2 comments

Comments

@wook2014
Copy link

I am tring to use cutadapt to process my reads file, but I meet up with a problem

dnaio.exceptions.UnknownFileFormat: Could not determine whether file '<_io.BytesIO object at 0x73ef2b228270>' is FASTA or FASTQ. The file extension is not available or not recognized, and the first character in the file is unexpected.

It is confused for me because I have checked my fastq file manually and I could not find errors. how could I locate the error data with the code 0x73ef2b228270 ? Is there another way to print the error line?

@rhpvorderman
Copy link
Collaborator

This bug needs a little more context.

Could you give:

  • The cutadapt command you used to process the file.
  • A complete stacktrace.
  • If possible, the file in question.

@wook2014
Copy link
Author

I have checked and it seemed that this is caused by a previous step which using cutadapt to cut the adapter and produced several sequences that cut to 0 length.

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