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

More informative error messages for assembly failures #103

Open
bede opened this issue Oct 19, 2022 · 0 comments
Open

More informative error messages for assembly failures #103

bede opened this issue Oct 19, 2022 · 0 comments

Comments

@bede
Copy link
Contributor

bede commented Oct 19, 2022

Viridian often provides informative error messages in the result field of the logfile. However we've noticed that the majority of Viridian errors being reported in GPAS are just "Error". Perhaps this is a fallback catch-all message for unhandled error conditions. It would be great if more informative errors could be provided in these cases. It sounds like this may already have been done in unreleased code?

image

Below is a JSON excerpt showing an example:

 "run_summary" :
{
  "last_stage_completed" : "Finished",
  "command" : "/usr/local/bin/viridian_workflow run_one_sample --tech illumina --ref_fasta ref.fa --reads1 88cde614-8238-a637-6b39-227b2773935e_1.fastq.gz --reads2 88cde614-8238-a637-6b39-227b2773935e_2.fastq.gz --outdir 88cde614-8238-a637-6b39-227b2773935e_outdir/ --sample_name 88cde614-8238-a637-6b39-227b2773935e --keep_bam",
  "options" :
  {
    "debug" : false,
    "tech" : "illumina",
    "built_in_amp_schemes" : null,
    "amp_schemes_tsv" : null,
    "reads1" : "88cde614-8238-a637-6b39-227b2773935e_1.fastq.gz",
    "reads2" : "88cde614-8238-a637-6b39-227b2773935e_2.fastq.gz",
    "reads" : null,
    "ref_fasta" : "ref.fa",
    "sample_name" : "88cde614-8238-a637-6b39-227b2773935e",
    "outdir" : "88cde614-8238-a637-6b39-227b2773935e_outdir/"
  },
  "cwd" : "/tmp/nxf.2b9Xupr7E6",
  "version" : "0.3.7",
  "finished_running" : true,
  "start_time" : "2022-08-26T15:27:09",
  "end_time" : "2022-08-26T15:30:09",
  "hostname" : "nf-004907cc7d1df01dd3ef499dfef14fda",
  "result" : "Error",
  "run_time" : "0:02:28.799040"
},
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