OTK (ecDNA Analysis Toolkit) Prediction API provides a high-performance deep learning-based service for predicting extrachromosomal DNA (ecDNA) cargo genes and classifying focal amplification types.
Production API: http://biotree.top:38123/otk/
API Base URL: http://biotree.top:38123/otk/api/v1/
/api/v1/predict
提交预测任务(上传CSV文件) (Async)
curl -X POST "http://biotree.top:38123/otk/api/v1/predict" -F "file=@data.csv"
/api/v1/predict-sync
同步预测 - 上传文件并等待结果(用于流程集成)
curl -X POST "http://biotree.top:38123/otk/api/v1/predict-sync" -F "file=@data.csv" --output predictions.csv
/api/v1/jobs/{job_id}
查询任务状态
curl "http://biotree.top:38123/otk/api/v1/jobs/your-job-id"
/api/v1/jobs/{job_id}/download
下载预测结果
curl "http://biotree.top:38123/otk/api/v1/jobs/your-job-id/download" --output predictions.csv
/api/v1/validation-report/{job_id}
获取数据验证报告
curl "http://biotree.top:38123/otk/api/v1/validation-report/your-job-id"
/api/v1/statistics
统计数据
curl "http://biotree.top:38123/otk/api/v1/statistics"
/api/v1/health
健康检查
curl "http://biotree.top:38123/otk/api/v1/health"
/api/v1/jobs/recent
获取最近任务
curl "http://biotree.top:38123/otk/api/v1/jobs/recent"
/api/v1/sample-file
下载示例CSV文件
curl "http://biotree.top:38123/otk/api/v1/sample-file" --output sample.csv
/api/v1/models
列出可用模型
curl "http://biotree.top:38123/otk/api/v1/models"
/api/v1/models/rescan
重新扫描模型
curl -X POST "http://biotree.top:38123/otk/api/v1/models/rescan"
/api/v1/config
获取API配置
curl "http://biotree.top:38123/otk/api/v1/config"