racon icon indicating copy to clipboard operation
racon copied to clipboard

layer begin and end positions are invalid!

Open TSL-RamKrishna opened this issue 6 years ago • 12 comments

I am getting an error

[racon::Window::add_layer] error: layer begin and end positions are invalid!

I ran racon twice and I get the same error. Any help or suggestion?

TSL-RamKrishna avatar May 13 '19 10:05 TSL-RamKrishna

Hello, which racon version are you using? Could you provide the data that is causing the error?

Best regards, Robert

rvaser avatar May 13 '19 12:05 rvaser

I am using version 1.2.0. The data that I am using is very huge (5.1GB compressed). I aligned the reads using minimap. The output SAM output is then the input for racon. I am doing minimap-racon twice. In the first round, racon completed successfully. I get this error in the second round.

TSL-RamKrishna avatar May 13 '19 13:05 TSL-RamKrishna

Could you please try the second iteration with the latest racon version (1.3.3)?

rvaser avatar May 13 '19 13:05 rvaser

Here some more lines just before the error.

[racon::Polisher::initialize] loaded target sequences [racon::Polisher::initialize] loaded sequences [racon::Polisher::initialize] loaded overlaps [racon::Polisher::initialize] aligned overlap 668099/668099 [racon::Window::add_layer] error: layer begin and end positions are invalid!

TSL-RamKrishna avatar May 13 '19 13:05 TSL-RamKrishna

sure. I will try with the latest racon version and let you know. Thanks

TSL-RamKrishna avatar May 13 '19 13:05 TSL-RamKrishna

I think the latest release is 1.3.2. I could not find v1.3.3 in github releases.

TSL-RamKrishna avatar May 13 '19 14:05 TSL-RamKrishna

Versions 1.3.3 (latest commit on master, but not a release) and 1.3.2 are almost the same, the newer one has a smaller log while runnig.

Best regards, Robert

rvaser avatar May 13 '19 19:05 rvaser

We just found out that our genome assembly has a duplicated contig name. Can this duplicated naming error cause this error?

TSL-RamKrishna avatar May 14 '19 10:05 TSL-RamKrishna

Probably! Did you manage to run the newer version? Any errors there?

rvaser avatar May 14 '19 10:05 rvaser

Nope. Have not got chance to run. I just found out at there is a duplicated contig name this morning. I got new assembly without duplicated contigname. I will try with this new assembly now. Our HPC has v1.3.2 installed. I am thinking to test with v1.3.2 for now as , according to you, there is not much difference between v1.3.2 and v1.3.3, except the log filesize.

TSL-RamKrishna avatar May 14 '19 11:05 TSL-RamKrishna

Sure, go ahead.

rvaser avatar May 14 '19 11:05 rvaser

Racon ran successfully now. I ran racon-1.3.2 and with the no contig name duplication. Thanks for the help.

TSL-RamKrishna avatar May 24 '19 10:05 TSL-RamKrishna