How rakib-hasan-rahad/rna-3d-structure-guided-refinement-of-rfam-alignments works
This repository supports a research workflow that links Rfam seed sequences to experimentally observed RNA structures, aligns selected cross-species pairs with STAR3D, and evaluates correspondence disagreements using structural annotations and geometry. The current version-2 path proceeds from review and selection through staging, alignment, analysis, figures, and an interactive results browser; it also offers a minimum-stack-size supplement. The retained version-1 scripts cover inventory, preparation, comparison, interpretation, and interim results. Connections for unsampled stages follow the README’s documented workflow; source-level details are limited to the excerpts and SOURCE INDEX.
Main entry points: r4b_metrics.py Compute metrics · star3d_runner.py STAR3D runner · r2a_review_new.py Review intervals · s04_coordinates.py Review coordinates
Components 23
Selection and staging
- Review intervals
scripts/realign/r2a_review_new.py - Discover candidates
scripts/step2/s01_discover.py - Sequence evidence
scripts/step2/s03_sequence_evidence.py - Review coordinates
scripts/step2/s04_coordinates.py - Select and prepare
scripts/step2/s05_select_prepare.py
Structure alignment
- Build alignment jobs
scripts/realign/r3_jobs.py - STAR3D runner
outputs_realign/r3/returned/star3d_runner.py
Comparison and evidence
- FR3D annotation
outputs_realign/r5/fr3d/run_fr3d.py - Compare alignments
scripts/realign/r4_analysis.py - Compute metrics
scripts/realign/r4b_metrics.py - Stack-size supplement
outputs_realign/min_stack_2/recompute.py
Results and interpretation
- Analysis figures
scripts/realign/r6_figures.py - Results site data
scripts/realign/r7_results_site.py - Results browser
scripts/realign/r10_results_browser.py
Retained workflow
- Legacy comparison
scripts/step4/s41_compare.py - Motif analysis
scripts/step4/s42_motifs.py - Interim results app
scripts/step5/build_app.py - Interim data builder
scripts/step5/build_step5.py - Interpretation rules
scripts/step6/rules.py - Interaction regions
scripts/step6/s63_interactions_regions.py
Other components
- Researcher
- Rfam seeds
- RNA structures
Connections 23
- Researcher → Review intervals: runs workflow
- Rfam seeds → Review intervals: supplies seed context
scripts/realign/r2a_review_new.py - RNA structures → Review coordinates: supplies coordinates
scripts/step2/s04_coordinates.py - Discover candidates → Sequence evidence: screens candidates
- Sequence evidence → Review coordinates: supports review
- Review coordinates → Select and prepare: informs selection
scripts/step2/s05_select_prepare.py - Review intervals → Select and prepare: adds review results
scripts/realign/r2a_review_new.py - Select and prepare → Build alignment jobs: provides selected pairs
- Build alignment jobs → STAR3D runner: dispatches pairs
- STAR3D runner → Compare alignments: provides alignments
- STAR3D runner → FR3D annotation: provides run outputs
- FR3D annotation → Compare alignments: provides annotations
- Compare alignments → Compute metrics: produces comparison tables
scripts/realign/r4b_metrics.py - Compute metrics → Stack-size supplement: supports stack-size comparison
outputs_realign/min_stack_2/recompute.py - Compute metrics → Analysis figures: supplies analysis results
- Compute metrics → Results site data: supplies result data
- Results site data → Results browser: feeds browser
scripts/realign/r10_results_browser.py - Researcher → Results browser: explores results
- Legacy comparison → Motif analysis: provides comparison tables
scripts/step4/s42_motifs.py - Legacy comparison → Interim data builder: provides analysis tables
scripts/step5/build_step5.py - Motif analysis → Interim data builder: provides motif results
scripts/step5/build_step5.py - Interim data builder → Interim results app: builds interim app data
scripts/step5/build_app.py - Interpretation rules → Interaction regions: defines interpretation rules
scripts/step6/s63_interactions_regions.py