Closed JPascualAnaya closed 5 years ago
I just came across the same problem while using the latest version of the repository (0e93bbf) AND using the -j option. It works fine without -j.
Works fine also the release version v0.5 with or without -j.
Juan,
Thanks for the question and opening the issue. Here are a few comments/questions/ideas:
-v
)?$ valgrind Genrich -t EbNo3-A1_[...]
etc.).
samtools view EbNo3-A1_trimgalore_A1_vs_eb3.2_bowtie2.paired.mapped.q30.rmdup.nsorted.bam | awk '($1 == "K00114:809:HTL3FBBXX:3:1101:13646:22186")'
@dariober, not sure I follow you. There is an error with the latest commit but not the latest release? What is the error? Can you run valgrind?
John Gaspar
Hi John,
Thanks for your response.
To answer your questions, as you say, BAM>SAM did not help. gcc version:
$ gcc --version
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
There were no warnings when compiling Genrich.
And I just followed @dariober 's suggestion and now it seems to be working. So, when I cloned the git repository, compiled and run, Genrich stopped with a segmentation fault. After downloading the source code from here https://github.com/jsh58/Genrich/releases (v0.5) and then compiling, it seems to be working.
When it finishes I will compile again from the git repository and run valgrind with it. I'll post the output here and see if that helps you find what's wrong with the repository.
Juan,
I think I found and fixed the bug. This was introduced with my previous commit and so is consistent with v0.5 not having the issue, and with it occurring only when not in verbose mode. If you update the clone (git pull
) and recompile, there should not be an issue.
Sorry for the trouble. Thanks for letting me know!
John Gaspar
Hi John,
It run without an issue now. Thank you very much for your help!
Juan
Hi there, I am having a segfault problem when running Genrich on two BAM files (replicates) from an ATAC-seq. Each file is around 7G
The exact command and stderr:
Like @ShuangHe33 I've tried to debug it:
But have no idea about what it means...
I'm going to try feeding it with SAM files, but since I'm using Genrich on multiple files at the same time, I can't use directly the stdout from samtools, and need to convert BAM --> SAM, which is not ideal due to space limitations.
Any idea of the reason for the Segmentation fault?
Cheers, Juan
Originally posted by @JPascualAnaya in https://github.com/jsh58/Genrich/issues/7#issuecomment-491129343