Closed bigmonty12 closed 5 years ago
Austin,
Without knowing the details, I would suggest running valgrind
, as mentioned in response to issue #16. That's a good way to track down a segfault. Another option is gdb
.
John Gaspar
Hi John,
After trying to run Genrich with lldb, this is the output.
I honestly have no idea what any of this means and am unfortunately not well-versed in debugging. Could you help me understand this?
Thank you, Austin
I do not understand it either; I am not familiar with lldb
.
You can try posting the first few lines of your SAM/BAM file generated from these commands:
samtools view -h <BAM> | head -n5
od -tx4 <BAM> | head -n5
Also, please read this.
Thank you for the article to read. I will try to keep that all in mind.
I used lldb because I couldn't get gdb or valgrind to work. There seems to be an issue with them working on the newest version of macOS Mojave so I tried a recommendation of lldb.
"samtools view -h
"od -tx4
Hi John,
I was able to figure out the issue. Turns out there was a problem with the Drosophila index that I used to align with bowtie2. After switching to a different index, the issue resolved itself and Genrich was able to run without a hitch.
Thank you for your help! Austin
Hello,
I'm a beginning bioinformatician and have really appreciated all the work you've done for the community! I have tried getting Genrich to work but always get an error that says "Segmentation fault: 11" no matter the parameters. I've tried deleting and recloning. Every time I try to compile the program, I do get a bunch of the same warnings but am completely unfamiliar with C and do not know how to proceed with them (warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64_t {aka long long int}' [-Wformat=] ). Perhaps this is wherein the issue lies.
Any help and advice that you have in regards to this issue would be greatly appreciated!
Thank you, Austin