Sydney-Informatics-Hub / ONT-bacpac-nf

Bacterial profiling workflow for ONT data, written in Nextflow.
GNU General Public License v3.0
1 stars 0 forks source link

Unicycler Error #44

Closed fransamsing closed 2 months ago

fransamsing commented 3 months ago

The following error message arised when running new data (Super Accuracy Basecalling)

> ERROR ~ Error executing process > 'unicycler_assembly (ASSEMBLING GENOME WITH UNICYCLER: barcode08)'
> 
> Caused by:
>   Process `unicycler_assembly (ASSEMBLING GENOME WITH UNICYCLER: barcode08)` terminated with an error exit status (137)
> 
> 
> Command executed:
> 
>   unicycler     --long barcode08_trimmed.fastq.gz \
>     --threads 8 \
>     --out barcode08_unicycler_assembly
> 
> Command exit status:
>   137
> 
> Command output:
>   252,887 / 428,622 (59.0%) - 963,803,473 bp
>   257,174 / 428,622 (60.0%) - 979,748,723 bp
>   261,460 / 428,622 (61.0%) - 996,087,674 bp
>   265,746 / 428,622 (62.0%) - 1,012,332,484 bp
>   270,032 / 428,622 (63.0%) - 1,028,890,234 bp
>   274,319 / 428,622 (64.0%) - 1,049,729,213 bp
>   278,605 / 428,622 (65.0%) - 1,066,149,790 bp
>   282,891 / 428,622 (66.0%) - 1,083,010,854 bp
>   287,177 / 428,622 (67.0%) - 1,099,443,189 bp
>   291,463 / 428,622 (68.0%) - 1,115,531,160 bp
>   295,750 / 428,622 (69.0%) - 1,132,152,042 bp
>   300,036 / 428,622 (70.0%) - 1,147,351,328 bp
>   304,322 / 428,622 (71.0%) - 1,162,752,261 bp
>   308,608 / 428,622 (72.0%) - 1,178,793,477 bp
>   312,895 / 428,622 (73.0%) - 1,195,043,124 bp
>   317,181 / 428,622 (74.0%) - 1,211,837,697 bp
>   321,467 / 428,622 (75.0%) - 1,227,733,457 bp
>   325,753 / 428,622 (76.0%) - 1,243,719,464 bp
>   330,039 / 428,622 (77.0%) - 1,260,174,223 bp
>   334,326 / 428,622 (78.0%) - 1,276,061,255 bp
>   338,612 / 428,622 (79.0%) - 1,292,689,204 bp
>   342,898 / 428,622 (80.0%) - 1,309,268,643 bp
>   347,184 / 428,622 (81.0%) - 1,325,508,429 bp
>   351,471 / 428,622 (82.0%) - 1,341,041,649 bp
>   355,757 / 428,622 (83.0%) - 1,357,017,425 bp
>   360,043 / 428,622 (84.0%) - 1,373,072,028 bp
>   364,329 / 428,622 (85.0%) - 1,389,147,760 bp
>   368,615 / 428,622 (86.0%) - 1,404,235,054 bp
>   372,902 / 428,622 (87.0%) - 1,419,617,744 bp
>   377,188 / 428,622 (88.0%) - 1,435,659,978 bp
>   381,474 / 428,622 (89.0%) - 1,451,685,308 bp
>   385,760 / 428,622 (90.0%) - 1,468,099,130 bp
>   390,047 / 428,622 (91.0%) - 1,483,947,895 bp
>   394,333 / 428,622 (92.0%) - 1,500,080,390 bp
>   398,619 / 428,622 (93.0%) - 1,516,519,200 bp
>   402,905 / 428,622 (94.0%) - 1,532,438,465 bp
>   407,191 / 428,622 (95.0%) - 1,547,932,555 bp
>   411,478 / 428,622 (96.0%) - 1,564,026,090 bp
>   415,764 / 428,622 (97.0%) - 1,580,706,080 bp
>   420,050 / 428,622 (98.0%) - 1,596,392,683 bp
>   424,336 / 428,622 (99.0%) - 1,612,505,890 bp
>   428,622 / 428,622 (100.0%) - 1,629,048,883 bp
>   428,622 / 428,622 (100.0%) - 1,629,048,883 bp
> 
> 
>   Assembling contigs and long reads with miniasm (2024-08-12 14:37:39)
>   Saving to barcode08_unicycler_assembly/miniasm_assembly/01_assembly_reads.fastq:
>     428,622 long reads
> 
>   Finding overlaps with minimap...
> 
> Command error:
>   WARNING: Skipping mount /opt/nci/singularity/3.11.3/var/singularity/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container
>   tput: No value for $TERM and no -T specified
>   tput: No value for $TERM and no -T specified
>   tput: No value for $TERM and no -T specified
>   .command.sh: line 4: 2898183 Killed                  unicycler --long barcode08_trimmed.fastq.gz --threads 8 --out barcode08_unicycler_assembly
> 
> Work dir:
>   /scratch/tj48/fs9163/ONT-bacpac-nf/work/e5/d627965180ee1f2bd0268576cb3c9b
> 
> 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

To Reproduce Steps to reproduce the behavior:

  1. Added new data (Super Accuracy Basecalled ONT data) and run run_test script from test as bash test/run_test.sh
  2. Error pasted at the top.

**Environment (please complete the following information):

georgiesamaha commented 3 months ago

@fransamsing, I've significantly increased the memory allocated to Unicycler. Want to give it another go?