Loading...
Loading...
Compare original and translation side by side
pysamggetblat-integrationmsa-advancedetetoolkitpubmed-databasegene-databasepysamggetblat-integrationmsa-advancedetetoolkitpubmed-databasegene-database| Task | Tool | Reference |
|---|---|---|
| Parse FASTA/GenBank/FASTQ | | |
| Convert file formats | | |
| Sequence operations | | |
| Large FASTA random access | | |
| GC%, Tm, molecular weight | | |
| 任务 | 工具 | 参考文档 |
|---|---|---|
| 解析FASTA/GenBank/FASTQ | | |
| 文件格式转换 | | |
| 序列操作 | | |
| 大型FASTA文件随机访问 | | |
| GC含量、Tm值、分子量计算 | | |
uv pip install biopython pysamuv pip install biopython pysamfrom Bio import SeqIO
for record in SeqIO.parse("sequences.fasta", "fasta"):
print(f"{record.id}: {len(record.seq)} bp")from Bio import SeqIO
for record in SeqIO.parse("sequences.fasta", "fasta"):
print(f"{record.id}: {len(record.seq)} bp")from Bio import SeqIO
SeqIO.convert("input.gb", "genbank", "output.fasta", "fasta")from Bio import SeqIO
SeqIO.convert("input.gb", "genbank", "output.fasta", "fasta")import pysamimport pysamundefinedundefinedfrom Bio.Seq import Seq
seq = Seq("ATGCGATCGATCG")
print(seq.complement())
print(seq.reverse_complement())
print(seq.translate())from Bio.Seq import Seq
seq = Seq("ATGCGATCGATCG")
print(seq.complement())
print(seq.reverse_complement())
print(seq.translate())references/biopython_seqio.mdreferences/biopython_seqio.mdBio.SeqBio.SeqIOSeqRecordBio.SeqBio.SeqIOSeqRecordreferences/faidx.mdreferences/faidx.mdpysam.faidx()pysam.FastaFilepysam.faidx()pysam.FastaFilereferences/utilities.mdreferences/utilities.mdgc_fractionmolecular_weightMeltingTempgc_fractionmolecular_weightMeltingTempreferences/formats.mdreferences/formats.mdfetch("chr1", 999, 2000)fetch("chr1:1000-2000")fetch("chr1", 999, 2000)fetch("chr1:1000-2000").faiSeqIO.parse()SeqIO.parse()list().faiSeqIO.parse()SeqIO.parse()list()