Views
No views yet
OneScience-Group/alphagenome_dataset, which enables rapid local validation.| Scenario | Description |
|---|---|
| Genomic interval prediction | Takes a reference-genome FASTA file, a chromosome, and genomic interval coordinates as input and outputs predicted tracks such as ATAC, DNase, CAGE, RNA-seq, and ChIP |
| Variant effect scoring | Takes either a VCF file or built-in example variants as input, compares predictions for the reference and variant sequences, and produces a variant scoring table |
| Track prediction evaluation | Uses validation data from the AlphaGenome dataset to compute regression evaluation metrics across different assay bundles |
| Fine-tuning experiments | Validates a fine-tuning workflow using custom reference genomes, interval CSVs, and BigWig signal files |
| Hugging Face / OneCode execution | After downloading the model project and accompanying dataset, quickly verifies that the scripts run correctly in a life-sciences runtime environment |
nvidia-smihy-smi1hf download OneScience-Group/alphagenome --local-dir ./alphagenome
2cd alphagenome1# Activate DTK and CONDA first
2conda create -n onescience311 python=3.11 -y
3conda activate onescience311
4# uv installation supported
5pip install onescience[bio-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.aicd ./alphagenomedata/ directory under the model package.1hf download OneScience-Group/alphagenome_dataset \
2 --repo-type dataset \
3 --local-dir ./dataweight/alphagenome-all-folds, and all scripts allow the model weights directory to be specified via --model_dir.1weight/
2 alphagenome-all-folds/
3 _CHECKPOINT_METADATA
4 _METADATA
5 ...1export ONESCIENCE_MODELS_DIR=/path/to/onescience/models
2export ONESCIENCE_DATASETS_DIR=/path/to/onescience/datasets${ONESCIENCE_MODELS_DIR}/AlphaGenome/alphagenome-all-folds${ONESCIENCE_DATASETS_DIR}/AlphaGenomeweight/alphagenome-all-foldsdata/bash scripts/inference.sh1python scripts/run_inference.py \
2 --fasta_path ./data/reference/HOMO_SAPIENS/GRCh38.p13.genome.fa \
3 --model_dir ./weight/alphagenome-all-folds \
4 --chromosome chr19 \
5 --start 10587331 \
6 --end 11635907 \
7 --output_dir ./outputsoutputs/.bash scripts/run_variant.sh1python scripts/run_variant_scoring.py \
2 --vcf_path ./data/example.vcf \
3 --fasta_path ./data/reference/HOMO_SAPIENS/GRCh38.p13.genome.fa \
4 --model_dir ./weight/alphagenome-all-folds \
5 --output_dir ./outputs_variantbash scripts/run_track.sh1python scripts/run_track_prediction_eval.py \
2 --model_dir ./weight/alphagenome-all-folds \
3 --model_version ALL_FOLDS \
4 --data_dir ./data/v1/train \
5 --output_path ./outputs_track/eval_results.csv1python scripts/run_finetuning.py \
2 --fasta_path ./data/reference/HOMO_SAPIENS/GRCh38.p13.genome.fa \
3 --regions_csv ./data/finetune_regions.csv \
4 --bigwig_paths ./data/sample_atac.bw \
5 --output_dir ./finetuned_model \
6 --num_steps 1000 \
7 --batch_size 2OneScience-Group/alphagenome_dataset to data/ under the model package. The default directory structure is as follows:1data/
2 reference/
3 HOMO_SAPIENS/
4 GRCh38.p13.genome.fa
5 GRCh38.p13.genome.fa.fai
6 v1/
7 train/
8 ...reference/HOMO_SAPIENS/GRCh38.p13.genome.fa is the human reference genome FASTA..fai is the FASTA index file.v1/train/ is the data directory used for track prediction evaluation.chromosome,start,end, as well as one or more BigWig signal files.| Platform | OneScience Main Repository | Skills Repository |
|---|---|---|
| Gitee | https://gitee.com/onescience-ai/onescience | https://gitee.com/onescience-ai/oneskills |
| GitHub | https://github.com/onescience-ai/OneScience | https://github.com/onescience-ai/oneskills |