Linxira Bio SDK
AGPL-3.0 v0.1.0 GitHub

Linxira Bio SDK

A local-first, ready-to-use bioinformatics analysis platform. 50+ capabilities covering sequences, structures, expression, variants, and comparative genomics.

GitHub User Guide

Quick Start

1
Import Data
Drag or select FASTA, FASTQ, GFF, VCF, BED, CSV, PDB files
2
Inspect
Auto-detect format and show summary statistics
3
Analyze
Choose from 50+ capabilities, auto-matched to your data format
4
Results
Tables, SVG plots, interactive structure viewer, export to CSV/TSV/JSON/XLSX

Simulated Pipeline Flow

📥
Import
QC
🧹
Trim
📐
Align
🧬
Variant
🎓
Enrich
📄
Report
Simulated Run Log · linxira-bio pipeline
📄 Simulated Report Output · report/
Reports auto-generated after the pipeline (exportable in desktop app):
📊
report.html
Interactive chart report
2.4 MB · 2026-08-14 10:04
👁 preview
📄
report.pdf
Publication layout
1.8 MB · 2026-08-14 10:04
👁 preview
📋
report.json
Machine-readable results
312 KB · 2026-08-14 10:04
👁 preview
🖼
figures/
8 SVG figures
6.1 MB · 2026-08-14 10:04
👁 preview

Platform Stats

50+
Capabilities
108
Bilingual Docs
3
Platforms
Windows · Debian · Arch
4
Languages
Rust · Python · R · Java
AGPL
License
v3.0-or-later

Example Data & Results

Sequence Stats (sequence.stats.v1)
{
  "sequence_count": 3,
  "total_bases": 12,
  "min_length": 2,
  "max_length": 6,
  "mean_length": 4.0,
  "n50": 6,
  "gc_percent": 60.0
}
Expression PCA (expression.pca.v1)
{
  "pca": {
    "variance_explained": [42.3, 18.7, 9.1],
    "samples": [
      {"id": "WT_1", "PC1": -2.34, "PC2": 1.02},
      {"id": "KO_1", "PC1": 2.15, "PC2": -0.87}
    ]
  }
}
GO Enrichment (enrichment.go.v1)
{
  "analysis_type": "go",
  "query_input_count": 4,
  "query_mapped_count": 3,
  "tested_term_count": 1,
  "terms": [{
    "term_id": "GO:0000001",
    "term_name": "Process A",
    "fold_enrichment": 1.33,
    "p_value": 0.5
  }]
}
Protein Properties (protein.properties.v1)
{
  "sequence_count": 2,
  "records": [{
    "id": "standard",
    "length": 20,
    "molecular_weight_da": 2395.74,
    "isoelectric_point": 7.15,
    "gravy": -0.49,
    "aromaticity_percent": 15.0
  }]
}
Set Intersection (set.venn.v1)
{
  "set_count": 3,
  "union_size": 6,
  "set_sizes": [
    {"name": "control", "count": 3},
    {"name": "treatment", "count": 4},
  "name": "validated", "count": 4}
  ]
}
FASTQ QC (fastq.qc.v1)
{
  "read_count": 2481532,
  "total_bases": 372229800,
  "mean_read_length": 150.0,
  "gc_percent": 48.2,
  "q20_percent": 97.9,
  "q30_percent": 93.7,
  "mean_quality": 36.4
}
Variant Stats (variant.stats.v1)
{
  "variant_count": 128450,
  "snp_count": 108231,
  "indel_count": 20219,
  "transition_count": 72014,
  "transversion_count": 36217,
  "ts_tv_ratio": 1.99,
  "heterozygosity": 0.0012
}
KEGG Enrichment (enrichment.kegg.v1)
{
  "analysis_type": "kegg",
  "tested_pathway_count": 142,
  "significant_count": 23,
  "top_terms": [{
    "pathway_id": "ko04630",
    "pathway_name": "IL-17 signaling",
    "p_adjusted": 1.2e-8,
    "gene_ratio": 0.21
  }]
}
Differential Expression (expression.differential.v1)
{
  "comparison": "KO_vs_WT",
  "total_genes": 18752,
  "upregulated": 842,
  "downregulated": 691,
  "significant_padj_005": 1533,
  "lfc_shrinkage": "apeglm"
}
K-mer Count (sequence.kmer.count.v1)
{
  "k": 5,
  "distinct_kmers": 9312,
  "total_kmers": 120000,
  "top_kmers": [
    {"kmer": "AAAAA", "count": 4120},
    {"kmer": "TTTTT", "count": 3987},
    {"kmer": "GCGCG", "count": 2451}
  ]
}
Alignment QC (alignment.qc.v1)
{
  "total_reads": 4963064,
  "mapped_reads": 4821918,
  "mapped_percent": 97.2,
  "properly_paired_percent": 96.1,
  "mean_depth": 32.4,
  "duplicate_percent": 8.9
}
Sequence Length Distribution (Example)
50 40 30 20 10 45 0-500bp 38 500-1kb 32 1-2kb 22 2-5kb 12 5kb+

