HiCAssembler icon indicating copy to clipboard operation
HiCAssembler copied to clipboard

AssertionError

Open xinwang-bio opened this issue 5 years ago • 4 comments

Hi When I run the HiCAssembler, I got an error like below. How can I fix it ?

Traceback (most recent call last): File "/home/xw/sofware/HiC/bin/assemble", line 312, in main(args) File "/home/xw/sofware/HiC/bin/assemble", line 308, in main chain_file=args.outFolder + "/liftover.chain") File "/home/xw/sofware/HiC/bin/assemble", line 218, in save_fasta assert(next_contig['start'] - end >= 0) AssertionError

xinwang-bio avatar Mar 12 '19 15:03 xinwang-bio

For some reason the coordinates of a contig are not correct. How are you calling hicassembler?

On Tue, Mar 12, 2019 at 4:25 PM Xin Wang [email protected] wrote:

Hi When I run the HiCAssembler, I got an error like below. How can I fix it ?

Traceback (most recent call last): File "/home/xw/sofware/HiC/bin/assemble", line 312, in main(args) File "/home/xw/sofware/HiC/bin/assemble", line 308, in main chain_file=args.outFolder + "/liftover.chain") File "/home/xw/sofware/HiC/bin/assemble", line 218, in save_fasta assert(next_contig['start'] - end >= 0) AssertionError

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maxplanck-ie/HiCAssembler/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AEu_1fQfa1b9AeqoBBdtfM6Bgjcbld6zks5vV8cBgaJpZM4brKdY .

fidelram avatar Mar 12 '19 16:03 fidelram

@fidelram command is below: assemble -m ctg_10kb_corrected.h5 -o ctg_10kb_corrected_default -f ctg_ident_0.99_cov_0.97_pilon.fasta

xinwang-bio avatar Mar 12 '19 16:03 xinwang-bio

I encountered the same issue. I commented out the lines including assert() function, and then the run finished normally. The obtained result looked fine at a glance, but I wonder whether there is any serious problem with this override.

ItokawaK avatar Jan 10 '20 03:01 ItokawaK

I got the same error.

Hi fidel, how can I fix it? @fidelram

Thanks for your help.

xuxiaoman0212 avatar Feb 16 '20 14:02 xuxiaoman0212