-
Notifications
You must be signed in to change notification settings - Fork 14
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
gerbil "make" is not working #5
Comments
Compiling Gerbil from scratch may take a long time (up to half an hour). Please be patient. ;-) |
Sir, Thanks for your reply. But it takes more than half an hour. I followed all the steps here https://github.com/uni-halle/gerbil to install gerbil. But it is taking more than half an hour. It is hanging at the following line for long time |
That's strange. Could you please create a fresh
and paste the output? Please also paste the output of the command |
Hello Sir,
|
Hello Saranpons3,
It looks as the size of your memory was not recognized correctly. You can also set the memory manually.
-e 6GB
The minimum memory requirement is 512 MB.
|
Hello merbert, |
first byte: k / 4 = 28 / 4 = 7 --> next 7 bytes represent the k-mer |
I actually thought that we have also provided a small c++ example for conversion to the FASTA format. We will check this again and upload if necessary. |
Okay, we added a tool that converts Gerbil's output to FASTA format.
Afterwards, you can convert the Gerbil output to human-readable FASTA format by running
|
Thanks developers for your answers. I would like to know that how much time it takes to convert gerbil output to fasta format? |
Well, this depends mainly on the number of k-mer in the output file, but it should be relatively fast. |
Hello Gerbil Developers,
|
The file size in our paper is given in GB (1 GB = 1000^3 B). In your file system, the size appears to be in GiB (1 GiB = 1024^3 B). Unfortunately, it is rarely specified correctly, even in file systems. Could you please give us the output of the console? ==>total: 632436468 Unfortunately, the program requires a lot of RAM and compile time to support many k's.Therefore we have temporary limited the k per default to 128+8 .(Computers with 8GB or less were in trouble with k in {8,...,520}). There is no make-option yet, but you can manually set it back to 512. |
Hello Merbert,
The following is the command I used for converting output to fasta format Please clarify me why there is a difference in number of distinct kmers. Thanks. |
Hello Gerbil developers, |
Can you please run gerbil with -i option for debug output? I will take care of it as soon as possible. In general, there should be no problems with input data of more than 1 TB, but we have not yet extensively studied such data (If I remember correctly, up to about 800 GB). |
Dear Merbert, |
Dear Merbert, I got the following error message when I fixed Kmer value=1000 for the data set rel3-nanopore-wgs-288418386-FAB39088.fastq.gz from https://github.com/nanopore-wgs-consortium/NA12878 |
Hello saranpons3,
Well, if you get your input data from a sequencer machine, you have also read erroneous bases. Every faulty base generates k faulty k-mers. A k-mer produced in this way is rarely present more than once or twice. Usually such k-mers are ignored.
Set option -l 1 for all k-mers (The number describes the minimal occurrence of a k-mer in the output)
Not native, but with several lines of code it would be. Is there a meaningful application for this? Large k leads to an incredible high amount of faulty k-mers and it would be pretty hard to distinguish between the faulty and the true k-mers, even with high quality 3rd generation sequencing reads. |
Hello Developers of Gerbil,
I'm trying to install Gerbil in my desktop computer which has got Ubuntu 16.04, i7 processor and with GeForce GTX TITAN Black/PCIe/SSE2 GPU. But "make" command hangs forever with the following console messages
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h: In instantiation of ‘void gerbil::KMer<K, B, 8u, C>::setInv(const byte* const&) [with unsigned int K = 480u; unsigned int B = 121u; unsigned int C = 16u; gerbil::byte = unsigned char]’:
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h:167:4: required from ‘static void gerbil::KMer<K, B, 8u, C>::set(const byte* const&, gerbil::KMer&, gerbil::KMer&) [with unsigned int K = 480u; unsigned int B = 121u; unsigned int C = 16u; gerbil::byte = unsigned char]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:355:21: required from ‘void gerbil::KmerHasher::processThreadSplit(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 480u; bool NORM = true; uint8_t = unsigned char]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:107:38: required from ‘gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)::<lambda(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)> [with unsigned int K = 480u; uint8_t = unsigned char]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:102:10: required from ‘struct gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 480u]::<lambda(const uint8_t&, class gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle<480u> >, class gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle<480u> >)>’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:99:34: required from ‘void gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 480u]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:162:22: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 480u]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 480u]::<lambda()>’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:119:19: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 480u]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:535:6: required from here
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h:149:23: warning: left shift count >= width of type [-Wshift-count-overflow]
data[c]<<=_c_offset;
^
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h:152:13: warning: left shift count >= width of type [-Wshift-count-overflow]
data[0] <<= _c_offset;
^
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h: In instantiation of ‘void gerbil::KMer<K, B, 8u, C>::setInv(const byte* const&) [with unsigned int K = 512u; unsigned int B = 129u; unsigned int C = 17u; gerbil::byte = unsigned char]’:
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h:167:4: required from ‘static void gerbil::KMer<K, B, 8u, C>::set(const byte* const&, gerbil::KMer&, gerbil::KMer&) [with unsigned int K = 512u; unsigned int B = 129u; unsigned int C = 17u; gerbil::byte = unsigned char]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:355:21: required from ‘void gerbil::KmerHasher::processThreadSplit(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 512u; bool NORM = true; uint8_t = unsigned char]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:107:38: required from ‘gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)::<lambda(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)> [with unsigned int K = 512u; uint8_t = unsigned char]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:102:10: required from ‘struct gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 512u]::<lambda(const uint8_t&, class gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle<512u> >, class gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle<512u> >)>’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:99:34: required from ‘void gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 512u]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:162:22: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 512u]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 512u]::<lambda()>’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:119:19: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 512u]’
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:535:6: required from here
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h:149:23: warning: left shift count >= width of type [-Wshift-count-overflow]
data[c]<<=_c_offset;
^
/home/saravanan/gerbil/src/gerbil/../../include/gerbil/KMer.h:152:13: warning: left shift count >= width of type [-Wshift-count-overflow]
data[0] <<= _c_offset;
The text was updated successfully, but these errors were encountered: