Category Archives: Articles

从短读长到混合组装:Unicycler 核心算法与工作流程全解析

Unicycler 在组装短 Illumina reads 时,核心使用的是 De Bruijn graph(德布鲁因图) 算法,并且它是通过直接调用著名的短读长组装软件 SPAdes (St. Petersburg genome assembler) 来实现这一过程的。

具体来说,Unicycler 处理短 reads 的机制如下:

1. 仅使用短 reads (Short-read only mode)

如果你只提供 Illumina 短 reads,Unicycler 本质上会作为一个 SPAdes 的“包装器 (wrapper)”运行。它会:

  • 使用 多 k-mer (multiple k-mer) 的 De Bruijn graph 算法来构建组装图。
  • 执行错误纠正 (error correction)。
  • 解析图中的复杂结构(如由测序错误或重复序列引起的 bubbles 和 tips)。
  • 输出高质量的 contigs 和 scaffolds。

2. 混合组装模式 (Hybrid mode: Illumina + Nanopore/PacBio)

Unicycler 的真正强大之处在于混合组装。在这种模式下,短 reads 的 De Bruijn graph 组装是整个流程的“基石”:

  • 第一步 (Short-read assembly):首先调用 SPAdes 组装高精度的 Illumina reads,生成一组高准确度但可能被重复序列打断的初始 contigs。
  • 第二步 (Long-read assembly):使用长 reads (如 Oxford Nanopore 或 PacBio) 构建 Overlap-Layout-Consensus (OLC) 图(通常借助 miniasm)。
  • 第三步 (Bridging):Unicycler 使用其专有的桥接算法,将长 reads 作为“桥梁”,把 SPAdes 生成的短 read contigs 连接起来,从而跨越重复区域,形成完整的环状基因组 (circularized genomes)。
  • 第四步 (Polishing):最后,再次利用高精度的 Illumina 短 reads(通常通过 PilonRacon + Pilon)对混合组装的结果进行抛光,纠正长 reads 带来的随机插入/缺失 (indel) 错误。

总结

对于“Illumina 短 reads 的组装算法”这一问题,最准确的答案是:De Bruijn graph 算法(通过内置调用 SPAdes 实现)。这种设计使得 Unicycler 既能保留 SPAdes 在短读长组装中的极高碱基准确率,又能利用长读长解决基因组中的复杂重复区域。

(参考: Wick, R. R., Judd, L. M., Gorrie, C. L., & Holt, K. E. (2017). Unicycler: Resolving bacterial genome assemblies from short and long sequencing reads. PLOS Computational Biology, 13(6), e1005595.)

site:.edu “interviewing guide” filetype:pdf

Here is a curated list of high-quality interviewing guides in PDF format sourced directly from official higher education (.edu) domains.

General & Business Career Guides

  • 2026 Interviewing Guide – NYU Wagner: An up-to-date handbook that details self-assessment tactics, the PAR method (Project/Action/Result), crafting a perfect one-minute elevator pitch, and strategies for leveraging AI tools in modern interview prep.
  • Interviewing Guide – The Ohio State University: A robust manual from the Fisher College of Business broken down by chronological stages (Before, During, and After). It includes excellent categorization of behavioral questions covering conflict resolution, time management, and leadership. [1]
  • Interviewing Guide – Loyola University Chicago: A structured “Five-Step Interview Prep” guide focused on aligning personal strengths with company culture, analyzing local industry trends, and strategic candidate positioning.
  • Interviewing Guide – Seattle University: A breakdown from the Albers School of Business mapping out deep structural breakdowns for standard prompts like “Tell me about yourself” and “Why our company?”.

Specialized & Legal Guides

Quick-Reference Handouts

If you are looking for something specific, please let me know if you prefer guides tailored to a particular industry (e.g., tech, medicine, academia) or if you want guides focused on a specific format like case interviews or panel interviews.

[1] https://files.fisher.osu.edu

全球顶尖大学职业发展中心(Career Centers)公开发布的免费、高质量面试指南 PDF 链接

这些资料是国外大学生准备研究生面试、求职面试的“标准教材”。针对申请 UE Germany (德国欧洲应用科技大学) MSc Prevention & Therapy Management 的情况,最合适的资源如下,并附上了如何将这些资料应用到他的面试中的建议。

一、 顶尖大学免费面试指南 PDF(直接点击或复制下载)

1. 哈佛大学 (Harvard OCS) – 综合面试指南

  • 链接: Harvard Interviewing Guide (PDF)
  • 核心价值: 这份指南非常经典,详细讲解了如何回答 “Tell me about yourself”(自我介绍)和 “Why this program?”(动机问题)。
  • 对 Meng 的用处: 面试官 Steven 强调“不要背稿”。这份 PDF 会教 Meng 如何提取自己经历中的 “核心关键词(Bullet points)”,而不是写逐字稿,帮助他在面试中做到自然交流(Free speaking)。

2. 麻省理工学院 (MIT CAPD) – 行为面试与 STAR 法则

  • 链接: MIT Interviewing Guide (PDF)
  • 核心价值: 详细讲解了 STAR 法则 (Situation, Task, Action, Result),这是回答所有“经历类”问题的黄金标准。
  • 对 Meng 的用处: 当面试官问“你遇到过什么困难/你最大的优势是什么”时,Meng 可以用 STAR 法则在脑海中快速构建一个真实的医疗/健康/商业相关的小故事,避免空洞的套话。

3. 耶鲁大学 (Yale OCS) – 动机与研究生面试准备

  • 链接: Yale Graduate School Interview Guide (PDF) (注:若链接因学校网站更新失效,请在 Google 搜索 filetype:pdf Yale graduate school interview guide)
  • 核心价值: 专门针对研究生录取面试(Admissions Interviews),重点讲解如何展示学术热情、职业规划以及与项目的匹配度。
  • 对 Meng 的用处: 帮助他梳理“为什么选择预防与治疗管理(Prevention & Therapy Management)”以及“未来的职业目标”,这正是德国高校最看重的部分。

二、 针对“医疗健康/公共卫生”领域的精准 PDF 搜索

由于 XXX 申请的是医疗健康交叉领域,他需要一些行业相关的词汇和视角。您可以通过以下高级搜索指令在 Google 上直接获取美国顶尖大学公共卫生学院的免费面试 PDF:

  1. 搜索公共卫生/健康管理面试指南:
    • 复制并在 Google 搜索: filetype:pdf "public health" OR "healthcare management" interview guide career center
    • 推荐关注: 密歇根大学 (University of Michigan) 或 约翰霍普金斯大学 (Johns Hopkins) 的公共卫生学院面试指南。
  2. 搜索欧洲/德国硕士动机面试指南:
    • 复制并在 Google 搜索: filetype:pdf "motivation interview" master admission europe
    • 核心价值: 欧洲大学(尤其是德国)的面试通常被称为 Motivation Interview,他们不看重你的英语是否像母语者一样完美,而是看重你的逻辑、动机是否真实、对行业的理解是否深刻

三、 💡 给 XXX 的“PDF 提炼与实战”建议

不要去通读这些几十页的 PDF,而是要直接用这些 PDF 中的核心框架来做以下准备:

1. 放弃“逐字稿”,改用“矩阵准备法”

从哈佛的 PDF 中学习,不要写完整的句子。让 XXX 拿一张白纸,画一个矩阵:

  • 纵轴: 他的 2-3 段核心经历(如某次项目、实习、或他对某个医疗现象的观察)。
  • 横轴: 这些经历能体现的特质(如:数据分析能力、对预防医疗的理解、跨学科思维)。
  • 面试时: 听到问题,从矩阵中调取“关键词”,用他自己的英语现场造句。即使有语法错误,只要逻辑清晰、眼神自信,在德国面试官眼里就是“Genuine(真实)”的。