Simulated Dataset Preview

Built-in programmatically generated datasets (FASTQ / FASTA / VCF / GFF3) let you try analyses out of the box — no real data needed. Snippets below.

FASTQ · reads.fastq.gz
@SIM:1:FC01:1:1101:1000:1000 1:N:0:ATCACG
GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT
+
!''*((((***+))%%%++)(%%%%).1***-+*''))**55CCF>>>>>CCCCCCC65
@SIM:1:FC01:1:1101:1000:1001 2:N:0:ATCACG
TGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTG
+
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
@SIM:1:FC01:1:1101:1000:1002 1:N:0:ATCACG
GGTGATGGCCGCTGCCGATTGCAGGCGCTGCGCTTTGCTTCGCCGCAGGGTTCTTCACTT
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FASTA · genome_sim.fa
>chr1_sim_0001 length=150 gc=48.5
ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
GGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGCGGC
>chr2_sim_0002 length=150 gc=51.0
TTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAA
CCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCGCCG
VCF · variants_sim.vcf
##fileformat=VCFv4.2
##source=LinxiraBioSim
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO
chr1    11869   .       G       A       962.77  PASS    DP=154;AF=0.482
chr1    14409   .       C       T       184.30  PASS    DP=51;AF=0.235
chr1    14933   .       G       A       2102.51 PASS    DP=382;AF=0.512
chr1    16298   .       T       C       55.10   PASS    DP=14;AF=0.129
GFF3 · annotation_sim.gff3
##gff-version 3
chr1    sim     gene    11869   14409   .   +   .   ID=gene1;Name=DDX11L1
chr1    sim     mRNA    11869   14409   .   +   .   ID=tx1;Parent=gene1
chr1    sim     exon    11869   12227   .   +   .   Parent=tx1
chr1    sim     CDS     12010   12127   .   +   0   Parent=tx1
chr1    sim     exon    12595   12721   .   +   .   Parent=tx1
chr1    sim     gene    14362   29370   .   -   .   ID=gene2;Name=WASH7P

All data above is programmatically simulated for UI demonstration only.

CLI Quick Start

PowerShell / Bash
# Sequence stats
linxira-bio sequence stats sequences.fa --json

# FASTQ quality control
linxira-bio fastq qc reads.fastq --json

# Genome annotation stats
linxira-bio annotation gxf-stats annotations.gff --json

# Expression matrix PCA
linxira-bio expression pca matrix.tsv pca.json --json

# Phylogenetic tree plot
linxira-bio phylogeny tree-plot tree.nwk tree.svg --json

Capabilities

Quick Links

Demo Analysis Results

Typical outputs from Linxira Bio SDK capabilities. All results are structured JSON ready for downstream analysis.

