-
Notifications
You must be signed in to change notification settings - Fork 2
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
Panic due to out of range error when finding the substring #43
Comments
Here is a toy example of my error, which may be relates, and also how I fixed it. Not very elegant, but might be useful to you @ashokpatowary while @olliecheng is looking into the problem. Data: example.fastq
Running:
But if I add some buffer sequence at the start, I don't get the error:
|
I covered this case, and will pad the missing bit of UMI with
But apparently @ashokpatowary still ran into an edge case after 0.5 million reads in their data. |
@nadiadavidson Thanks for the suggestion. Considering that there might be truncation of UMI or 2nd barcode in the ONT data; I ran the same command on the data generated from PacBio for the same library. PacBio data was very clean and barcode and UMIs can be identified even without edit distance. However same error was encountered in that data also. |
Hi @ashokpatowary , there should be a core dump file in the folder where you ran the flexiplex command if you have set |
@ChangqingW please find the file attached; created when -u was "0" |
Ops, I did not realize the cpp library versions need to match for gdb to work, apparently we are running on different ones. Could you do |
Hi @ashokpatowary, just as a precaution, are you indeed sure that you are running on the version of Flexiplex listed in @ChangqingW's branch? If you're compiling on your own machine, after changing branch you may need to If that's not the culprit, are you possibly able to share the binary you ran? (No need to do the debugging mentioned above, if you can provide a matching binary.) None of the recent binaries released on our GitHub or in @ChangqingW 's fork match up, according to gdb. Of course, if you could send a dataset containing the error, that would be the best way for us to resolve this issue! @ChangqingW - the libc versions need to match up, but luckily, the WEHI HPC is still on libc2.17 as well. I ran into an issue acquiring libc debug symbols without root access, so instead, I used the
|
Moving issue here so it’s easier to find and document.
Original question by @ashokpatowary:
I have another follow up question. If i try running flexiplex with -u ???????? -b ?????????? and -k with barcode file (barcode sequences 10bp) it throws the following error; but if I reduce the "-b" wild character length to 7 "?" with barcode files having 10bp barcodes; it works. Any suggestion whats going on
Originally posted by @ashokpatowary in #41 (comment)
The text was updated successfully, but these errors were encountered: