siRNAforge Logo

🚀 Getting Started

  • Installation
    • Recommended: pip/uv
    • Development Setup
    • Docker (Full Bioinformatics Stack)
    • Execution modes and index preparation
    • Prebuilt screening indices
    • Verify Installation
  • Getting Started & Quick Reference
    • 1. Install
    • 2. Run Your First Workflow
    • 3. Customize Inputs & References
    • 4. Inspect Results
    • 5. Understand the Scores
    • 6. Next Steps

📖 User Guide

  • CLI Reference
    • Help & Version
      • Main Help
      • Version
    • workflow
      • Help
        • ZFN Notes
        • Input Sources & Transcriptome References
        • Run Policy: Run Modes, Filter Actions and Where a Default Comes From
    • search
      • Help
    • design
      • Help
      • Example: Design from Sample Data
        • Output Preview
    • zfn
      • Help
        • Notes
    • validate
      • Help
      • Example: Validate Sample Data
    • config
    • sequences
      • Help
    • cache
      • Help
    • benchmark
      • Help
      • prepare
      • design
  • Usage Examples
    • Advanced Workflow Presets
      • Publication-Quality Screen
      • Custom FASTA + Transcriptome Override
    • Gene Search & Design Automations
      • ZFN Constraint Composition
      • Curated Transcript Panel
    • Batch Processing with QC Summaries
    • Design-Only with Chemical Modifications
    • miRNA-Biogenesis Mode
    • Nextflow Off-Target Pipeline Hand-Off
    • Docker-Friendly Pattern
    • See Also
  • Workflows
    • Complete Workflow
      • Output Structure
      • Common Options
    • Step-by-Step Workflow
    • Batch Processing
    • ZFN Workflow
    • Variant Targeting (documented runs)
    • Docker Workflow
    • Nextflow Pipeline
      • Off-target analysis flow (mRNA + miRNA seed)
    • Developer Validation Notes
  • The HTML report
    • Evidence states and unresolved views
    • miRNA reference and screening evidence
    • Report build diagnostics
    • The unit is the guide sequence
    • Five gate verdicts, and four guide statuses – not the same thing
    • Moving the thresholds
      • Whose threshold produced the verdict you are reading
      • A number box refuses a non-number, visibly
      • A gate the run could not evaluate stays unevaluable
      • The evaluator is generic
      • Seventeen sliders, ranked by the two that decided the run
    • Liability, and the species it is counted in
    • Reader filters, which are not gates
    • Preset views
    • Registering with Quilt
    • The URL fragment
    • Exporting a selection
    • The candidate map re-colours with the reader
    • The page as a document, and the index as a control
    • Size, and the one figure
    • What is verified, and what is only reviewed
  • Public benchmark catalog and regeneration guide
    • Catalog
    • Download public sources
    • Rebuild review and synthetic fixtures
    • Rebuild native design and references
      • Orthology and workflow
    • Historical scoring findings
      • Recompute analysis and figures
    • Disposable files
  • Benchmark artifacts
    • oligogym/ is a synthetic-flank benchmark
    • Which panels are present
      • What the citations can and cannot show
      • Shmushkovich’s 356 rows are recorded and refused, not designed
      • What the tests are evidence about
      • What benchmark prepare reads, and the one thing it still drops
    • Importing native mapping evidence
      • Generating projections for four species
    • Your own table: the user_supplied_* ids
    • The artifact
      • Nothing measured is dropped, padded, trimmed or relabelled
    • benchmark prepare
      • The prepared FASTA is the compatibility guarantee
    • benchmark design
      • One run, two verdict sets
      • Per-run GC widening, with the default policy untouched
      • The polynucleotide-run requirement stays active
      • candidates_all.csv is a superset, on purpose
    • What the vendored OligoGym panels actually measure
    • Reproducibility
    • What this surface does not do
  • ZFN Module Guide
    • Current implementation status (PR #61: dev → master)
      • Completed
      • Not implemented in this PR branch
    • What the ZFN module does
    • CLI usage
      • Required inputs for sirnaforge zfn
      • ZFN command
      • Common ZFN options
      • Search-space references
      • Backend choice
    • Python API quickstart
    • API map for ZFN users
    • Related documentation
  • Gene Search Functionality
    • TL;DR
    • Features
    • Quick Start
      • Command Line Usage
      • Python API Usage
        • Synchronous API
        • Asynchronous API
    • Supported Databases
      • Ensembl ✅ (Fully Implemented)
      • RefSeq
      • GENCODE
    • Data Models
    • Example Workflows
      • 1. Design siRNAs from Gene Search
      • 2. Compare Databases
    • Error Handling
    • Configuration
    • See Also
  • Transcript annotation providers
    • Obtain a pinned release
    • Query structural annotations directly
    • Use GENCODE for gene search and design
    • Select workflow structural enrichment
    • Python API
  • Pinned local miRNA references
    • Availability and archive policy
  • Variant resolution and allele-aware design
  • GAA allele-aware design workflow
    • Prepare pinned local inputs
    • Deterministic synthetic software demo
    • GAA acceptance status
  • Target intent resolution
  • Transcript seed-site discovery
  • Scoring Overview
    • Quick Reference
    • Two scores, three named experimental weight vectors
      • A/U content at guide positions 1-5
      • Computed and reported, but not scored
      • A term that cannot be computed yields no score
      • What top_candidates excludes
      • Eligibility depends on the run mode
      • selection_state: what the run was willing to claim
      • Exit codes
      • Per-term contribution columns
      • The design-time off-target proxy is a diagnostic only
    • Asymmetry Score
    • GC Content
    • Melting Temperature
    • Minimum Free Energy (MFE)
    • Filtering Recommendations
      • Standard (most applications)
      • Stringent (publication-quality)
      • Relaxed (difficult targets)
    • Output Columns
      • The per-gate verdict columns
    • References
  • ZFN Off-Target Ranking
    • Policy
    • API
  • CCR5 ZFN Benchmark (PROGNOS 2014 Extract)
    • Included Fixtures
    • S10 Coverage (Visible Rows)
    • S11 Coverage (Homology Ranking)
    • Annotation Model Fixture
    • Notes and Limits
  • Thermodynamic Metrics Interpretation Guide
    • Quick Reference Table
    • Analyzing Your Results
      • Step 1: Load and Examine Data
      • Step 2: Identify High-Quality Candidates
      • Step 3: Troubleshoot Poor Performance
        • Low GC Content Issues
        • Poor Asymmetry Scores
        • Overly Stable Duplexes
    • Application-Specific Guidelines
      • For High-Efficiency Applications
      • For Broad Target Coverage
      • For Sensitive Cell Types
    • Experimental Validation Tips
      • Testing Multiple Candidates
      • Metric Correlation Analysis
      • Iterative Optimization
    • Common Troubleshooting
      • No High-Quality Candidates
      • All Candidates Have High Off-targets
      • System-Specific Optimization
    • Advanced Analysis
      • Composite Score Interpretation
      • Custom Scoring Functions
  • Tutorials
    • Python API Tutorial
      • Learning Objectives
      • Prerequisites
      • Getting Started
        • Import Core Components
        • Basic API Usage
      • Gene Search API
        • Synchronous Gene Search
        • Asynchronous Gene Search
      • Advanced API Usage
        • Custom Scoring
      • Configuration and Customization
        • Using Configuration Models
        • Environment-Based Configuration
      • Testing Your Code
        • Unit Testing API Usage
      • Best Practices
        • 1. Resource Management
        • 2. Progress Monitoring
        • 3. Memory-Efficient Processing
      • Next Steps
      • Key API Modules
    • Pipeline Integration Tutorial
      • When to Use the Pipeline
      • Prerequisites
      • Step 1 – Prepare Candidates
      • Step 2 – Configure References
      • Step 3 – Run Off-Target Analysis (embedded Nextflow)
      • Running Nextflow Directly (advanced)
        • Docker + local profile (no Docker-in-Docker)
      • Step 4 – Inspect Outputs
      • Troubleshooting
      • Additional Resources
    • Modular Override Guide
      • Design Philosophy
      • Default Behavior
        • Without Any Overrides
      • Surgical Overrides
        • Override miRNA Species Only
        • Override Transcriptome Reference
        • Multiple Explicit References
        • Override BWA Indices Directly
      • Advanced Use Cases
        • Custom miRNA Database (Not Recommended)
        • Design-Only Mode
        • Genomic DNA Off-Target
      • Override Hierarchy
        • Example: Mixed Override
      • Cache Management
        • View Cache Status
        • Clear Stale Data
      • Common Workflows
        • 1. Human-Only Analysis (Fast)
        • 2. Multi-Species Comparative
        • 3. Custom Transcriptome + Standard miRNA
        • 4. Pre-Indexed Transcriptomes (Production)
      • Troubleshooting
        • “No transcriptome data for species X”
        • “Species not recognized” or “Invalid species code”
        • “BWA index not found”
        • Custom FASTA not detected
      • Implementation Notes
        • Current Limitations
        • Future Enhancements
      • Species Normalization
        • Supported Input Formats
        • Why Normalization Matters
        • Registry Lookup
      • API Usage
      • Summary
    • Custom Scoring Tutorial
      • Understanding Thermodynamic Asymmetry Scoring
        • What is Thermodynamic Asymmetry?
        • The Science Behind Asymmetry Scoring
        • Research Foundation
        • Implementation in siRNAforge
        • Scoring Components
        • Comprehensive Thermodynamic Metrics in siRNAforge
        • Interpreting Asymmetry Scores
        • Integrated Scoring Guidelines
        • Context-Dependent Optimization
      • Custom Scoring Framework
        • Understanding the Scoring System
        • Implementing Custom Scorers
        • Integrating Machine Learning Models
      • Validation and Performance
        • Validating Custom Scores
        • Performance Optimization
      • Advanced Topics
        • Research Integration
        • Future Directions
    • Chemical Modification Patterns Reference
      • Overview
      • Built-In Modification Patterns
        • Standard 2’-O-Methyl (Recommended)
        • Minimal Terminal (Cost-Optimized)
        • Maximal Stability (Therapeutic-Grade)
      • FDA-Approved Example: Patisiran (Onpattro)
        • Guide Strand (Patisiran)
        • Passenger Strand (Patisiran)
        • Clinical Success
      • Modification Types Reference
        • 2’-O-Methyl (2OMe)
        • Phosphorothioate (PS)
        • 2’-Fluoro (2F)
        • Locked Nucleic Acid (LNA)
        • 2’-O-Methoxyethyl (MOE)
      • Custom Pattern Design
        • Design Principles
        • Pattern Template
        • Position Selection Strategies
      • Application-Specific Recommendations
        • In Vitro Screening (96-well, 384-well)
        • In Vitro Validation Studies
        • In Vivo Proof-of-Concept
        • Therapeutic Development
      • Synthesis and Ordering
        • Synthesis Vendors
        • Cost Estimates (2025)
        • Ordering Checklist
        • Timeline Expectations
      • Best Practices
        • 1. Design Before You Modify
        • 2. Test Incrementally
        • 3. Document Everything
        • 4. Match Pattern to Application
        • 5. Consider Delivery Method
        • 6. Archive Modification Files
      • Integration with siRNAforge
        • Command-Line Usage
        • Python API
        • Annotate Existing FASTA
      • Troubleshooting
        • Low Efficacy After Modification
        • High Cost Synthesis
        • Inconsistent Results
      • References
        • Key Publications
        • Regulatory Guidance
        • Patents
      • Contributing Patterns
    • Tutorial Overview

📚 Reference

  • Python API Usage
    • Basic Usage
    • Gene Search
      • Async Search
    • Complete Workflow
    • Chemical Modifications
    • File I/O
    • Error Handling
    • See Also
  • API Reference
    • Configuration
      • Reference Policy
        • UNRESOLVED_SPECIES
        • ReferenceChoice
        • ReferenceForm
        • ReferenceKind
        • ReferenceKindError
        • ReferenceRejection
        • ReferenceRequest
        • ReferenceSelection
        • ReferencePolicyResolver
        • ReferenceState
        • ScreeningReference
        • ScreeningReferenceSet
        • SpeciesAuthority
        • WorkflowInputSpec
        • build_screening_requests()
        • kind_of_bundled_source()
        • parse_index_entries()
        • render_reference_selection_label()
        • resolve_reference_species()
        • screening_kind_for_design_mode()
        • split_declared_species()
    • Command Line Interface
      • patched_init()
      • TranscriptLike
        • TranscriptLike.transcript_type
        • TranscriptLike.is_canonical
        • TranscriptLike.__init__()
      • filter_transcripts()
      • extract_canonical_transcripts()
      • search()
      • workflow()
      • offtarget()
      • zfn()
      • design()
      • validate()
      • version()
      • annotate()
      • config()
      • cache()
      • benchmark_prepare()
      • benchmark_design()
      • SequencesShowError
      • sequences_show()
      • sequences_annotate()
      • internal_zfn_make_shards()
      • internal_zfn_build_search_index()
      • internal_zfn_search_shard()
      • internal_zfn_search_full()
      • internal_zfn_aggregate_shards()
      • report()
    • Core Modules
      • Design Engine
        • record_gate_outcome()
        • SiRNADesigner
        • classify_pos1_pairing()
        • supplementary_score()
        • au_content_5p_score()
        • biogenesis_features()
        • MiRNADesigner
      • Thermodynamics Analysis
        • TargetSiteAccessibility
        • TargetAccessibilityProfile
        • ThermodynamicCalculator
      • Off-Target Prediction
        • BwaAnalyzer
        • OffTargetAnalysisManager
        • MiRNASeedBackend
        • create_temp_fasta()
        • build_bwa_index()
        • parse_fasta_file()
        • validate_index_files()
        • mirna_seed_hit_identity()
        • normalize_mirna_seed_hit()
        • run_bwa_alignment_analysis()
        • aggregate_offtarget_results()
        • scan_mirna_seed_matches()
        • run_mirna_seed_analysis()
        • aggregate_mirna_results()
      • ZFN Design
        • emit_zfn_experimental_warning()
        • reset_zfn_experimental_warning()
        • ZFNDesigner
      • ZFN Search
        • build_zfn_search_index()
        • resolve_target_contigs()
        • build_zfn_shard_specs()
        • ExhaustiveZFNOffTargetSearcher
      • ZFN Ranking
        • rank_sites()
      • ZFN Annotation
        • GTFZFNAnnotationProvider
      • ZFN Interfaces
        • ZFNOffTargetSearcher
        • ZFNAnnotationProvider
      • ZFN Nextflow Bridge
        • ZFNShardRow
        • make_zfn_shard_manifest()
        • run_zfn_shard_search()
        • aggregate_zfn_shard_results()
      • ZFN Benchmark Data
        • CCR5S10VisibleRow
        • CCR5S11HomologyRow
        • MatchType
        • load_ccr5_s10_visible_rows()
        • load_ccr5_s11_homology_rows()
        • parse_hg19_coordinate()
        • parse_match_type()
    • Data Models
      • SiRNA Models
        • SelectionState
        • FilterCriteria
        • OffTargetFilterCriteria
        • WeightVector
        • DesignWeights
        • PostScreenSiRNAWeights
        • PostScreenMiRNAWeights
        • ScoringWeights
        • TargetAccessibilityConfig
        • DesignMode
        • MiRNADesignConfig
        • DesignParameters
        • SequenceType
        • SiRNACandidate
        • ranking_score()
        • ranking_tiebreak_key()
        • ranking_order_key()
        • unique_guide_representatives()
        • build_candidate_row()
        • DesignResult
      • Chemical Modifications
        • ConfirmationStatus
        • SourceType
        • Provenance
        • ChemicalModification
        • StrandRole
        • StrandMetadata
        • SequenceRecord
      • Off-Target Models
        • AlignmentStrand
        • AnalysisMode
        • MiRNADatabase
        • BaseAlignmentHit
        • OffTargetHit
        • MiRNAHit
        • BaseSummary
        • AnalysisSummary
        • MiRNASummary
        • BaseAggregatedSummary
        • AggregatedOffTargetSummary
        • AggregatedMiRNASummary
      • ZFN Models
        • Strand
        • DimerMode
        • ZFNAlgorithm
        • MatchOrientation
        • IUPACMode
        • ZFNSearchBackend
        • ZFNHalfSiteConstraints
        • ZFNSpacerConstraints
        • ZFNOffTargetFilterCriteria
        • ZFNScoringWeights
        • ZFNMutationType
        • ZFNSubfingerMutationConstraint
        • ZFNDefaultSubfingerMutationConstraint
        • ZFNOverallMutationConstraint
        • ZFNMutationConstraints
        • ZFNShardingConfig
        • ZFNDesignParameters
        • ZFNSearchContract
        • GenomicAnnotationConfig
        • ZFNOffTargetSite
        • ZFNCandidate
        • ZFNDesignResult
      • Transcript Annotation Models
        • Interval
        • TranscriptAnnotation
        • TranscriptAnnotationBundle
      • Variant Models
        • VariantMode
        • VariantSource
        • ClinVarSignificance
        • EnsemblMapping
        • EnsemblPopulationFrequency
        • EnsemblVariationResponse
        • ClinVarVariationResponse
        • VariantRecord
        • VariantQueryType
        • VariantQuery
      • Validation Schemas
        • SchemaConfig
        • SiRNACandidateSchema
        • ORFValidationSchema
        • OffTargetHitsSchema
        • MiRNAAlignmentSchema
        • GenomeAlignmentSchema
        • ORTHOLOG_EVIDENCE_VALUES
        • UNCLASSIFIED_CELL_VALUE
        • AggregatedOffTargetSchema
    • Data Access
      • Base Data Classes
        • DatabaseError
        • DatabaseAccessError
        • GeneNotFoundError
        • ENSEMBL_POST_CHUNK_SIZE
        • ENSEMBL_RETRY_STATUSES
        • ENSEMBL_UNAVAILABLE_STATUSES
        • ensembl_unavailable_error()
        • ensembl_session()
        • ensembl_request_json()
        • DatabaseType
        • SequenceType
        • GeneInfo
        • TranscriptInfo
        • AbstractDatabaseClient
        • AbstractTranscriptAnnotationClient
        • EnsemblClient
        • RefSeqClient
        • GencodeClient
        • SequenceUtils
        • FastaUtils
        • get_database_display_name()
      • Annotation Manager
        • AnnotationSource
        • AnnotationManager
      • Gene Search
        • GeneSearchResult
        • GeneSearcher
        • search_gene_sync()
        • search_gene_with_fallback_sync()
        • search_multiple_databases_sync()
      • ORF Analysis
        • ORFInfo
        • SequenceAnalysis
        • ORFAnalyzer
        • create_orf_analyzer()
        • analyze_multiple_transcript_orfs()
      • Genome Manager
        • GenomeManager
      • Reference Manager
        • ReferenceSource
        • CacheMetadata
        • ReferenceManager
      • Transcriptome Manager
        • INDEX_BUILD_ERROR_KEY
        • TranscriptomeSource
        • TranscriptomeManager
      • Transcriptome Filter
        • TranscriptFilter
        • get_filter_spec()
      • Transcript Annotations
        • EnsemblTranscriptModelClient
        • VepConsequenceClient
      • miRNA Management
        • MiRNASource
        • PinnedMiRNAReference
        • MiRNADatabaseManager
        • load_pinned_references()
        • main()
      • Species Registry
        • normalize_species_name()
        • ensembl_species_slug()
      • Orthology
        • ORTHOLOGUE_TYPES
        • ORTHOLOGY_BUDGET_SECONDS
        • SOURCE_COMPARA
        • OrthologTable
        • OrthologueMapping
        • load_ortholog_table()
        • mapping_from_table()
        • resolve_orthologues()
      • Variant Resolver
        • VariantResolver
        • resolve_variant_sync()
      • Variant Cache
        • VariantParquetCache
      • Variant Helpers
        • map_variant_to_transcript()
        • apply_variant_to_transcript_sequence()
        • apply_variant_workflow()
        • generate_contexts_for_variant()
        • check_candidate_overlaps_variant()
        • annotate_candidate_with_variant()
        • apply_variant_to_sequence()
        • get_variant_position_in_transcript()
    • Pipeline Integration
      • Nextflow CLI
        • build_bwa_index_cli()
        • offtarget_analysis_cli()
        • aggregate_results_cli()
        • aggregate_mirna_results_cli()
      • Nextflow Configuration
        • EnvironmentInfo
        • NextflowConfig
      • Nextflow Runner
        • NextflowRunner
        • NextflowExecutionError
      • Pipeline Resources
        • get_resource_path()
        • get_test_data_path()
        • validate_test_data()
        • ResourceManager
    • Workflow Orchestration
      • describe_shortfall_reasons()
      • screening_run_status()
      • CandidateTablePaths
        • CandidateTablePaths.all_csv
        • CandidateTablePaths.pass_csv
        • CandidateTablePaths.pass_fasta
        • CandidateTablePaths.qualified_csv
        • CandidateTablePaths.qualified_fasta
        • CandidateTablePaths.provisional_csv
        • CandidateTablePaths.manifest_json
        • CandidateTablePaths.under()
      • OffTargetGateCounts
        • OffTargetGateCounts.transcriptome_0mm
        • OffTargetGateCounts.transcriptome_1mm
        • OffTargetGateCounts.transcriptome_2mm
        • OffTargetGateCounts.transcriptome_seed_0mm
        • OffTargetGateCounts.mirna_0mm_seed
        • OffTargetGateCounts.mirna_high_risk
        • OffTargetGateCounts.total_hits
        • OffTargetGateCounts.genuine_off_target_count
        • OffTargetGateCounts.transcriptome_by_species
      • POST_SCREEN_FILTER_CHANNELS
      • RENAMED_ARGUMENTS
      • RENAMED_NEXTFLOW_PARAMS
      • refuse_renamed_arguments()
      • WorkflowConfig
        • WorkflowConfig.__init__()
        • WorkflowConfig.nextflow_config
        • WorkflowConfig.screen_species
        • WorkflowConfig.query_species
      • ZFNWorkflowConfig
        • ZFNWorkflowConfig.__init__()
      • SiRNAWorkflow
        • SiRNAWorkflow.__init__()
        • SiRNAWorkflow.zfn_designer
        • SiRNAWorkflow.sirnaforgeer
        • SiRNAWorkflow.results
        • SiRNAWorkflow.run_complete_workflow()
        • SiRNAWorkflow.step1_retrieve_transcripts()
        • SiRNAWorkflow.resolve_variants_step()
        • SiRNAWorkflow.step2_validate_orfs()
        • SiRNAWorkflow.step3_design_sirnas()
        • SiRNAWorkflow.step6_generate_reports()
        • SiRNAWorkflow.write_offtarget_only_exports()
        • SiRNAWorkflow.step5_offtarget_analysis()
        • SiRNAWorkflow.run_nextflow_offtarget_analysis()
      • apply_zfn_runtime_overrides()
      • run_sirna_workflow()
      • run_offtarget_only_workflow()
      • Variant Workflow Integration
        • VariantWorkflowConfig
        • resolve_workflow_variants()
        • normalize_variant_mode()
        • parse_clinvar_filter_string()
    • Validation
      • Validation Configuration
        • ValidationLevel
        • ValidationStage
        • ValidationConfig
        • ValidationPresets
      • Validation Middleware
        • ValidationReport
        • ValidationMiddleware
      • Validation Utilities
        • ValidationResult
        • ValidationUtils
    • Utilities
      • Logging Utilities
        • configure_logging()
        • get_logger()
      • Cache Utilities
        • resolve_cache_subdir()
        • stable_cache_key()
        • LEGACY_PRODUCER_VERSION
        • PRODUCER_VERSION_FIELD
        • current_producer_version()
        • normalize_producer_version()
        • is_producer_version_current()
        • log_discarded_artifact()
        • STAMP_FULL_DIGEST_MAX_BYTES
        • STAMP_SAMPLE_BYTES
        • artifact_stamp_path()
        • fingerprint_outputs()
        • fingerprint_inputs()
        • write_artifact_stamp()
        • read_artifact_stamp()
        • discard_artifact_stamp()
        • is_artifact_stamp_current()
      • CLI Input Helpers
        • parse_csv()
      • Control Candidates
        • inject_dirty_controls()
      • FASTA Utilities
        • load_fasta_sequences()
        • load_fasta_contig_lengths()
      • Modification Patterns
        • apply_standard_2ome_pattern()
        • apply_minimal_terminal_pattern()
        • apply_maximal_stability_pattern()
        • get_modification_pattern()
        • apply_modifications_to_candidate()
        • get_modification_summary()
      • Resource Resolver
        • InputSource
        • resolve_input_source()
      • Species Utilities
        • bucket_species()
        • human_vs_other_totals()
        • is_human_species()
        • normalize_species_label()
      • Typed Decorators
        • field_validator_typed()
        • field_serializer_typed()
        • check_types_typed()
        • model_validator_typed()
        • command_decorator_typed()
      • Unified Cache
        • CacheStats
        • ClearResult
        • CacheComponent
        • UnifiedCacheManager
    • Chemical Modifications
      • parse_chem_mods()
      • parse_provenance()
      • parse_header()
      • load_metadata()
      • merge_metadata_into_fasta()
      • save_metadata_json()
  • Data Models, Filtering & Scoring: Technical Reference
    • Overview
    • 1. Core Data Models
      • 1.1 SiRNACandidate
        • Sequence Validation
      • 1.2 DesignParameters
      • 1.3 FilterCriteria
      • 1.4 OffTargetFilterCriteria
      • 1.5 ScoringWeights, scoring profiles and weight vectors
    • 2. Scoring Algorithms
      • 2.1 Score Calculation
      • 2.2 Thermodynamic Asymmetry Score
      • 2.3 GC Content Score
      • 2.4 Duplex Stability Score
      • 2.5 Target Accessibility Score
        • Geometry, which is the whole point
        • Statistic and normalisation
        • Missing values
        • Configuration
      • 2.6 Off-Target Score
      • 2.7 Empirical Score (Reynolds Rules) — gate only, not a scoring term
        • The deleted G/C-at-position-1 clause
    • 3. Filter Implementation
      • 3.1 Early Filtering (Enumeration Stage)
      • 3.2 Quality Filters (Scoring Stage)
      • 3.3 Post-Screen Off-Target Filters
      • 3.4 Filter Status Codes
      • 3.5 Hit Classes (sirnaforge.core.hit_classification.HitClass)
    • 4. Threshold Justification
      • 4.1 GC Content: 35-60%
      • 4.2 Asymmetry Score: ≥0.65
      • 4.3 Poly-runs: ≤3 consecutive
      • 4.4 MFE: -2 to -8 kcal/mol
      • 4.5 Melting Temperature: 60-78°C
    • 5. miRNA-Biogenesis Mode
      • 5.1 MiRNADesignConfig
      • 5.2 miRNA-Specific Scoring
    • 6. Off-Target Analysis Models
      • 6.1 OffTargetHit
      • 6.2 MiRNAHit
      • 6.3 Supported miRNA Databases
    • 7. Chemical Modification Models
      • 7.1 StrandMetadata
      • 7.2 ChemicalModification
      • 7.3 Supported Modification Patterns
    • 8. Workflows Requiring Documentation
      • 8.1 Nextflow Pipeline
      • 8.2 ORF Validation
      • 8.3 Transcript Retrieval
    • 9. References
    • Appendix A: Default Parameter Summary
    • Appendix B: Scoring Weight Defaults
      • Selecting mature miRNA reference coverage
  • Scientific sources and implementation claims
    • Papers cited by the GAA example request
    • Thermodynamic asymmetry and RNA structure software
    • How these ideas map to siRNAforge
    • Citation audit notes
  • Chemical Modification Annotation Specification
    • Overview
    • Data Models
      • ChemicalModification
      • Provenance
      • StrandMetadata
      • SequenceRecord
    • FASTA Header Encoding
    • JSON Sidecar Format
    • Python API
      • Loading Metadata
      • Parsing FASTA Headers
      • Merging Metadata into FASTA
      • Creating Metadata Programmatically
    • CLI Usage
      • Show Sequences with Metadata
      • Annotate FASTA with Metadata
    • Integration with SiRNACandidate
    • Modification Type Reference
    • Position Numbering
    • Backward Compatibility
    • Best Practices
    • Example Workflow
    • Future Extensions
    • References
  • Changelog
    • Unreleased
    • [0.8.0] - 2026-11-22
      • Added
      • Fixed
    • [0.7.1] - 2026-10-17
      • Added
      • Changed
      • Fixed
      • Known limitations
    • [0.6.0] - 2026-09-03
      • Breaking changes
      • Fixed
      • Added
      • Changed
      • Removed
    • [0.5.2] - 2026-09-02
      • Fixed
      • Added
      • Changed
    • [0.5.1] - 2026-07-21
      • Added
      • Fixed
      • Changed
      • Housekeeping
    • [0.4.3] - 2026-03-22
      • New Features
      • Improvements
      • Dependencies
    • [0.4.2] - 2026-03-01
      • New Features
      • Improvements
    • [0.4.0] - 2025-1-5
      • Breaking
      • New Features
      • Improvements
      • Dependencies
      • Performance
    • [0.3.4] - 2025-12-31
      • Added
      • Improvements
      • Documentation
    • [0.3.3] - 2025-12-15
      • Bug Fixes
    • [0.3.1] - 2025-12-04
      • Added
      • Improvements
      • Bug Fixes
      • Documentation
    • [0.3.0] - 2025-11-21
      • Improvements
      • Bug Fixes
      • Testing
      • Build & Infrastructure
    • 0.2.2 - 2025-10-26
      • New Features
      • Improvements
      • Bug Fixes
      • Documentation
      • Testing
      • Dependencies
    • 0.2.1 - 2025-10-24
    • 0.2.1 - 2025-10-24
      • New Features
      • Improvements
      • Bug Fixes
      • Documentation
      • Testing
      • Dependencies
      • Performance
    • 0.2.0 - 2025-09-27
      • New Features
      • Improvements
      • � Bug Fixes
      • 📊 Performance
      • Testing & Infrastructure
      • Documentation
      • Dependencies & Architecture
    • 0.1.0 - 2025-09-06
      • Added
      • Core Features
      • Supported Operations
      • Technical Stack
  • Glossary

🔧 Developer

  • Developer Documentation
    • siRNAforge Architecture
      • Short version (TL;DR)
      • Overview
      • System Architecture Flow
      • Package Structure
        • Directory Structure
      • Architectural Layers
        • 1. CLI Layer (cli.py)
        • Configuration & Default Resolution (sirnaforge.config)
        • 2. Workflow Layer (workflow.py)
        • 3. Core Layer (core/)
        • 4. Model Layer (models/)
        • 5. Data Layer (data/)
        • 6. Validation Layer (validation/)
        • 7. Pipeline Layer (pipeline/)
      • Design Principles
        • 1. Type Safety
        • 2. Separation of Concerns
        • 3. Dependency Injection
        • 4. Error Handling
        • 5. Configuration Management
      • Data Flow
        • 1. Complete Workflow
        • 2. Component Interaction
      • Extension Points
        • 1. Custom Scoring Functions
        • 2. Additional Data Sources
        • 3. New Validation Rules
      • Performance Considerations
        • 1. Asynchronous Operations
        • 2. Memory Management
        • 3. Caching
      • Testing Architecture
        • 1. Unit Tests (tests/unit/)
        • 2. Integration Tests (tests/integration/)
        • 3. Pipeline Tests (tests/pipeline/)
      • Deployment Architecture
        • 1. Local Development
        • 2. Container Deployment
        • 3. Pipeline Deployment
      • Future Architecture Considerations
        • 1. Microservices
        • 2. Cloud Integration
        • 3. Plugin System
    • Development Guide
      • Development Environment Setup
        • Prerequisites
        • Quick Start
        • Manual Setup
      • Make Commands Reference
        • Testing Commands
        • Variant mode validation & reporting (new)
        • Code Quality Commands
        • Docker Commands
        • Documentation Commands
        • Utility Commands
      • Development Workflow
      • Branching & Release Strategy
        • How to Work Day-to-Day
        • Hygiene Rules (Recommended)
        • Version & Tag Hygiene
        • Recommended GitHub Branch Protection
        • Versioning Guidance (PEP 440)
        • Docker Image Tags (Recommended)
        • Typical Development Cycle
        • Working with Tests
        • Docker Development
      • Code Style and Standards
        • Python Code Style
        • Code Organization Principles
      • Testing Best Practices
        • 1. Test Organization
        • 2. Test Fixtures
        • 3. Parametrized Tests
        • 4. Mock External Dependencies
      • Contribution Guidelines
        • 1. Pull Request Process
        • 2. Commit Message Format
        • 3. Pull Request Guidelines
        • 4. Code Review Process
      • Advanced Development
        • 1. Adding New Algorithms
        • 2. Adding New Data Sources
        • 3. Performance Profiling
      • Debugging
        • 1. Logging
        • 2. Interactive Debugging
        • 3. Testing with Real Data
      • Release Process
        • 1. Version Management
        • 2. Building and Distribution
        • 3. Documentation Deployment
      • Getting Help
    • Testing Guide
      • Quick Commands
        • Development (Python-only)
        • Docker (Full environment)
        • Test Categories by Tier
        • Environment Requirement Markers
        • What each test-release stage is actually for
        • A dev test must never reach the network
        • Running network tests behind a TLS-intercepting proxy
      • Local Development Testing
        • 1. Initial Setup (Required - Run Once)
        • 2. Fast Iteration Cycle
        • 3. Code Quality Checks
        • 4. Pre-Commit Validation
      • Docker Testing (Comprehensive Validation)
        • Prerequisites
        • 1. Build Docker Image
        • 2. Run Tests in Container
        • 3. Manual Docker Verification
      • Best Practices
        • Development Workflow
        • Resource Management
      • ZFN Manual Validation
      • miRNA default-backend rollout validation
        • Timeouts and Expectations
      • Quick Health Checks
        • Reproduce a small Docker CI runner
    • Performance investigations: Pixi and BWA-MEM3
      • Recorded local evidence
      • Pixi container comparison (Linux x86_64)
      • Reproduce inventory and bounded command measurements
      • F1: isolated Pixi prototype
      • F2: BWA-MEM3 parity and performance harness
        • Release-116 cDNA panel results
        • Release-116 downstream gate comparison
      • Coordination with report performance (#111)
    • Comprehensive Review: Chemical Modification Handling in siRNAforge
      • Executive Summary
        • Key Strengths
        • Current Gaps
      • Current Infrastructure
        • 1. Data Models (src/sirnaforge/models/modifications.py)
        • 2. Utility Functions (src/sirnaforge/modifications.py)
        • 3. Integration Points in SiRNACandidate
        • 4. FASTA Header Encoding Format
        • 5. JSON Sidecar Format
      • Integration Opportunities
        • A. Workflow Output Integration
        • B. Annotation as Optional Output
        • C. Separate Annotation Command
      • Recommended Integration Strategy
        • Phase 1: Documentation and Examples (Immediate)
        • Phase 2: Workflow Integration (Short-term)
        • Phase 3: Advanced Features (Long-term)
      • Implementation Patterns
        • Pattern 1: Keep as Annotations (Recommended)
        • Pattern 2: Integrated Scoring (Advanced)
        • Pattern 3: Hybrid Approach (Flexible)
      • Modification Pattern Library
        • Standard Patterns (Examples)
      • Testing Strategy
        • Test Categories
        • New Test Coverage Needed
      • Recommendations Summary
        • 1. Immediate Actions (Low Effort, High Impact)
        • 2. Short-term Enhancements (Moderate Effort)
        • 3. Long-term Vision (High Effort, High Value)
      • Conclusion
      • Appendix: Common Modification Types
    • ZFN Backend Tuning Summary
      • Question Answered
      • Benchmark Surfaces Used
      • Decision
      • Why pyahocorasick Won
      • Why fm_index Is the Alternate
      • Why exhaustive_python Did Not Stay First
      • Resulting Runtime Policy
      • Durable Artifacts
      • Manual Validation Scope
    • ZFN Nextflow Bridge: Sanity Validation
      • Scope
      • uv invocation guidance
      • Fixtures
      • Results
        • 1) Manifest generation
        • 2) Shard-level search
        • 3) Aggregation
      • Unit verification
      • Notes for maintainers
    • ZFN Hg38 Primary Validation Commands
      • Annotation URL
      • Recommended output root
      • Measured Backend Order
      • Real Run on hg38 Primary with pyahocorasick
      • Real Run on hg38 Primary with exhaustive_python
      • Expected Artifacts
      • Quick Checks
    • Quick Links
  • Chemical Modification Integration Guide for Developers
    • Quick Start
      • 1. Basic Workflow
      • 2. Load Existing Patterns
      • 3. Annotate FASTA Files
    • Integration Patterns
      • Pattern A: Post-Processing (Recommended for Most Cases)
      • Pattern B: Inline Integration
      • Pattern C: Hybrid (Best for Flexibility)
    • Best Practices
      • 1. Validation
      • 2. Pattern Library Organization
      • 3. Provenance Tracking
      • 4. Version Control
      • 5. Testing
    • Common Use Cases
      • Use Case 1: Batch Annotation
      • Use Case 2: Synthesis Planning
      • Use Case 3: Cost Estimation
    • Troubleshooting
      • Issue: Metadata not appearing in FASTA headers
      • Issue: Validation errors for positions
      • Issue: Pattern not found
    • Advanced Topics
      • Custom Modification Types
      • Multi-Strand Complexes
      • Integration with Workflow Outputs
    • References
siRNAforge
  • Index

Index – Z

  • ZFN (sirnaforge.models.sirna.DesignMode attribute)
  • zfn() (in module sirnaforge.cli)
  • zfn_designer (sirnaforge.workflow.SiRNAWorkflow attribute)
  • ZFN_V2 (sirnaforge.models.zfn.ZFNAlgorithm attribute)
  • ZFNAlgorithm (class in sirnaforge.models.zfn)
  • ZFNAnnotationProvider (class in sirnaforge.zfn.interfaces)
  • ZFNCandidate (class in sirnaforge.models.zfn)
  • ZFNDefaultSubfingerMutationConstraint (class in sirnaforge.models.zfn)
  • ZFNDesigner (class in sirnaforge.zfn.design)
  • ZFNDesignParameters (class in sirnaforge.models.zfn)
  • ZFNDesignResult (class in sirnaforge.models.zfn)
  • ZFNHalfSiteConstraints (class in sirnaforge.models.zfn)
  • ZFNMutationConstraints (class in sirnaforge.models.zfn)
  • ZFNMutationType (class in sirnaforge.models.zfn)
  • ZFNOffTargetFilterCriteria (class in sirnaforge.models.zfn)
  • ZFNOffTargetSearcher (class in sirnaforge.zfn.interfaces)
  • ZFNOffTargetSite (class in sirnaforge.models.zfn)
  • ZFNOverallMutationConstraint (class in sirnaforge.models.zfn)
  • ZFNScoringWeights (class in sirnaforge.models.zfn)
  • ZFNSearchBackend (class in sirnaforge.models.zfn)
  • ZFNSearchContract (class in sirnaforge.models.zfn)
  • ZFNShardingConfig (class in sirnaforge.models.zfn)
  • ZFNShardRow (class in sirnaforge.zfn.nextflow_bridge)
  • ZFNSpacerConstraints (class in sirnaforge.models.zfn)
  • ZFNSubfingerMutationConstraint (class in sirnaforge.models.zfn)
  • ZFNWorkflowConfig (class in sirnaforge.workflow)

© Copyright 2025, Austin S. Hovland.