Giter Site home page Giter Site logo

exit code: -6 about hapo-g HOT 14 CLOSED

fergsc avatar fergsc commented on September 26, 2024
exit code: -6

from hapo-g.

Comments (14)

wjq1981 avatar wjq1981 commented on September 26, 2024 1

Thank you for providing your files @wjq1981! We are currently investigating the issue. In the mean time, could you please post your logs/hapog_chunks_8.e and logs/hapog_chunks_8.o?

I have almost sent you an email.

from hapo-g.

bistace avatar bistace commented on September 26, 2024

Hello,
could you please paste the content of the logs/hapog_chunks_69.e and logs/hapog_chunks_69.o files?

from hapo-g.

fergsc avatar fergsc commented on September 26, 2024

I had to rerun hapo-g (I'm running on a HPC and the logs were not saved when the job crashed). Same error just reporting a different chunk this time

ERROR: Hapo-G didn't finish successfully, exit code: -6
Faulty command: /g/data/xe2/scott/gadi_modules/hapog/build/hapog -b chunks_bam/chunks_9.bam -f chunks/chunks_9.fasta -o hapog_chunks/chunks_9.fasta -c hapog_chunks/chunks_9.changes

I have included all logs. There was no chunk_69.
logs.zip

Thanks for the help.

from hapo-g.

wjq1981 avatar wjq1981 commented on September 26, 2024

I had to rerun hapo-g (I'm running on a HPC and the logs were not saved when the job crashed). Same error just reporting a different chunk this time

ERROR: Hapo-G didn't finish successfully, exit code: -6
Faulty command: /g/data/xe2/scott/gadi_modules/hapog/build/hapog -b chunks_bam/chunks_9.bam -f chunks/chunks_9.fasta -o hapog_chunks/chunks_9.fasta -c hapog_chunks/chunks_9.changes

I have included all logs. There was no chunk_69. logs.zip

Thanks for the help.

Hi, did you get your problem solved?

from hapo-g.

bistace avatar bistace commented on September 26, 2024

Hello,
we've pushed a few changes on Conda and on Github that specifically solve some problems encountered when polishing with long reads. Could you please check it out?

from hapo-g.

wjq1981 avatar wjq1981 commented on September 26, 2024

Hello, we've pushed a few changes on Conda and on Github that specifically solve some problems encountered when polishing with long reads. Could you please check it out?

Okay, I'll tell you the results when I'm done testing.

from hapo-g.

wjq1981 avatar wjq1981 commented on September 26, 2024

Hello, we've pushed a few changes on Conda and on Github that specifically solve some problems encountered when polishing with long reads. Could you please check it out?

Hi, The program still has the same problem.

Checking dependencies...
Found BWA.
Found Samtools.

Generating bwa index...
Done in 912 seconds

Launching mapping on genome...
Done in 12247 seconds

Indexing the BAM file...
Done in 664 seconds

Fragmenting the genome into 40 chunks of 28,860,154 bases (depending of scaffold sizes)
Done in 7 seconds

Extracting bam for each chunk
Done in 320 seconds

Launching Hapo-G on each chunk
ERROR: Hapo-G didn't finish successfully, exit code: -9
Faulty command: /share/database/HAPO-G-1.3/build/hapog -b chunks_bam/chunks_8.bam -f chunks/chunks_8.fasta -o hapog_chunks/chunks_8.fasta -c hapog_chunks/chunks_8.changes

from hapo-g.

bistace avatar bistace commented on September 26, 2024

Would it be possible for you to share your chunks_bam/chunks_8.bam and chunks/chunks_8.fasta? If so, could you please shoot an email to [email protected] so I can send you a secure link to upload your data?

from hapo-g.

bistace avatar bistace commented on September 26, 2024

Thank you for providing your files @wjq1981! We are currently investigating the issue. In the mean time, could you please post your logs/hapog_chunks_8.e and logs/hapog_chunks_8.o?

from hapo-g.

bistace avatar bistace commented on September 26, 2024

This is surprising, I can't reproduce the issue on our system with your input files and there is no error in the log files. Could you please try to launch the failing command separately? I mean this one:

/share/database/HAPO-G-1.3/build/hapog -b chunks_bam/chunks_8.bam -f chunks/chunks_8.fasta -o hapog_chunks/chunks_8.fasta -c hapog_chunks/chunks_8.changes

Would it be possible that something exterior to Hapo-G is killing the command before it can finish like a job scheduler if you are using a computing cluster?

from hapo-g.

wjq1981 avatar wjq1981 commented on September 26, 2024

This is surprising, I can't reproduce the issue on our system with your input files and there is no error in the log files. Could you please try to launch the failing command separately? I mean this one:

/share/database/HAPO-G-1.3/build/hapog -b chunks_bam/chunks_8.bam -f chunks/chunks_8.fasta -o hapog_chunks/chunks_8.fasta -c hapog_chunks/chunks_8.changes

Would it be possible that something exterior to Hapo-G is killing the command before it can finish like a job scheduler if you are using a computing cluster?

It is possible to run it alone, I have tested it. But running together does not work. I don't know what the problem is.


/share/HAPO-G-1.3/build/hapog -b chunks_bam/chunks_${SLURM_ARRAY_TASK_ID}.bam
-f chunks/chunks_${SLURM_ARRAY_TASK_ID}.fasta
-o hapog_chunks/chunks_${SLURM_ARRAY_TASK_ID}.fasta
-c hapog_chunks/chunks_${SLURM_ARRAY_TASK_ID}.changes

cat hapog_chunks/chunks_.fasta > hapog.fasta && cat hapog_chunks/chunks_.changes > hapog.changes

This is no problem.

But,

/share/HAPO-G-1.3/hapog.py --genome /share/genome/07.polish/hap2-1/hapog.fasta
--pe1 /share/02.dnaclean/raw_R1.fq.gz
--pe2 /share/02.dnaclean/raw_R2.fq.gz
--output hap2-2
--threads 46

The above mentioned problems will occur.

from hapo-g.

wjq1981 avatar wjq1981 commented on September 26, 2024

This is surprising, I can't reproduce the issue on our system with your input files and there is no error in the log files. Could you please try to launch the failing command separately? I mean this one:

/share/database/HAPO-G-1.3/build/hapog -b chunks_bam/chunks_8.bam -f chunks/chunks_8.fasta -o hapog_chunks/chunks_8.fasta -c hapog_chunks/chunks_8.changes

Would it be possible that something exterior to Hapo-G is killing the command before it can finish like a job scheduler if you are using a computing cluster?

Like you said, there could be some reason on the cluster that caused it to be terminated early. Thank you very much.

from hapo-g.

bistace avatar bistace commented on September 26, 2024

I suspect that you might be running out of memory due to the 46 Hapo-G running simultaneously (you mentioned that you used --threads 46). However, this is quite surprising since Hapo-G doesn't use that much RAM, do you know how much memory is available on the machine you are using?

One test you could do if you have some time to spare would be to reduce the number of threads to see if that helps.

from hapo-g.

wjq1981 avatar wjq1981 commented on September 26, 2024

I suspect that you might be running out of memory due to the 46 Hapo-G running simultaneously (you mentioned that you used --threads 46). However, this is quite surprising since Hapo-G doesn't use that much RAM, do you know how much memory is available on the machine you are using?

One test you could do if you have some time to spare would be to reduce the number of threads to see if that helps.

One node has 252Gb of memory.
Okay, I'll try reducing the number of threads later.

from hapo-g.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.