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

Not recognising my compressed fastq file #8

Open
bennyB-sicence opened this issue Jun 15, 2021 · 0 comments
Open

Not recognising my compressed fastq file #8

bennyB-sicence opened this issue Jun 15, 2021 · 0 comments

Comments

@bennyB-sicence
Copy link

Hi @rrwick,
thank you for your software, I have been following quick usage pipeline
user manual.

the first two steps no problem:
minimap2 & miniasm.
but when I run minipolish I get issues.

this is my code.
minipolish -t 12 fastq_pass.gz assembly.gfa > polished.gfa

my reads are all in a directory which has been gziped. it wasn't problem for the first two steps, but when I try and use this file for minipolish I have the following errors:

Traceback (most recent call last):
File " /conda_envs/minipolish/bin/minipolish", line 10, in
sys.exit(main())
File " /conda_envs/minipolish/lib/python3.9/site-packages/minipolish/main.py", line 70, in main
initial_polish(graph, args.reads, args.threads, tmp_dir, args.pacbio)
File " /conda_envs/minipolish/lib/python3.9/site-packages/minipolish/main.py", line 83, in initial_polish
save_per_segment_reads(graph, read_filename, tmp_dir)
File " /conda_envs/minipolish/lib/python3.9/site-packages/minipolish/main.py", line 159, in save_per_segment_reads
for read_name, seq, qual in iterate_fastq(read_filename):
File " /conda_envs/minipolish/lib/python3.9/site-packages/minipolish/misc.py", line 78, in iterate_fastq
if get_sequence_file_type(filename) != 'FASTQ':
File " /conda_envs/minipolish/lib/python3.9/site-packages/minipolish/misc.py", line 74, in get_sequence_file_type
raise ValueError('File is neither FASTA or FASTQ')
ValueError: File is neither FASTA or FASTQ

do you know what could be the problem here?
my file only contains fastq reads, but for some reason they are not being recognised at this stage.
thanks in advance.

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

1 participant