phylogenetics
यह क्या करती है
यह टूल फाइलोजेनेटिक ट्री बनाता और विश्लेषित करता है, जो जीन या प्रोटीन के लिए एक तरह के परिवार वृक्ष (family tree) जैसे होते हैं। यह समझने में मदद करता है कि अलग-अलग sequences आपस में विकासवादी (evolutionary) रूप से कैसे जुड़े हैं।
कब इस्तेमाल करें
- ✓अलग-अलग जीवों के DNA या प्रोटीन sequences की तुलना करने के लिए।
- ✓किसी जीन समूह के विकासवादी इतिहास को विज़ुअलाइज़ करने के लिए।
- ✓यह समझने के लिए कि अलग-अलग वायरस या बैक्टीरिया एक-दूसरे से कैसे जुड़े हैं।
Skill का लिंक
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/phylogenetics/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इन DNA sequences का एक फाइलोजेनेटिक ट्री बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल दूसरे प्रोग्रामों की मदद से sequences को align करता है, और फिर ट्री बनाता है। ट्री के कनेक्शन कितने भरोसेमंद हैं, यह भी जाँचता है ताकि नतीजे विश्वसनीय रहें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Phylogenetics
When to use
Use this workflow for an alignment of homologous loci or proteins, a gene tree, branch support, and an interpretable tree figure. Multi-locus partitioning, concordance factors, ancestral states and dating are covered in IQ-TREE reference.
A gene tree does not establish a species tree, transmission direction, or horizontal transfer by itself. Sampling dates alone do not justify a molecular clock.
Versions and installation
Reviewed against current official documentation on 2026-10-01. The executed
smoke workflow used MAFFT 7.526, IQ-TREE 3.1.4, FastTree 2.2.0 and
ETE3 3.1.3 on Python 3.12. ETE3 remains deliberate for this helper; ETE4 is a
separate API and is not a drop-in replacement. ETE3 imports cgi, removed in
Python 3.13. The native executables are not Python packages.
Illustrative installation commands; verify executable versions after installation:
conda create -n phylo -c conda-forge -c bioconda mafft iqtree fasttree trimal
conda activate phylo
uv venv --python 3.12 .venv-phylo
uv pip install --python .venv-phylo/bin/python ete3==3.1.3 numpy six
# Optional rendering backend; it can require a working Qt platform plugin.
uv pip install --python .venv-phylo/bin/python PyQt5
The helper defaults to iqtree3 and FastTree; use --iqtree-bin iqtree2 for an
existing IQ-TREE 2 installation, or --fasttree-bin fasttree if that is the
installed name. Version 2 compatibility is source-checked, not runtime-tested
in this refresh. All analyses are local; this skill invokes no HTTP API or remote
inference endpoint.
Workflow
1. Establish the biological input
- Select homologs with appropriate taxon coverage; investigate paralogs, contamination and recombination before assuming one history describes all sites.
- Use unique, whitespace-free FASTA IDs and keep a separate sample metadata table. The helper rejects empty/all-missing records and Newick punctuation in IDs.
- Specify
--type ntor--type aa. The helper sends-st DNAor-st AAto IQ-TREE and selects nucleotide/protein FastTree flags explicitly. - Coding DNA needs codon-aware alignment if using a codon model. Ordinary MAFFT nucleotide alignment does not preserve reading frames automatically.
- Keep the original sequences, accession versions, filters, alignment and exact commands. Inspect alignment lengths, gaps, composition and taxon identities.
2. Align and inspect
These MAFFT commands were exercised on small synthetic FASTA data:
mafft --auto --thread 1 --inputorder sequences.fasta > aligned.fasta
# L-INS-i: locally alignable homologs, typically small datasets.
mafft --localpair --maxiterate 1000 --thread 1 --inputorder sequences.fasta > linsi.fasta
# E-INS-i: homologs with large internal gaps.
mafft --genafpair --maxiterate 1000 --thread 1 --inputorder sequences.fasta > einsi.fasta
# FFT-NS-i (two refinement cycles), then FFT-NS-2 (progressive).
mafft --retree 2 --maxiterate 2 --thread 1 --inputorder sequences.fasta > fftnsi.fasta
mafft --retree 2 --maxiterate 0 --thread 1 --inputorder sequences.fasta > fftns.fasta
auto delegates the choice to MAFFT. Sequence count alone is not an accuracy
criterion. Single-thread runs simplify reproducibility; MAFFT iterative refinement
with multiple threads can produce different results between runs.
Trimming is optional and must be justified by alignment quality, not assumed to improve every tree. The following trimAl command is documentation-checked and illustrative; trimAl was not installed for this review:
trimal -in aligned.fasta -out trimmed.fasta -automated1 -fasta
Record retained columns/taxa and compare sensitivity to trimming. A failed trim must stop the trimming step; do not silently copy the untrimmed input under a “trimmed” filename. The bundled helper does not trim automatically.
3. Infer a tree
Use the maintained helper instead of recreating subprocess wrappers. From the
skill directory, with the executable names on PATH:
python scripts/phylogenetic_analysis.py sequences.fasta --type nt --threads 1 \
--bootstrap 1000 --seed 42 --output-dir results --no-visualization
# Use a reviewed alignment (including any explicit trimming) without realigning.
python scripts/phylogenetic_analysis.py aligned.fasta --aligned --type nt \
--threads 1 --output-dir reviewed --no-visualization
…
अक्सर पूछे जाने वाले सवाल
फाइलोजेनेटिक ट्री क्या है?
यह एक आरेख (diagram) है जो अलग-अलग जीवों या जीनों के बीच विकासवादी संबंध दिखाता है, जो उनकी आनुवंशिक समानताओं पर आधारित होता है।
होमोलॉगस sequences क्या होते हैं?
ये DNA या प्रोटीन sequences होते हैं जिनकी विकासवादी शुरुआत एक ही होती है।
क्या मैं इससे बीमारी के फैलाव को ट्रैक कर सकता हूँ?
फाइलोजेनेटिक ट्री से संबंध समझने में मदद मिल सकती है, लेकिन अकेले यह बताता नहीं कि संक्रमण किस दिशा में फैला या आनुवंशिक सामग्री कहाँ से कहाँ गई।
जानकारी
लेखक का मूल विवरण
Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree approximate inference. Uses ETE3 for tree summaries and visualization. Applies to homologous nucleotide or protein sequences, microbial gene trees, protein families, and cautiously interpreted dated phylogenies.
लोकप्रियता
- GitHub स्टार
- 51k
- रैंकिंग में स्थान
- #3526
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
13c-metabolic-flux
51kकार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।
adaptyv
51kAdaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।
aeon
51kटाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।
alphagenome
51kजेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।