Skip to Content
云端基因组学
book

云端基因组学

by Geraldine A. Van der Auwera, Brian D. O’Connor
April 2022
Beginner to intermediate
486 pages
10h 22m
Chinese
China Electric Power Press Ltd.
Content preview from 云端基因组学
Jupyter Notebooks
中的交互式分析
373
自此,你可以用
WS_BUCKET
代指工作区数据桶。例如,你可以用
gsutil ls
列出桶
中内容:
In [22] ! gsutil ls -r {WS_BUCKET}
请注意,我们将
WS_BUCKET
变量放到大括号中,同上节种系数据变量的用法。
为数据桶设置好变量后,若要保存输出到工作区桶,只需在
sandbox
目录运行
gsutil cp
命令:
In [23] ! gsutil -m cp -r sandbox {WS_BUCKET}
In [24] ! gsutil ls {WS_BUCKET}/sandbox
上述命令从笔记本的本地存储复制整个
sandbox
目录到工作区数据桶。请记住,如
生成很多大文件,该方法不易扩展;遇到该情况,你也许应考虑将沙盒拆分为多个
子目录来管理。诚然这不是最理想方法,你必须手动同步文件到桶中;随着技术的
进一步发展,我们期望这些工具的使用体验也不断进步。至少如前所述,笔记本文
件自身是会自动保存的。
12.3
在嵌入式
IGV
浏览器窗口查看基因组数据
现在我们的笔记本已设置好,它可以运行了。我们用它尝试一种强大技巧:在笔记
本环境用
IGV
浏览器窗口查看基因组数据。前几章我们教你用过
IGV
浏览器桌面版,
当时是从
GCS
拉取数据。这次我们将尝试一点不同操作:用一个特殊
IGV
IGV.
js
,在笔记本嵌入一个
IGV
浏览器。你给学生准备教程时,若想加入数据可视化部
分,或将数据可视化放到报告中,以便跟合作方交流结果,
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Overcome a Power Deficit

How to Overcome a Power Deficit

Cyril Bouquet, Jean-Louis Barsoux
The Human Factor in AI-Based Decision-Making

The Human Factor in AI-Based Decision-Making

Philip Meissner, Christoph Keding

Publisher Resources

ISBN: 9787519864422