2. 准备 3 个“行业洞察” (Industry Insights)

德国应用科学大学(Fachhochschule)极其看重实践与行业接轨。让 XXX 从医疗管理类的 PDF 或新闻中,准备 3 个他要在面试中主动抛出的“专业词汇/趋势”:

  • 例如 1: Shift from Treatment to Prevention (从治疗向预防的医疗模式转变,以及这如何降低医疗系统成本)。
  • 例如 2: Digital Health / Wearables (可穿戴设备在慢性病预防管理中的数据应用)。
  • 例如 3: Aging Society in Europe/Germany (欧洲老龄化社会对 Therapy Management 的巨大需求)。
  • 话术: “I was reading about [趋势], and I realized that’s exactly why I want to study this Master’s, because…” (这比背诵“我爱这个学校”要高级得多)。

3. 准备“救场话术” (Survival Phrases)

从面试指南中学习如何优雅地处理“卡壳”。让 XXX 背熟这三句话,能极大缓解他的紧张:

  • 没听清时: “That’s a very insightful question. Could you please rephrase it slightly so I can make sure I address your core point?” (这展现了沟通的成熟度,而不是单纯的 “Pardon?”)
  • 需要思考时: “That’s a great point regarding healthcare management. Let me take a few seconds to structure my thoughts based on my previous experience…” (争取 5-10 秒的思考时间)。

最后提醒: YYY 上次提到 “The goal is not to be perfect, but to be genuine.” 要把这些 PDF 当作“梳理思路”的工具,而不是“背诵模板”的教材。

Format the partition as exFAT

Format the partition as exFAT

If your goal is to wipe this drive clean and format it as exFAT (so you can easily plug your Samsung T5 into Windows, Mac, and Linux without any lost+found or read-only issues), you can do so.

⚠️ WARNING: This will permanently erase ALL data currently on the SSD T5. ⚠️

If you have backed up your data and are sure you want to wipe it and format it as exFAT:

  1. Unmount it (if it is currently mounted):
    sudo umount /dev/sdh1
  2. Install exFAT tools (if you haven’t already):
    sudo apt install exfatprogs
  3. Format the partition as exFAT (and name it “Smarty_T5”):
    sudo mkfs.exfat -n "Smarty_T5" /dev/sdh1

After running that last command, the drive will be completely empty, freshly formatted, and natively readable/writable by Windows, Mac, and Linux!

    jhuang@WS-2290C:/mnt$ sudo mkfs.exfat -n "Smarty_T5" /dev/sdh1
    exfatprogs version : 1.1.3
    Creating exFAT filesystem(/dev/sdh1, cluster size=131072)

    Writing volume boot record: done
    Writing backup volume boot record: done
    Fat table creation: done
    Allocation bitmap creation: done
    Upcase table creation: done
    Writing root directory entry: done
    Synchronizing...

    exFAT format complete!

Mount and umount the formated exFAT

Step 1: Install the exFAT FUSE driver

Open your terminal and run:

sudo apt update
sudo apt install exfat-fuse

(Note: If it says the package cannot be found, run sudo add-apt-repository universe first to enable the community repositories, then try the apt install command again).

Step 2: Reconnect the drive

Once the installation is complete, unplug the SSD and plug it back in. Your file manager should now automatically recognize and mount “Smarty_T5” without any errors.


Alternative: Manual Mount (GUI is always failing, using console commands for mounting drive instead!!!!)

If the graphical file manager is still being stubborn (Unable to access “Smarty_T5” Error mounting /dev/sdh1 at /media/jhuang/Smarty_T5: unknown filesystem type ‘exfat’), you can bypass it and mount the drive manually via the terminal. This always works:

  1. Create a mount point (a folder to act as the doorway to the drive):

    sudo mkdir -p /mnt/Smarty_T5
  2. Mount the drive:

    sudo mount -t exfat-fuse /dev/sdh1 /mnt/Smarty_T5
    #or sudo mount.exfat-fuse /dev/sdh1 /mnt/Smarty_T5
    sudo umount /dev/sdh1