Differential Expression Results (Example)
Gene IDlog2FCp-valuepadjChange
BRCA1+2.341.2e-83.5e-6Up
TP53+1.874.5e-76.2e-5Up
EGFR+1.562.1e-61.8e-4Up
MYC-1.238.7e-65.4e-4Down
CDKN1A-2.013.2e-91.1e-6Down
1 Import
2 Inspect
3 Analyze
4 Results
Import Local Data
Supported formats: FASTA, FASTQ, GFF3/GTF, VCF, BED, CSV/TSV, PDB, mmCIF, Newick, gzip. Click a sample file to run the full simulated workflow (Import → Inspect → Analyze → Results):
Drag files here or click to browse (desktop app)
Web demo auto-uses the simulated datasets above
Dataset Summary
Auto-detected format and summary statistics
Choose Analysis Capability
Capabilities auto-matched to the imported file format (simulated subset in web demo). Click a capability to run.
Analysis Results
Results appear here after running an analysis. Tables, SVG plots, and interactive structure viewing supported.
🤖 AI Analysis Assistant (Simulated)
Built-in Agent (planned): conversational access to 50+ capabilities via three external tool channels — MCP tools, Python SDK, and CLI. Interactive simulation below.
Interactive Structure Viewer
Interactive PDB/mmCIF protein viewer (desktop: rotate, zoom, residue selection, distance measurement, image export). Simulated classic case below — hemoglobin (1HHO) oxygenation and carbon-monoxide binding.
🧊 Real 3D Structures (WebGL)
Real-time PDB rendering in browser (3Dmol.js): human hemoglobin 1HHO (α₂β₂ tetramer · 4 hemes) and bovine insulin 4INS (A/B chains · receptor-binding sites with flash animation). Drag to rotate · scroll to zoom · slow auto-spin.
Hemoglobin Tetramer
α₁ α₂ β₁ β₂ 2,3-BPG cavity
α₂β₂ · 4 × Heme (Fe²⁺) Deoxy · T state
Environment Check
Auto-detects toolchains and runtimes (Rust engine + Python/R workflows + Java plugin layer). Supports Windows, Debian, and Arch Linux.
Detection complete
x86_64
Arch
Windows 11
OS
4/4
Core runtimes
2
Optional tools absent
Components & Runtimes
ComponentVersionStatusUse
rustc / cargo1.97.1✓ OKSDK core engine (Rust)
python3.10.11✓ OKPython SDK · Biopython · NumPy
R4.6.1✓ OKDESeq2 / WGCNA workflow runtime
java21.0.10✓ OKTBtools-ecosystem plugin layer
samtoolsOptionalBAM/CRAM processing (built-in fallback)
dockerNot foundContainerized extended workflows
Platform Support Matrix
ComponentWindows 11Debian 12Arch Linux
Core engine (Rust)
Python SDK
R workflows
Java plugin layer
Installmsi / wingetdeb / aptpacman / AUR

Documentation & Guides

Full bilingual documentation with detailed parameters and examples for each capability

108
Capability docs (zh/en)
14
Analysis domains
30+
Skills
3
Language SDKs
Python · R · Rust

Document Categories

Linxira Bio SDK
Licensed under GNU Affero General Public License v3.0 (AGPL-3.0-or-later). Project-owned components use AGPL-3.0-or-later. This does not replace or relicense third-party code.

Registered Research Sources

SourceLicenseCurrent Role
GPTomics/bioSkillsMITPrimary method and example review source
BioTender-max/awesome-bio-agent-skillsCollection index; nested terms varyDiscovery and classification source
Linxira-OS/linxira-skillsMITGeneral skill platform and policy reference

Initial Runtime Components

ComponentLicenseUse
serde, serde_jsonMIT OR Apache-2.0Job, result, and capability serialization
csvUnlicense OR MITRFC 4180-compatible CSV and configurable TSV writing
flate2MIT OR Apache-2.0Streaming gzip and BGZF-compatible decompression
eframe, eguiMIT OR Apache-2.0Native desktop GUI without an embedded WebView
pngMIT OR Apache-2.0Local structure-view snapshot encoding
rfdMITNative operating-system file dialogs
rust_xlsxwriterMIT OR Apache-2.0Native XLSX result export
same-fileUnlicense OR MITCross-platform file identity checks
sha2MIT OR Apache-2.0Artifact SHA-256 integrity checks
tempfileMIT OR Apache-2.0Temporary output for atomic table export
zipMITBounded ZIP signature and metadata inspection
jsonschema 验证栈MIT, BSD-3, Apache-2.0, ISC, MPL-2.0, GPL-3.0-or-laterCI-only JSON Schema validation
epaint_default_fontsOFL-1.1 AND Ubuntu-font-1.0Default native GUI fonts
Noto Sans SC 2.002OFL-1.1Bundled Simplified Chinese GUI fallback
hexf-parseCC0-1.0Transitive shader-number parsing

Workflow Runtime Dependencies

ComponentLicenseStatus
Biopython 1.85Biopython License AgreementCataloged, not redistributed yet
NumPy 2.2.4BSD-3-ClauseCataloged, not redistributed yet
DESeq2 ≥1.52.0LGPL-3.0-or-laterDifferential-expression workflow dependency (not redistributed)
jsonlite ≥1.8.9MITR workflow dependency (not redistributed)
digest ≥0.6.37GPL-2.0-or-laterR workflow dependency (not redistributed)
MCScanXBSD-2-ClauseOptional external executable (not bundled)
KaKs CalculatorLicense of user-selected distributionOptional external executable (not bundled)
Dependency Gate
  1. Record SPDX identifier and source repository
  2. Confirm compatibility with AGPL-3.0-or-later
  3. Prefer permissive MIT, Apache-2.0, BSD, ISC, Zlib, or similarly compatible components
  4. Review LGPL, MPL, GPL, model weights, database terms individually
  5. Reject proprietary, source-available, field-of-use, non-commercial, or ambiguous terms
  6. Generate machine-readable dependency report and retain required notices
View Full THIRD_PARTY.md