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 when a trying --amr #121

Open
msubirana opened this issue Oct 31, 2024 · 4 comments
Open

Error when a trying --amr #121

msubirana opened this issue Oct 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@msubirana
Copy link

Ask away!

Hi,

I'm running the pipeline like this:

nextflow run epi2me-labs/wf-metagenomics \
--fastq $fastq_pass_path \
-profile singularity \
--database_set PlusPF-8 \
--out_dir $out_dir \
--store_dir $store_dir \
--exclude_host $host_ref \
--amr

And I'm getting this error, any solution? Thanks.

ERROR ~ Error executing process > 'kraken_pipeline:run_amr:abricate (1)'

Caused by:
  Process `kraken_pipeline:run_amr:abricate (1)` terminated with an error exit status (1)


Command executed:

  gunzip -c input_reads.fastq.gz  > input_reads.fastq
  abricate --db resfinder --minid 80 --mincov 80 input_reads.fastq > barcode10_amr_results.tsv

Command exit status:
  1

Command output:
  (empty)

Command error:
  
  gzip: input_reads.fastq.gz: not in gzip format

Work dir:
 lr_microbiome/work/a5/ed6a49a77bb51f2b39869a23be635e

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

 -- Check '.nextflow.log' file for details
@msubirana msubirana added the question Further information is requested label Oct 31, 2024
@nggvs
Copy link
Contributor

nggvs commented Nov 10, 2024

Hi @msubirana !
Thank you for using the workflow! I'll try to reproduce this issue!

@nggvs nggvs added bug Something isn't working and removed question Further information is requested labels Nov 10, 2024
@nggvs
Copy link
Contributor

nggvs commented Dec 3, 2024

Hi @msubirana ,
I'm not able to reproduce this issue, could you look into lr_microbiome/work/a5/ed6a49a77bb51f2b39869a23be635e
and check if you can view the content of the file with zcat

Thank you very much in advance!

@msubirana
Copy link
Author

Hi,

I'm not able

zcat work/a5/ed6a49a77bb51f2b39869a23be635e | head
gzip: work/a5/ed6a49a77bb51f2b39869a23be635e.gz: No such file or directory

@nggvs
Copy link
Contributor

nggvs commented Dec 5, 2024

Hi @msubirana,

Could you tell me which version of wf-metagenomics are you using? If it isn't the 2.11.1, could you retry with that one to see if the problem persists? The command you'd need to run is the next one (sorry for not having been so clear in the first message)

# in the directory where you have the "work" directory created by nextflow
 zcat work/a5/ed6a49a77bb51f2b39869a23be635e/input_reads.fastq.gz | head

Also, just to let you know, there is "bug report template" to open an issue.
It asks for some information that is useful to look into it, like for example the version of the workflow or the Operating System, please use this template when reporting some error that you are experiencing.

Thank you very much in advance and for using the workflow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants