惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
月光博客
月光博客
AI
AI
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
CXSECURITY Database RSS Feed - CXSecurity.com
WordPress大学
WordPress大学
GbyAI
GbyAI
L
Lohrmann on Cybersecurity
O
OpenAI News
Schneier on Security
Schneier on Security
P
Palo Alto Networks Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
W
WeLiveSecurity
L
LINUX DO - 最新话题
人人都是产品经理
人人都是产品经理
S
Security Affairs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
Arctic Wolf
Recorded Future
Recorded Future
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
G
GRAHAM CLULEY
N
Netflix TechBlog - Medium
TaoSecurity Blog
TaoSecurity Blog
C
Check Point Blog
Scott Helme
Scott Helme
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Vercel News
Vercel News
The Hacker News
The Hacker News
Y
Y Combinator Blog
Latest news
Latest news
SecWiki News
SecWiki News
Hugging Face - Blog
Hugging Face - Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
Webroot Blog
Webroot Blog
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Cisco Blogs
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
宝玉的分享
宝玉的分享
L
LINUX DO - 热门话题

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
在 Cloud Run 上部署Gradio 應用
JH5 · 2026-06-13 · via DEV Community

JH5

M4教程遷移到 RTX 3090 實測計畫 + Google vs GATK 對比

📋 需要在 RTX 3090 上重新測試的教程

1. Scanpy 單細胞分析 ✅ 已完成

  • 原檔案: scanpy_tutorial_zh.md, blog_post_zh.md
  • 狀態: ✅ 已更新為 RTX 3090 實測資料
  • 成果:
    • 60秒完成 PBMC 3k 分析
    • 識別 9 個細胞 cluster
    • 添加了 GPU 加速建議

2. PrimateAI-3D 教程 🔄 待更新

  • 原檔案: sota_primateai_tutorial_zh.md
  • 目前: Mac M4 + bcftools
  • 計畫: RTX 3090 + Docker 實測
  • 測試內容:
    • VCF 註釋流程
    • dbNSFP 整合
    • 效能對比

3. Parabricks WES 教程 🔄 部分更新

  • 原檔案: parabricks_wes_tutorial_zh.md
  • 目前: 包含 Mac M4 和 GPU 版本
  • 計畫: 補充完整的 RTX 3090 效能資料

🆚 Google Life Sciences vs GATK 對比測試

Google 工具棧概覽

Google Genomics / Cloud Life Sciences API

  • 定位: 雲端基因體分析平台
  • 核心工具:
    1. Variant Transforms - VCF 到 BigQuery
    2. DeepVariant Runner - AI 變異 calling
    3. Dataflow Pipelines - 平行化處理
    4. BigQuery Genomics - SQL 查詢基因體資料

與 GATK 的關係

  • Google 工具主要是平台/基礎設施
  • GATK 是演算法/分析方法
  • 互補關係:可在 Google Cloud 上執行 GATK

實測對比方案

方案 1: 變異 Calling 對比 ⭐⭐⭐⭐⭐

# GATK HaplotypeCaller (傳統)
gatk HaplotypeCaller \
  -R hg38.fa \
  -I input.bam \
  -O gatk_output.vcf

# Google DeepVariant (AI)
docker run google/deepvariant:latest \
  --model_type=WGS \
  --ref=hg38.fa \
  --reads=input.bam \
  --output_vcf=deepvariant_output.vcf

對比維度:

  • ✅ 準確度 (與真值集比對)
  • ✅ 速度 (RTX 3090 GPU 加速)
  • ✅ CPU vs GPU 資源消耗
  • ✅ 偽陽性/偽陰性率

方案 2: 大規模資料處理對比 ⭐⭐⭐

# Google BigQuery Genomics
SELECT
  reference_name, start_position, 
  COUNT(*) as variant_count
FROM `bigquery-public-data.human_genome_variants.1000_genomes_phase_3_variants`
WHERE reference_name = 'chr17'
GROUP BY reference_name, start_position

# vs GATK + Spark 處理 VCF

對比維度:

  • 查詢速度 (SQL vs 傳統工具)
  • 擴充性 (百萬級變異)
  • 易用性

方案 3: Workflow 對比 ⭐⭐⭐⭐

維度 Google Cloud GATK Best Practices
Pipeline 工具 Cloud Life Sciences API Cromwell/WDL
儲存 Cloud Storage 本地/NFS
計算 Dataflow (彈性) 固定叢集
成本 按用量付費 固定硬體成本
適用場景 臨時大量計算 持續穩定分析

🧪 RTX 3090 上的實測計畫

測試 1: DeepVariant vs GATK 效能對比 (2-3天)

準備:

# 1. 下載測試資料
wget https://storage.googleapis.com/deepvariant/case-study-testdata/HG001_NA12878.bam

# 2. GATK 環境
docker pull broadinstitute/gatk:latest

# 3. DeepVariant 環境
docker pull google/deepvariant:latest

測試步驟:

# Step 1: GATK HaplotypeCaller (CPU)
time gatk HaplotypeCaller \
  -R hg38.fa \
  -I HG001.bam \
  -O gatk_output.vcf \
  --native-pair-hmm-threads 32

# Step 2: DeepVariant (GPU)
time docker run --gpus all google/deepvariant:latest \
  --model_type=WGS \
  --ref=hg38.fa \
  --reads=HG001.bam \
  --output_vcf=deepvariant_output.vcf \
  --num_shards=32

# Step 3: 對比結果
bcftools isec gatk_output.vcf deepvariant_output.vcf -p comparison/

預期輸出:

  • 效能對比表
  • 一致性統計
  • GPU vs CPU 資源使用

測試 2: Variant Transforms (1天)

將 VCF 匯入 BigQuery 風格的分析:

# 使用 Google 的 Variant Transforms
docker run gcr.io/gcp-variant-transforms/gcp-variant-transforms \
  --input_pattern "gs://mybucket/*.vcf" \
  --output_table project:dataset.variants

# 然後可以用 SQL 查詢


🤗 Hugging Face 上的基因體學模型

發現的重點模型

1. ProkBERT 系列 ⭐⭐⭐⭐⭐

  • 作者: neuralbioinfo
  • 用途:
    • 啟動子預測 (Promoter prediction)
    • 噬菌體識別 (Phage detection)
    • 原核生物基因體分類
  • 模型:
    • prokbert-mini-long-promoter (26.6M 參數)
    • prokbert-mini-c-promoter (25M 參數)
    • prokbert-mini-phage
  • 特點:
    • 基於 BERT 架構
    • 專門為原核生物 DNA 序列設計
    • 可微調

實測範例:

from transformers import AutoTokenizer, AutoModelForSequenceClassification

# 載入模型
model = AutoModelForSequenceClassification.from_pretrained(
    "neuralbioinfo/prokbert-mini-long-promoter"
)
tokenizer = AutoTokenizer.from_pretrained(
    "neuralbioinfo/prokbert-mini-long-promoter"
)

# 預測啟動子
sequence = "ATGCGATCGATCG..."  # DNA序列
inputs = tokenizer(sequence, return_tensors="pt")
outputs = model(**inputs)
prediction = outputs.logits.argmax(-1)

2. DNABERT 系列

  • 連結: huggingface.co/zhihan1996/DNABERT-2-117M
  • 用途:
    • DNA 序列分類
    • 啟動子識別
    • 轉錄因子結合位點預測
  • 特點:
    • 預訓練在人類基因體
    • 支援 6-mer tokenization

3. Nucleotide Transformer

  • 連結: huggingface.co/InstaDeepAI/nucleotide-transformer-v2-500m-multi-species
  • 用途:
    • 多物種基因體 embedding
    • 變異效應預測
  • 創新:
    • 500M 參數
    • 支援 3000+ 物種

4. GeneGPT (類 GPT 架構)

  • 用途: 生成式基因序列設計
  • 應用:
    • 合成生物學
    • 蛋白質工程

5. SpliceBERT

  • 用途: RNA 剪接預測
  • 特點: 專注於外顯子-內含子邊界

🎯 Hugging Face Spaces 實測建議

Space 1: DNA 序列分類器 ⭐⭐⭐⭐⭐

建立一個 Interactive Space:

import gradio as gr
from transformers import pipeline

# 載入模型
classifier = pipeline("text-classification", 
                     model="neuralbioinfo/prokbert-mini-long-promoter")

def predict_promoter(dna_sequence):
    result = classifier(dna_sequence)
    return result[0]['label'], result[0]['score']

# Gradio 介面
interface = gr.Interface(
    fn=predict_promoter,
    inputs=gr.Textbox(label="輸入DNA序列", placeholder="ATGC..."),
    outputs=[
        gr.Textbox(label="預測結果"),
        gr.Number(label="置信度")
    ],
    title="啟動子預測工具",
    description="使用 ProkBERT 預測原核生物啟動子"
)

interface.launch()

Space 2: 變異致病性預測 ⭐⭐⭐⭐

整合 AlphaMissense + DNABERT:

def predict_pathogenicity(gene, position, ref, alt):
    # 獲取上下文序列
    context = get_sequence(gene, position-50, position+50)
    # 用 DNABERT 預測
    wildtype_score = model(context)
    # 替換變異
    mutant_context = context.replace(ref, alt)
    mutant_score = model(mutant_context)
    # 計算影響
    delta = abs(wildtype_score - mutant_score)
    return "Pathogenic" if delta > threshold else "Benign"

Space 3: VCF 智能解釋器 ⭐⭐⭐⭐⭐

使用 LLM 生成報告:

def explain_variant(vcf_line, model="BioGPT"):
    # 解析 VCF
    chrom, pos, ref, alt, gene, consequence = parse_vcf(vcf_line)

    # 生成提示
    prompt = f"""
    變異資訊:
    - 染色體: {chrom}
    - 位置: {pos}
    - 基因: {gene}
    - 改變: {ref}>{alt}
    - 後果: {consequence}

    請用中文解釋這個變異的臨床意義:
    """

    # 呼叫 LLM
    explanation = llm.generate(prompt)
    return explanation


📊 完整測試矩陣

工具/模型 平台 測試狀態 優先級 預計時間
Scanpy RTX 3090 ✅ 完成 - -
DeepVariant vs GATK RTX 3090 🔄 待測 ⭐⭐⭐⭐⭐ 2-3天
ProkBERT 啟動子預測 HF Space 🔄 待測 ⭐⭐⭐⭐ 1天
VCF 智能解釋器 RTX 3090 + LLM 🔄 待測 ⭐⭐⭐⭐⭐ 2天
Variant Transforms Google Cloud 🔄 可選 ⭐⭐⭐ 1天
PrimateAI-3D RTX 3090 🔄 待測 ⭐⭐⭐⭐ 1天

🚀 建議的執行順序

Week 1: 核心對比測試

  1. Day 1-2: DeepVariant vs GATK 效能測試
  2. Day 3: 更新 PrimateAI 教程 (RTX 3090)
  3. Day 4-5: VCF 智能解釋器開發

Week 2: LLM 應用

  1. Day 6-7: ProkBERT 啟動子預測 Space
  2. Day 8: Google Variant Transforms 演示
  3. Day 9-10: 撰寫對比部落格

📝 預期輸出

部落格文章

  1. "DeepVariant vs GATK: AI 變異 Calling 實戰對比"

    • 效能資料
    • 準確度對比
    • 使用建議
  2. "用 GPT 寫變異報告: LLM 在臨床基因體學的應用"

    • 實例演示
    • Prompt 工程
    • 侷限性討論
  3. "Google Cloud vs 本地叢集: 基因體分析平台選擇指南"

    • 成本分析
    • 效能對比
    • 場景建議

實測資料

  • RTX 3090 效能 benchmark
  • GPU vs CPU 資源使用
  • 準確度驗證報告
  • 實際執行截圖

更新日期: 2026-01-29

下一步: 開始 DeepVariant vs GATK 對比測試