←
Christoph Bock Lab @ CeMM & MedUni Vienna381 posts
Christoph Bock Lab @ CeMM & MedUni Vienna avatar

Christoph Bock Lab @ CeMM & MedUni Vienna

@BockLab

Technology-driven biomedical research at CeMM Research Center for Molecular Medicine & MedUni Vienna #cancer #immunology #bioinformatics #AI #singlecell #CRISPR

◷ Joined August 2019▧ 172 Photos and videos
Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·3 Aug 2020

We study cancer and immunology, combining experimental biology with high-throughput technology, bioinformatic methods and machine learning. Our work is interdisciplinary and collaborative. We are equally committed to biological discovery and to advancing medicine.

Post attachment
Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

Finally, “fix-qdf temp1.pdf temp2.pdf” (from the qpdf tool) fixes an issue with the file format (replacing “DURC” by “Plants” adds a few characters, which breaks the embedded binary data), and finally re-compressed the PDF (“qpdf temp2.pdf nr-reporting-summary-fixed.pdf”).

Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

But PDFs are binary files, which makes the correction a little finnicky. I used qpdf to decompress the PDF (“qpdf --qdf nr-reporting-summary.pdf temp1.pdf”), manually fixed the JavaScript code with a Hex editor (I used HxD) because a normal text editor corrupts the embedded font.

Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

Technical details: The fix itself is easy – you need to replace "DURC" (which identifies the "Dual use research of concern" section) by "Plants" four times in the following piece of JavaScript code:

Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

Solution: Nature’s Reporting Summary PDF uses embedded JavaScript to toggle the sections when the user clicks the check boxes, and there is a bug in the source code for the “Plants” check box: it refers again to the previous section ("Dual use research of concern").

Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

Or rather, it toggles a different block ("Dual use research of concern"). This is not corrected in the published paper, and you can see the empty “Plants” section in many many papers.

Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

To reproduce the problem, open this PDF in Adobe Acrobat, go to page 4, and click the various "n/a" check boxes on the top left under "Materials & experimental systems". When you do this for "Antibodies" etc., the sections disappear below. But for "Plants", it just doesn't work.

Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Sep 9

Debugging @Nature: Nature’s Reporting Summary PDF has a technical problem: You can’t disable the “Plants” section. Lots of papers have this empty section – not only in Nature, but also in other NPG journals. Turns out this is a bug in the journal's PDF template that can be fixed.

Post attachment
Christoph Bock Lab @ CeMM & MedUni Vienna avatar
Christoph Bock Lab @ CeMM & MedUni Vienna@BockLab·Mar 8

CellWhisperer can now run on your laptop. Talk to your cells! And check out our paper: nature.com/articles/s41587-0…

Want to analyze your single-cell data, but don't like to deal with code? 🧬 Good news: CellWhisperer now runs on your MacBook! 💻 Get your single-cell AI assistant running in under 5 minutes.⏱️ Made with ❤️ @BockLab

0:29