数据与复现生物信息与基因组学FreedomIntelligence/OpenClaw-Medical-Skills数据与复现
BI

bio-format-conversion

维护者 FreedomIntelligence · 最近更新 2026年4月1日

Convert between sequence file formats (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO. Use when changing file formats or preparing data for different tools.

OpenClawNanoClaw分析处理复现实验bio-format-conversion🧬 bioinformatics (gptomics bio-* suite)bioinformatics — sequencing & read qcconvert

原始来源

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-format-conversion

维护者
FreedomIntelligence
许可
MIT
最近更新
2026年4月1日

技能摘要

来自 SKILL.md 的关键信息

2 min

核心说明

  • Python:SeqIO.convert() ,用于 direct conversion,或 SeqIO.parse() + SeqIO.write() when modifications are needed (BioPython)。
  • CLI:seqkit seq (SeqKit) ,用于 FASTA/FASTQ;samtools view ,用于 SAM/BAM/CRAM。
  • Convert this file to different format" → Read records in one format,optionally add missing annotations,、 write in target format. Python:SeqIO.convert() ,用于 direct conversion,或 SeqIO.parse() + SeqIO.write() when modifications are needed (BioPython) CLI:seqkit seq (SeqKit) ,用于 FASTA/FASTQ;samtools view ,用于 SAM/BAM/CRAM。
  • Convert sequence files between formats ,使用 Biopython's Bio.SeqIO module。

原始文档

SKILL.md 摘录

SeqIO.convert() - Direct Conversion

Convert between formats in a single call. Most efficient method.

Parameters:

  • in_file - Input filename or handle
  • in_format - Input format string
  • out_file - Output filename or handle
  • out_format - Output format string

Returns: Number of records converted

Common Conversions

FromToNotes
GenBankFASTALoses annotations, keeps sequence
FASTAGenBankNeed to add molecule_type
FASTQFASTALoses quality scores
FASTAFASTQNeed to add quality scores
GenBankEMBLUsually works directly
StockholmFASTAAlignment to sequences

FASTA to GenBank (requires molecule_type)

Goal: Convert FASTA to GenBank format, which requires molecule_type annotation.

Approach: Stream records through a generator that injects the missing annotation, then write.

Reference (BioPython 1.83+):

适用场景

  • 适合在changing file formats 或 preparing data ,用于 different tools时使用。

不适用场景

  • Do not rely on this catalog entry alone ,用于 installation 或 maintenance details。

上游相关技能

  • read-sequences - Parse sequences for custom conversion logic
  • write-sequences - Write converted sequences with modifications
  • batch-processing - Convert multiple files at once
  • compressed-files - Handle compressed input/output during conversion
  • alignment-files - For SAM/BAM/CRAM conversion, use samtools view

相关技能

相关技能

返回目录
AG
数据与复现生物信息与基因组学

agent-browser

Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extr…

OpenClawNanoClaw分析处理
FreedomIntelligence/OpenClaw-Medical-Skills查看
AL
数据与复现生物信息与基因组学

alpha-vantage

Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ t…

Claude Code分析处理
K-Dense-AI/claude-scientific-skills查看
BI
数据与复现生物信息与基因组学

bio-alignment-filtering

Filter alignments by flag, quality, region, or paired status.

OpenClawNanoClaw分析处理
FreedomIntelligence/OpenClaw-Medical-Skills查看
BI
数据与复现生物信息与基因组学

bio-alignment-indexing

Index BAM/CRAM files with samtools index for random access.

OpenClawNanoClaw分析处理
FreedomIntelligence/OpenClaw-Medical-Skills查看