-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no ctg_cns.sh was generated #156
Comments
what is your config file? |
[General] [correct_option] [assemble_option] |
It seems your config file is ok, so could you paste the complete content of log file and |
NextDenovo.sh.e:
Min. 181947 - real 10m58.995s
|
Nextdenovo.sh |
How about the main task log? The main task log is usually located in your working directory and is named |
[8423 INFO] 2022-10-19 10:46:29 NextDenovo start... |
I think you can try to remove |
I removed it and rerun. But the error is the same as before |
I can't solve it with this limited information unless I can log into your system to debug it. So, maybe you need to try other assemblers. |
Question or Expected behavior
A clear and concise description of your question or what you expected to happen.
Step 3 03.ctg_graph is not generated with 03.ctg_cns.sh. Error display:[52387 INFO] 2022-10-19 09:28:55 ctg_align done
Traceback (most recent call last):
File "/share/home/cau_zhul/software/NextDenovo/nextDenovo", line 850, in
main(args)
File "/share/home/cau_zhul/software/NextDenovo/nextDenovo", line 798, in main
seq_info = blc_genome(cfg['pa_correction'], ctg_graph_output)
File "/share/home/cau_zhul/software/NextDenovo/nextDenovo", line 235, in blc_genome
seq_len = int(lines[2].split(':')[-1])
ValueError: invalid literal for int() with base 10: '0.996602'
Operating system
Which operating system and version are you using?
You can use the command
lsb_release -a
to get it.centOS 7.9.2009
GCC
What version of GCC are you using?
You can use the command
gcc -v
to get it.4.8.5
Python
What version of Python are you using?
You can use the command
python --version
to get it.3.7.13
NextDenovo
What version of NextDenovo are you using?
You can use the command
nextDenovo -v
to get it.2.5.0
Additional context (Optional)
Add any other context about the problem here.
Hi, doctor Hu! This is my problem:
Step 3 03.ctg_graph is not generated with 03.ctg_cns.sh.
And error was "[64391 INFO] 2022-10-19 07:54:43 ctg_graph done
/ share/home/cau_zhul /. Cbsched / 1663575030.409927. Shell: line 10: 64391 Segmentation fault (core dumped) ~ / software/NextDenovo/NextDenovo run_copy_1.cfg". Later I used the method in "segmentation fault after ctg_graph was done #153",
"Hi,
Acutally, you don't have to rerun the whole process, just see here to continue running unfinished tasks.
For the segmentation falut, I guess this is caused by the calgs function in the file lib/kit.py, so you can replace this function with the following python code:
def calgs(infile):
from Bio import SeqIO
gs = 0
for seq_record in SeqIO.parse(infile, "fasta"):
gs += len(seq_record.seq)
Return gs"
Then I stoped in Step 2, 02.ctg_align.sh.done, and error message
"
[52387 INFO] 2022-10-19 09:28:55 ctg_align done is displayed
Traceback (most recent call last):
File "/share/home/cau_zhul/software/NextDenovo/nextDenovo", line 850, in < module>
main(args)
File "/share/home/cau_zhul/software/NextDenovo/nextDenovo", line 798, in main
seq_info = blc_genome(cfg['pa_correction'], ctg_graph_output)
File "/share/home/cau_zhul/software/NextDenovo/nextDenovo", line 235, in blc_genome
seq_len = int(lines[2].split(':')[-1])
ValueError: invalid literal for int() with base 10: '0.996602'"
After checking, I found that no "nd.asm.p.fasta.blc" was generated.
Thank you!
The text was updated successfully, but these errors were encountered: