Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ version drift, unsupported claims, sensitive-data guidance, and stale examples.

## [Unreleased]

### Added
- **New plant expression hosts** — Four additional experimental hosts available via `--host`:
`arabidopsis` (*Arabidopsis thaliana*, NCBITaxon:3702),
`tomato` (*Solanum lycopersicum*, NCBITaxon:4081),
`lemna` (*Lemna minor*, NCBITaxon:4188),
`wolffia` (*Wolffia globosa*, NCBITaxon:113308).
Codon tables derived from Kazusa CodonUsage Database and NCBI RefSeq CDS annotations.
All new hosts are `status: experimental`. Closes #24.

### Fixed

- **`multi_constraint_pass` definition corrected (scoring_contract v1.1)**: `benchmarks/scoring.py`
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ factorforge optimize input.fasta -o output.fasta
| `--gc-min` | `55` | Minimum GC% target |
| `--gc-max` | `65` | Maximum GC% target |
| `--format` | `fasta` | Output format: `fasta` or `genbank` |
| `--host` | `nbenthamiana` | Expression host: `nbenthamiana` or `by2` (Tobacco BY-2) |
| `--host` | `nbenthamiana` | Expression host: `nbenthamiana`, `by2` (Tobacco BY-2 / *N. tabacum*), `arabidopsis` (*A. thaliana*, experimental), `tomato` (*S. lycopersicum*, experimental), `lemna` (*L. minor*, experimental), `wolffia` (*W. globosa*, experimental) |
| `--compare-profiles` | — | Comma-separated profiles to compare (e.g. `balanced,high_cai,gc_target`) |
| `--scan-mode` | `full` | Rule scan: `full` or `fast` |
| `--template` | — | MoClo construct template |
Expand Down
21 changes: 18 additions & 3 deletions src/factorforge/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@
from factorforge.engines.registry import EngineRegistry
from factorforge.engines.profile.utils import parse_fasta_records

HOST_MAP = {"nbenthamiana": "nbenthamiana", "by2": "ntabacum"}
HOST_MAP = {
"nbenthamiana": "nbenthamiana",
"by2": "ntabacum",
"arabidopsis": "arabidopsis_thaliana",
"tomato": "solanum_lycopersicum",
"lemna": "lemna_minor",
"wolffia": "wolffia_globosa",
}


def _configure_stdio() -> None:
Expand Down Expand Up @@ -154,8 +161,16 @@ def list_engines():
@click.option(
"--host",
default="nbenthamiana",
type=click.Choice(["nbenthamiana", "by2"], case_sensitive=False),
help="Expression host: nbenthamiana (default) or by2 (Tobacco BY-2 / N. tabacum)",
type=click.Choice(
["nbenthamiana", "by2", "arabidopsis", "tomato", "lemna", "wolffia"],
case_sensitive=False,
),
help=(
"Expression host: nbenthamiana (default), by2 (N. tabacum), "
"arabidopsis (A. thaliana), tomato (S. lycopersicum), "
"lemna (L. minor), wolffia (W. globosa). "
"New plant hosts are experimental."
),
)
@click.option("--profile", "-p", default="balanced", help="Optimization profile")
@click.option(
Expand Down
Loading
Loading