Skip to content

NextPolish stuck on/after step 6 merging bams when polishing with long and short reads. #58

Description

@Rob-murphys

Describe the bug
NextPolish stuck on/after step 6 merging bams when polishing with long and short reads.

Error message

No specific log message just a failure to move past this stage and complete the job, having previously done so with this exact same command and genome. Excerpt from log:


[INFO] 2020-11-06 08:31:14,578 index_genome done
[INFO] 2020-11-06 08:31:14,580 analysis tasks done
[INFO] 2020-11-06 08:31:14,600 total jobs: 6
[INFO] 2020-11-06 08:31:14,600 Throw jobID:[27884] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/03.map.ref.sh.work/map_genome0/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:15,102 Throw jobID:[27918] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/03.map.ref.sh.work/map_genome1/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:15,604 Throw jobID:[27952] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/03.map.ref.sh.work/map_genome2/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:16,106 Throw jobID:[27986] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/03.map.ref.sh.work/map_genome3/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:16,609 Throw jobID:[28021] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/03.map.ref.sh.work/map_genome4/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:17,111 Throw jobID:[28055] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/03.map.ref.sh.work/map_genome5/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:20,123 align_genome done
[INFO] 2020-11-06 08:31:20,128 analysis tasks done
[INFO] 2020-11-06 08:31:25,140 total jobs: 1
[INFO] 2020-11-06 08:31:25,141 Throw jobID:[28091] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/04.merge.bam.sh.work/merge_bam0/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:26,147 merge_bam done
[INFO] 2020-11-06 08:31:26,150 analysis tasks done
[INFO] 2020-11-06 08:31:26,169 total jobs: 6
[INFO] 2020-11-06 08:31:26,170 Throw jobID:[28126] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/05.polish.ref.sh.work/polish_genome0/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:26,672 Throw jobID:[28150] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/05.polish.ref.sh.work/polish_genome1/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:27,175 Throw jobID:[28191] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/05.polish.ref.sh.work/polish_genome2/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:27,676 Throw jobID:[28212] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/05.polish.ref.sh.work/polish_genome3/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:28,178 Throw jobID:[28231] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/05.polish.ref.sh.work/polish_genome4/RB110-1.nextPolish.sh] in the local_cycle.
[INFO] 2020-11-06 08:31:28,681 Throw jobID:[28250] jobCmd:[/home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1/03.kmer_count/05.polish.ref.sh.work/polish_genome5/RB110-1.nextPolish.sh] in the local_cycle.

Operating system

LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.7.1908 (Core)
Release:        7.7.1908
Codename:       Core

GCC

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)

Python
Python 3.7.3

NextPolish
nextPolish v1.3.0

To Reproduce (Optional)
python ~/path/to/NextPolish/nextPolish run_RB110-1.cfg

.cfg file:

[General]
  job_type = local  #job type, local means that a single node is running. Since NextPolish uses DRMAA for task delivery, it also supports SGE, PBS and SLURM
  job_prefix = RB110-1.nextPolish
  task = best
  rewrite = yes
  rerun = 3
  parallel_jobs = 6
  multithread_jobs = 10
  genome = /home/lamma/faststorage/RB110/canu-outputs/RB110-1_pacbio/RB110-1_pacbio.contigs.fasta
  genome_size = auto #indicates the location of the assembled genome#
  workdir = /home/lamma/faststorage/RB110/nextPolish-ouput/RB110-1 #The directory where the output file is located#
  polish_options = -p {multithread_jobs}

  [sgs_option]
  sgs_fofn = ./nextPolish_sgs/sgs-RB110-1.txt
  sgs_options = -max_depth 100 -bwa

  lgs_fofn = ./nextPolish_lgs/lgs-RB110-1.txt
  lgs_options = -min_read_len 1k -max_depth 100
  lgs_minimap2_options = -x map-ont

Additional context
This job has previously worked on this genome with no issues, and as far as I am aware nothing has changed since trying to re run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions