File size: 1,456 Bytes
7fcf0b3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | from __future__ import annotations
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parents[1]
BIOAGENT_BENCH_ROOT = Path("/225040511/project/bioagent-bench")
DATASET_ROOT = BIOAGENT_BENCH_ROOT / "dataset"
METADATA_PATH = BIOAGENT_BENCH_ROOT / "src" / "task_metadata.json"
EVALUATOR_PATH = Path("/225040511/project/Biomni/experiments/bioagent_bench/evaluate_bioagent_bench.py")
DEFAULT_RUNS_ROOT = PROJECT_ROOT / "runs"
DEFAULT_RESULTS_ROOT = PROJECT_ROOT / "results"
TASK_OUTPUTS: dict[str, list[str]] = {
"alzheimer-mouse": ["pathway_comparison.csv"],
"comparative-genomics": ["cluster_annotation_mapping.csv"],
"cystic-fibrosis": ["cf_variants.csv"],
"deseq": ["up_regulated_genes.csv"],
"evolution": ["variants_shared.csv", "gene_annotations.csv"],
"giab": ["predicted.vcf.gz"],
"metagenomics": ["phylum_relative_abundances.csv"],
"single-cell": ["all_clusters_de_genes.csv"],
"transcript-quant": ["truth.tsv"],
"viral-metagenomics": ["taxonomy.csv"],
}
TASK_EXTRA_INSTRUCTIONS: dict[str, str] = {
"giab": "The final deliverable must be a valid gzip-compressed VCF named predicted.vcf.gz.",
"transcript-quant": "The final deliverable must be a no-header TSV: transcript_id<TAB>count.",
"evolution": "Write both variants_shared.csv and gene_annotations.csv when possible.",
"alzheimer-mouse": "Use the provided mouse count and DEA files; do not use truth/results files.",
}
|