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

Pipeline fails when any sample has zero reads. #18

Open
dfornika opened this issue Apr 22, 2022 · 0 comments
Open

Pipeline fails when any sample has zero reads. #18

dfornika opened this issue Apr 22, 2022 · 0 comments

Comments

@dfornika
Copy link
Member

We occasionally have samples where (often due to problems with demultiplexing), the .fastq.gz file contain zero reads. This causes the entire pipeline to fail with an error message like:

Error executing process > 'kraken2 (sample)'

Caused by:
  Missing output file(s) `sample_kraken2_output.tsv` expected by process `kraken2 (sample)`

Command executed:

  printf -- "- process_name: kraken2\n" > sample_kraken2_provenance.yml
  printf -- "  tool_name: kraken2\n  tool_version: $(kraken2 --version | grep 'version' | cut -d ' ' -f 3)\n" >> sample_kraken2_provenance.yml
  printf -- "  database_path: $(readlink -f 2021-05-17_standard)\n" >> sample_kraken2_provenance.yml
  kraken2 --db 2021-05-17_standard --threads 8 --output sample_kraken2_output.tsv --report sample_kraken2_report.txt --paired sample_trimmed_R1.fastq.gz sample_trimmed_R2.fastq.gz

Command exit status:
  0

Command output:
  (empty)

Command error:
  Loading database information... done.
  0 sequences (0.00 Mbp) processed in 0.001s (0.0 Kseq/m, 0.00 Mbp/m).
    0 sequences classified (-nan%)
    0 sequences unclassified (-nan%)

Work dir:
  work/6a/51705a8af0c42f25bbd2ce45abc112
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