You can now access all your files by navigating to /mnt/Smarty_T5 in your file manager or terminal. (When you are done and want to safely unplug it, just run sudo umount /mnt/Smarty_T5 before pulling the cable out).

⚠️ What if it gives a “Dirty Bit” error?

If the commands above succeed in finding the filesystem, but then immediately fail with an error saying “Volume was not properly unmounted”, “dirty bit”, or “needs recovery”, Linux is blocking the mount to protect your data (because the drive wasn’t safely ejected from Windows/Mac).

To fix the dirty bit and mount it:

sudo fsck.exfat -a /dev/sdh1

Once the repair finishes, run your mount command again:

sudo mount.exfat-fuse /dev/sdh1 /mnt/Smarty_T5

For the vast majority of external drives (like your Samsung T5 SSD), exFAT is the better choice.

However, the “best” format ultimately depends on what devices you plan to plug the drive into. Here is the breakdown of why you would choose one over the other:

1. exFAT (The Cross-Platform Champion) 🏆

exFAT was designed specifically for flash drives and external SSDs/HDDs.

  • Pros:
    • Universal Compatibility: It works natively (Read & Write) on Windows, macOS, Linux, ChromeOS, and most modern gaming consoles (PS4/PS5, Xbox) and Smart TVs.
    • No File Size Limits: Unlike the older FAT32 format (which caps files at 4GB), exFAT can handle massive files (like 4K movies or large backup archives) without breaking a sweat.
    • Lightweight: It doesn’t have the overhead of complex permissions or journaling, which makes it slightly faster and reduces unnecessary write-cycles on SSDs.
  • Cons:
    • No Journaling: This is the biggest drawback. “Journaling” keeps a log of file changes before they happen, protecting against data corruption if the drive loses power. Because exFAT lacks this, you must always use “Safely Remove” or “Eject” before unplugging it, or you risk corrupting your files.
    • No File Permissions: You cannot set security permissions on folders (e.g., making a folder “Read-Only” for certain users), but this rarely matters for portable external drives.

2. NTFS (The Windows Workhorse) 🪟

NTFS is the default file system for modern Windows internal drives.

  • Pros:
    • Journaling: It is highly reliable and resilient against data corruption from sudden unplugs or power outages.
    • Advanced Features: Supports file permissions, encryption, and file compression.
  • Cons:
    • The Mac Problem: macOS can read NTFS drives, but it cannot write to them natively. If you plug an NTFS drive into a Mac, you can copy files off it, but you cannot put files onto it without buying third-party software.
    • Limited Device Support: Many Smart TVs, media players, and older consoles will not recognize NTFS.
    • Linux: Modern Linux can read and write to NTFS perfectly fine, but it is still a Microsoft proprietary format, making exFAT the preferred “neutral” standard for Linux users sharing drives.

Summary Comparison

Feature exFAT NTFS
Windows Read & Write Read & Write
macOS Read & Write Read Only (Natively)
Linux Read & Write Read & Write
Consoles / Smart TVs Excellent Support Hit or Miss
Journaling (Data Safety) No (Must Eject Safely) Yes (Safer from sudden unplugs)
Max File Size Virtually Unlimited Virtually Unlimited

The Final Verdict

  • Format as exFAT if: You want to plug this drive into a Windows PC, a Mac, a Linux machine, or a TV/Console without ever worrying about compatibility. (Highly recommended for your Samsung T5 SSD).
  • Format as NTFS if: You use strictly Windows computers, you are using the drive as a dedicated Windows Backup drive, or you need advanced file security and permissions.

⚠️ The Golden Rule of exFAT: If you choose exFAT, make it a habit to always click “Safely Remove Hardware” on Windows or “Eject” on Mac/Linux before physically pulling the USB cable out. This forces the OS to finish writing any cached data and prevents the “Dirty Bit” error we discussed earlier!