Liang-Bo Wang (@lbwang2) header
Liang-Bo Wang (@lbwang2) profile picture

Scientist, Oncology Bioinformatics at @moderna_tx. PhD in Computational and Systems Biology from @WUSTLdbbs. Genomics 🤘.

Taipei
Joined September 2012
Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)Photo by Liang-Bo Wang (@lbwang2)
I converted a ensembldb EnsDb SQLite db to DuckDB and saw a nice speedup (4-6x) in genome-wide queries! DuckDB's filesize is smaller too (index not needed), and it can be even smaller by offloading tables to external compressed parquet files (still 3x speedup).
1
1
7
Gene-specific lookup using DuckDB is indeed slower than SQLite. This is expected because SQLite w. index is designed to retrieve specific rows fast. But since the query takes < 100ms to run, performance hit shouldn't be too bad unless we run this kind of queries in a loop.
1
2
I made a presentation at my local #bioinfo meetup about #snakemake and how to best utilize this #workflow management tool as a researcher. The slides are available at blog.liang2.tw/2022Talk-snak… details👇🏼
1
3
16
In my experience, Snakemake has been an easy-to-learn and versatile workflow management tool for many graduate students who are new to pipeline development (me included). While I put a short intro to convey its core concept, please check out its official (and full) tutorial!
1
The color scheme selection implemented by Python's PEP website is so elegant! The CSS tricks of dynamic stylesheet and var() are so cool and clean. Shout out to the authors/reviewers of github.com/python/peps/pull/…👍 peps.python.org/
1
6
Particularly, they are able to define the dark and light colors of a variable in one line using the following rules: 1. `var(initial, x)` becomes `x` 2. `var(<empty>, x) y` becomes `y` Such a clean way to specify the dark/light colors🤯
1
Not sure who might be interested, I modified an existing WUSTL thesis LaTeX template based on the fantastic memoir package at github.com/ccwang002/wustl-l…
1
3
7
While my latex template fully complies with the official school style guide, it doesn't try to reproduce the official Word template. Noticeable differences include the chapter title style and different header margins. Any suggestions are welcome :)
1
1
So happy that our paper made to the cover! This beautiful cover art is made by Jessica Johnson (instagram.com/jessicajohnson…)
This post is from an account that no longer exists. Learn more
3
I’m excited to share that our #CPTAC #proteogenomic adult glioblastoma study is out 🎉authors.elsevier.com/c/1cZZ0… What a great experience working with amazing researchers from @WUSTLmed @GenomeInstitute @PNNLab @theNCI and many others!!
1
4
16
All Unicode characters in Nd category will work: >>> int('𝟰𝟮𝟜𝟚๔๒42𑁪𑁨') 4242424242 Objects/unicodectype.c:_PyUnicode_ToDecimalDigit() github.com/python/cpython/bl…
#Python tip: The int() function is smarter than it looks: >>> int('42') 42 >>> int('४२') 42 >>> int('٤٢') 42
1
GPT-3 on Bioinformatics lol: “The great thing about bioinformatics is if you end up knowing nothing about it, you can call yourself a expert.”
1
2
I wanted to find out the Ensembl release of my data. So I wrote a script that takes a list of versioned IDs (eg ENST00000275493.5) and spit out the possible releases they share (79 to 80 in this case). Details at blog.liang2.tw/posts/2020/06…
1
1
Script at gist.github.com/ccwang002/82…, which uses Ensembl Tark APIs and requires Python 3.8 and aiohttp 3.x.
Would people be interested in a tool to map the protein coordinates between isoforms? My use case is to convert the PTM site location to the canonical UniProt isoform. But I am not sure if anyone else would need this kind of "lift over".
1
5
Reason: mass spec datasets use different peptide searching database. RefSeq/UniProt/Ensembl and their different versions over time often picks a different canonical sequence, making it difficult to combine all the reported peptides to the same annotation.
1
Verifying myself: I am liang2 on Keybase.io. 5PXoojXSMJ8wqZD6epnA-Mw0alDilNU_Ic1d / keybase.io/liang2/sigs/5PXoo…
Made an Observable notebook to find a publication using PMID or DOI, building on top of Europe/NCBI PMC APIs. observablehq.com/@ccwang002/…
Python 3.8 multiprocessing.shared_memory should help parallelize more scientific computation. I was wondering if the shared memory is language agnostic and work like Apache Arrow. docs.python.org/3.8/library/…
2
ComplexHeatmap is an amazing R package to plot heatmaps! It is straightforward to use and very customizable. It can even plot a GO game! (figures are from its vignette) jokergoo.github.io/ComplexHe…
Just found out that Ctrl + . launches the multi-container menu in Firefox. The shortcut is quite handy to launch a new container tab.
1
An interesting read: Muller, J.Z. (2013). Capitalism and Inequality. Foreign Affairs. foreignaffairs.com/articles/…
為什麼這本關於 Xerox PARC 個人電腦歷史的書沒有中文版,非常好看! goodreads.com/book/show/1101…
2
1
3
太多東西都從 Xerox PARC 出來:laser printer, Ethernet, personal computer, Smalltalk, Bravo (first WYSIWYG; ancestor of Microsoft Word), GUI, SuperPaint (one of the creaters later founded Pixar) and etc.
2
1
剛剛不小心把 Python 文件中文翻譯 docs.python.org.tw 的 server 刪掉了,冏冏。現在剛好是個機會找人交接,或者是實作 PEP-545 的好時間?有興趣的人歡迎聯絡我。 python.org/dev/peps/pep-0545…
2
7
2
Webpack you are drunk.
1
1