Comments (14)
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
andlogs/hapog_chunks_8.o
?
I have almost sent you an email.
from hapo-g.
Hello,
could you please paste the content of the logs/hapog_chunks_69.e
and logs/hapog_chunks_69.o
files?
from hapo-g.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Conda install fails HOT 3
- Polish before or after Redundans HOT 1
- ModuleNotFoundError HOT 1
- Error with --threads 1 HOT 1
- Minimum coverage for correction? HOT 2
- PackageNotFoundError HOT 4
- How do I get a vcf file? HOT 2
- ERRORs when using newest version on conda HOT 1
- hapog introduce non-codon character in the polished sequence HOT 13
- Question: how HAPO-G handles N in reads? HOT 4
- Question: how about polishing a phased diploid genome assembly? HOT 2
- Memory issue HOT 5
- Explanation of hapog.changes HOT 1
- TypeError issue HOT 12
- long and short reads HOT 1
- Does HAPO-G correct ambiguous bases in fasta
- Error with --threads 1 - persisting HOT 4
- Plant genome HOT 7
- High RAM consumption in plant genome HOT 10
- Phased assembly polishing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hapo-g.