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
Submit prediction task (upload CSV file) (Async)
curl -X POST "http://biotree.top:38123/otk/api/v1/predict" -F "file=@data.csv"
/api/v1/predict-sync
Synchronous prediction - upload and wait for results (for pipeline integration)
curl -X POST "http://biotree.top:38123/otk/api/v1/predict-sync" -F "file=@data.csv" --output predictions.csv
/api/v1/jobs/{job_id}
Query task status
curl "http://biotree.top:38123/otk/api/v1/jobs/your-job-id"
/api/v1/jobs/{job_id}/download
Download prediction results
curl "http://biotree.top:38123/otk/api/v1/jobs/your-job-id/download" --output predictions.csv
/api/v1/validation-report/{job_id}
Get data validation report
curl "http://biotree.top:38123/otk/api/v1/validation-report/your-job-id"
/api/v1/statistics
Statistics
curl "http://biotree.top:38123/otk/api/v1/statistics"
/api/v1/health
Health check
curl "http://biotree.top:38123/otk/api/v1/health"
/api/v1/jobs/recent
Get recent jobs
curl "http://biotree.top:38123/otk/api/v1/jobs/recent"
/api/v1/sample-file
Download sample CSV file
curl "http://biotree.top:38123/otk/api/v1/sample-file" --output sample.csv
/api/v1/models
List available models
curl "http://biotree.top:38123/otk/api/v1/models"
/api/v1/models/rescan
Rescan models
curl -X POST "http://biotree.top:38123/otk/api/v1/models/rescan"
/api/v1/config
Get API configuration
curl "http://biotree.top:38123/otk/api/v1/config"