Has anyone attempted to convert BWA, bowtie, bfast, etc to work on GPGPU? If not, why?
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
Just recompiling the c code to one of these GPGPU doesn't provide a whole lot of extra performance. There's just not a whole lot of floating point calculations done in alignment, it's mostly searching through ACTGs for alignment. In BWA, the "core" alignment routine is bwt_match_gap(), there are no doubles or floats declared [ in bwtgap.c ]. Even the inlined int_log2() function is integer based. So there's likely few floating point operations to optimize via a GPU. The real optimizations in short read alignments is figuring out how to keep the cache full, or perhaps precomputing alignments for common sequences and just looking up the answer or getting real close and calling an superoptimized S-W routine.
Comment
-
Thanks Nils. I thought there was a standard such as OpenGL or CUDA that would be cross platform/GPU cards so that such code may be portable across GPUs.
@Richard, does this mean than increasing RAM has more realized improvements than optimized/parallelized code?
Comment
-
Certain approaches might well benefit from more RAM. This visualisation is stunning: http://i.imgur.com/X1Hi1.gif. It shows the latencies for L1,L2,Ram and disks. Note the accompanying discussion at hacker news: http://news.ycombinator.com/item?id=702713
Any strategy that can keep code and data in the L1 and L2 caches, or data off
of disk and in RAM for repeated access is going to benefit. Certain problems are going to benefit from this approach.
GPGPUs are good at thinks like: "multiply these 4 numbers by those 4 numbers and put the 4 results here". If your data is a bunch of little vectors, and you're going to crunch on them a lot then moving the data to a GPGPU to do the work and then moving it back to where the CPU can get it, then it might be a good solution.
Comment
-
Originally posted by dukzilla View PostHas anyone attempted to convert BWA, bowtie, bfast, etc to work on GPGPU? If not, why?- Strange programming model: GPUs really really like threads - you need thousands, preferably more. Most bioinfomatics tools are single-threaded or at best marginally multi-threaded even though using a 2 digit number of threads isn't all that hard. To apply GPU friendly numbers of threads, you need to redesign the core algorithms to fit - a much more difficult task. And GPUs hate branches - which most bioinformatics tools use a lot of - which means more re-designing.
- Per-card optimization: Even though the code will run cross-card, you still need to optimize for each GPU family, and for best performance, even at the level of family members. And if you're not that bothered about performance, why are you doing this in the first place.
- Limited on-chip & on-card RAM: Most bioinformatics tools like random access to a large amount of memory - GPUs have very limited memory on board (e.g. ~64KB shared between a group of threads), and access to their external (on-card) RAM is slow. Plus the on-card RAM may not even be big enough for e.g. a genome index, which means transfers from main RAM, even slower.
At the end of the day, it's not a port, it's a complete re-write - and there isn't so much cudos in that.
Comment
-
Considering the volume of data we are generating now, getting that data into the GPU and out once the processing is done is going to be a challenge.
Someone with more knowledge about GPU programming can correct me but I suppose the interface (PCI-E) bus bandwidth may prove limiting unless you are using some special hardware.
Comment
-
Benchmarks for BarraCUDA show its performances are similar to bwa when MT is enabled, I would like to test it on our HW, just to see if the comparison is fair.
SOAP3 looks great although it has huge requirements in terms of memory and hardware.
d
Comment
-
CUSHAW is said to be >10X faster than bwa (1Fermi-GPU vs. 1CPU) and marginally more accurate, but the downside is it does not do gapped alignment. CUSHAW is optimized for Fermi. I do not know if CUSHAW works on Tesla at all. This is basically Nils' point: to get the best performance, you have to optimize the algorithm for a particular architecture.
Comment
-
you can go through this paper if you want to understand the amount of code convolution required in order to get performance out of GPU.
I just don't think this approach is going to scale well when the problems to be solved get more and more complicated. I will bet on more RAM and a newer breed of CPUs that copy many features from GPUs and support hundreds of cores without requiring acrobatics in the code.
Comment
-
Originally posted by jpjp View PostI just don't think this approach is going to scale well when the problems to be solved get more and more complicated.
Originally posted by jpjp View PostI will bet on more RAM and a newer breed of CPUs that copy many features from GPUs and support hundreds of cores without requiring acrobatics in the code.
But it's true to some extent, as GPUs get CPU-like flexibility (and CPU get more cores) the differences will narrow, and good performance will be easier to get (but not easy by any extent - most bioinformatics tools are still single threaded).
Comment
Latest Articles
Collapse
-
by seqadmin
The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...-
Channel: Articles
Yesterday, 07:01 AM -
-
by seqadmin
Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...-
Channel: Articles
04-04-2024, 04:25 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 04-11-2024, 12:08 PM
|
0 responses
39 views
0 likes
|
Last Post
by seqadmin
04-11-2024, 12:08 PM
|
||
Started by seqadmin, 04-10-2024, 10:19 PM
|
0 responses
41 views
0 likes
|
Last Post
by seqadmin
04-10-2024, 10:19 PM
|
||
Started by seqadmin, 04-10-2024, 09:21 AM
|
0 responses
35 views
0 likes
|
Last Post
by seqadmin
04-10-2024, 09:21 AM
|
||
Started by seqadmin, 04-04-2024, 09:00 AM
|
0 responses
55 views
0 likes
|
Last Post
by seqadmin
04-04-2024, 09:00 AM
|
Comment