uv icon indicating copy to clipboard operation
uv copied to clipboard

error at intervals step

Open shaul-pollak opened this issue 4 years ago • 5 comments

First off - thanks for this tool! i ran the workflow on the test dataset with no problems, but I've been trying to test it on some genomes we sequenced, and am getting an error at the interval finding step.

This is the error message:

Error executing process > 'uv:intervals (1)'

Caused by:
  Process `uv:intervals (1)` terminated with an error exit status (1)

Command executed:

  find_phage_breakpoints.py --genome renamed_contigs.fasta --frames reading_frames.faa --hits aln.m8 --threshold 1 --names contig_names.txt --outdir results
  cat results/*.bed > tmp
  bedtools sort -i tmp > putative.bed

Command exit status:
  1

Command output:
  (empty)

Command error:
  cat: 'results/*.bed': No such file or directory

Looking at the aln.m8 file in the relevant dir shows only a single hit.

shaul-pollak avatar Nov 08 '20 19:11 shaul-pollak

hm. likely I'm not catching the case when there are no results in this step -- could you send me the corresponding genome to replicate?

phiweger avatar Nov 09 '20 05:11 phiweger

Thanks for the quick reply! here it is. genome.txt

shaul-pollak avatar Nov 09 '20 12:11 shaul-pollak

do there any solutions about this issue?

limeng849 avatar Dec 11 '20 11:12 limeng849

what error msg do you get? what genome are you using as input?

phiweger avatar Dec 11 '20 13:12 phiweger

Ok this error occurs when there are no prophages found in the genome. Will catch this error in the next release, thx for reporting.

phiweger avatar Feb 23 '21 11:02 phiweger