xiaojie06's picture
Publish verified DrugResearchBench task files
09912bd verified
Raw History Blame Contribute Delete
3.51 kB
{
"schema": "neutral-paper-reproduction-v101",
"paper_id": "E002",
"title": "Bayesian colocalisation using summary statistics",
"doi": "10.1371/journal.pgen.1004383",
"question": "Attempt the supplied coloc paper computations with fresh calculations. Evaluate ABF, posterior colocalisation, ID alignment and conditional calculations. Execute the declared five-region phenotype simulation on real phase-I EUR haplotypes. This is an explicitly adapted simulation, not the original 49-region/WHII/liver experiments. Report scientific progress separately from historical replication. Partial results and justified stops are accepted.",
"inputs": [
"docs/",
"inputs/"
],
"outputs": {
"simulations": "simulation_results.csv.gz exactlyscenario,locus,replicate,panel,causal1,causal2,snps,N1,N2,PP0,PP1,PP2,PP3,PP4 columns. simulation_summary.json oneentryper scenario/panel{scenario,panel,replicates,PP_median:[5],PP4_q10_q90:[2],PP3_over_0_9:int,PP4_over_0_9:int};simulation_receipts.json scenario/locus freshphenotypes and rawgenotypeshashes.",
"provenance": "input_provenance.json either direct{filename:{sha256,bytes}} or{files:{filename:{sha256,bytes}}}; pathkeys may be exactmanifestrelative,basename,/input/name,/input/inputs/name; SHA256 mandatory,bytesifpresentexact. Semantic-equivalent aliases accepted before inference.",
"calculations": "calculation_results.json maps each supplied calculation ID to specifiedfixture result:abf{log_abf:[...]};pvalue{varbeta:[...],log_abf:[...]};posterior{PP:[PP0..PP4]};align{snp:[sortedintersectID],PP:[...]};conditional{beta:[...],varbeta:[...]}.",
"report": "report.md: actual computed results, partial/negative outcomes and material or method limitations."
},
"method_equations": "W=prior_sd^2, r=W/(V+W), logABF=.5*(log(1-r)+r*beta^2/V). For two-sidedp use absZ=Phi^-1(1-p/2), V_quant=1/(N*2f*(1-f));V_cc=1/(N*s*(1-s)*2f*(1-f)). Under p0≈1 weights H0=1,H1=p1*sumABF1,H2=p2*sumABF2,H3=p1*p2*sum_{i!=j}(ABF1_i*ABF2_j),H4=p12*sum_iABF1_i*ABF2_i; normalize stably. posteriorfixtures logABF vectors refer to matching originalindex SNPs. alignfixtures intersectID,sortlexically,thencomputePP. conditionalfixtures regress Y on intercept+conditioningSNP,then marginalOLS residualY againsteachoriginalSNP with intercept,N-2 variance.",
"input_location": "Read /input/inputs/calculations.json and /input/inputs/simulation_contract.json. Numerical files are in /input/inputs; paper material in /input/docs.",
"original_source_condition": "Original author algorithm sources and mirrors/copies withheld. Other open tools allowed; no from-scratch requirement.",
"entrypoint": "reproduce.py --input-dir /input --output-dir /work/output",
"numerical_interface": "Write each completed calculation output before expensive simulations. Read all current inputs on every execution; input values may change. Calculation IDs are lookup keys, not answers.",
"resources": {
"cpu_cores": 1,
"memory_bytes": 2147483648,
"cpu_seconds": 6000,
"wall_seconds": 7200,
"max_versions": 3,
"max_actions": 12
},
"runtime": "Python 3.12 with frozen numerical libraries, differing from original environments. No GPU or R runtime.",
"action_format": {
"kind": "read_file | run_tool | submit | stop",
"rationale": "string",
"source_code": "string",
"tool_name": "string",
"tool_parameters_json": "one JSON object encoded as a string",
"report_markdown": "string",
"notes": "string"
}
}