Transform lengthy academic papers into concise, structured 250-word abstracts.
中文简介正在准备中。当前显示原文说明。
Advanced Biopython modules for motifs, population genetics, sequence utilities, restriction analysis, clustering, and GenomeDiagram visualization; use when you need extended bioinformatics analysis beyond basic sequence I/O and alignment.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Bio.motifs (counts, consensus, simple statistics).Bio.Restriction (enzyme lookup, cut site detection).Bio.SeqUtils (codon usage and related helpers).config/task_config.json as an intermediate artifact.python scripts/<task_name>.py.encoding="utf-8" for file I/O; JSON output uses ensure_ascii=False.Required:
Optional (for reporting/plotting):
The following examples are complete runnable scripts that follow the conventions:
config/task_config.jsonpython scripts/<task_name>.pyensure_ascii=False for JSON outputconfig/task_config.json
{
"task": "motif_stats",
"sequences": ["ATGCATGCATGC", "ATGCGTGCATGC", "ATGCATGTATGC"]
}
scripts/motif_stats.py
import json
from Bio import motifs
from Bio.Seq import Seq
def main():
with open("config/task_config.json", "r", encoding="utf-8") as f:
cfg = json.load(f)
seqs = [Seq(s) for s in cfg["sequences"]]
m = motifs.create(seqs)
result = {
"alphabet": str(m.alphabet),
"length": m.length,
"counts": {k: dict(v) for k, v in m.counts.items()},
"consensus": str(m.consensus),
"degenerate_consensus": str(m.degenerate_consensus),
}
with open("outputs/motif_stats.json", "w", encoding="utf-8") as f:
json.dump(result, f, ensure_ascii=False, indent=2)
if __name__ == "__main__":
main()
Run:
python scripts/motif_stats.py
config/task_config.json
{
"task": "restriction_sites",
"sequence": "GAATTCGCGGAATTC",
"enzymes": ["EcoRI", "BamHI"]
}
scripts/restriction_sites.py
import json
from Bio.Seq import Seq
from Bio.Restriction import RestrictionBatch
def main():
with open("config/task_config.json", "r", encoding="utf-8") as f:
cfg = json.load(f)
seq = Seq(cfg["sequence"])
batch = RestrictionBatch(cfg["enzymes"])
analysis = batch.search(seq)
# Convert enzyme keys to strings for JSON serialization
result = {str(enzyme): positions for enzyme, positions in analysis.items()}
with open("outputs/restriction_sites.json", "w", encoding="utf-8") as f:
json.dump(result, f, ensure_ascii=False, indent=2)
if __name__ == "__main__":
main()
Run:
python scripts/restriction_sites.py
config/task_config.json
{
"task": "codon_usage",
"cds": "ATGGCTGCTGCTGCTTAA"
}
scripts/codon_usage.py
import json
from collections import Counter
def main():
with open("config/task_config.json", "r", encoding="utf-8") as f:
cfg = json.load(f)
cds = cfg["cds"].upper().replace(" ", "").replace("\n", "")
codons = [cds[i:i+3] for i in range(0, len(cds) - (len(cds) % 3), 3)]
counts = Counter(codons)
total = sum(counts.values()) or 1
result = {
"total_codons": total,
"codon_counts": dict(sorted(counts.items())),
"codon_frequencies": {k: v / total for k, v in sorted(counts.items())},
"note": "This example computes raw codon frequencies from the provided CDS. Validate CDS frame and stop codons for your use case."
}
with open("outputs/codon_usage.json", "w", encoding="utf-8") as f:
json.dump(result, f, ensure_ascii=False, indent=2)
if __name__ == "__main__":
main()
Run:
python scripts/codon_usage.py
Configuration-first execution
config/task_config.json to keep CLI invocation stable and reproducible.outputs/*.json.Motif statistics (Bio.motifs)
counts: per-position nucleotide countsconsensus and degenerate_consensus: derived consensus sequencesRestriction analysis (Bio.Restriction)
RestrictionBatch(enzymes).search(seq) returns cut positions per enzyme.Codon usage
Bio.Data.CodonTable as needed.I/O requirements
encoding="utf-8".json.dump(..., ensure_ascii=False) to preserve non-ASCII characters in outputs.Further reference
references/advanced.md for additional notes and module coverage (motifs/PopGen/SeqUtils/Restriction/Cluster, GenomeDiagram, CodonTable/SeqFeature/IUPACData).还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Transform lengthy academic papers into concise, structured 250-word abstracts.
中文简介正在准备中。当前显示原文说明。
Precision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
中文简介正在准备中。当前显示原文说明。
Refines long medical academic texts into SCI-style unstructured Chinese and English abstracts; use when you need to condense drafts/reports/summaries into bilingual abstracts and generate Summary_Report.md.
中文简介正在准备中。当前显示原文说明。
Generates submission-ready Elsevier/SCI Highlights from manuscript text or extracted PDF/DOCX/TXT content. Use when a user needs 3-5 concise, evidence-grounded highlight bullets for a research paper, review, meta-analysis, case report, or bioinformatics manuscript.
中文简介正在准备中。当前显示原文说明。
Generates complete FAERS pharmacovigilance study designs for multi-drug or class-level safety comparison inside one predefined SOC or AE family using active comparators, disproportionality analysis, subgroup characterization, and reviewer-facing evidence control.
中文简介正在准备中。当前显示原文说明。
Analyze data with `adme-property-predictor` using a reproducible workflow, explicit validation, and structured outputs for review-ready interpretation.
中文简介正在准备中。当前显示原文说明。