Nextomics/NextPolish

run nextplolish2.py sleep

wang-zewen opened this issue · 8 comments

When running nextpolish2.py, the task remains in a sleep state after submission, and the thread count shows as 0.

nextpolish2.py -sp -p 10 -g input.genome.fasta -b input.genome.fasta.blc -i 1 -l lgs.sort.bam.list -r ont -o genome.nextpolish.part001.fasta

moold commented

Try to kill it and rerun.

The reason for the process to sleep is that some contig cannot obtain the result during the execution of the line c_seq = P.ctg_cns_core(CFG, REFS.contents.ref[n], bam_list). How can we solve this problem?

moold commented

Could you extract the sequences and bam of some contigs you mentioned and then send to me? so I can reprocude this bug.

moold commented

Thanks, but the bam file is too large to download, could you please extract the bam of the contigs that failed to polish. You can use samtools like this:

samtools  view -b all.bam conitg_name > conitg_name.bam
moold commented

The reads from your bam file contain lots of non-ATGC bases, so you need to remove these reads...

ok. Thank you.