executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
training-custom-modelsPlan DeepVariant labeled-example generation, custom training, fine-tuning, checkpoint export, and customized-model handoff.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a user wants to prepare labeled DeepVariant training examples, train or fine-tune a Keras model, choose a dv_config config, package checkpoints or SavedModels, or use a trained model through DeepVariant custom-model flags.
Do not use this sub-skill for routine single-sample inference commands; route those to ../germline-calling/SKILL.md. Route lower-level sharded TFRecord mechanics, non-training make_examples questions, and wrapper dry-run decomposition to ../pipeline-stages/SKILL.md. Treat full Beam/Dataflow/cloud pipelines as reference-only planning unless the user explicitly approves cost, credentials, network, and runtime changes.
make_examples --mode training with --truth_variants, --confident_regions, compatible indexed reads/reference/truth files, and an explicit train/tune/test split.*.example_info.json from example generation and the directory-level example_info.json after shuffling; these files define shape/channel contracts for training and custom inference.--channel_list, model input shape, warm-start checkpoint, final checkpoint or SavedModel, and model.example_info.json before recommending --customized_model.references/training-workflows.md covers labeled example generation, split design, shuffling, dataset config files, training/fine-tuning, export, and held-out inference handoff.references/configs-and-checkpoints.md summarizes DeepVariant dv_config names, dataset pbtxt contracts, checkpoint/SavedModel differences, example_info.json naming, and --customized_model metadata rules.references/troubleshooting.md maps common training failures to checks and recovery steps for truth data, channel shape, checkpoints, runtimes, leakage, and Beam/Dataflow.Use the bundled helper for dependency-light planning and metadata review:
python scripts/training_config_summary.py --help
Run commands from this sub-skill directory, or adjust the script path to wherever the skill is installed. Useful checks:
python scripts/training_config_summary.py list-configs
python scripts/training_config_summary.py validate-dataset train.dataset_config.pbtxt
python scripts/training_config_summary.py inspect-example-info example_info.json --expect-wgs-insert-size
python scripts/training_config_summary.py compare-example-info train/example_info.json tune/example_info.json
The helper never imports DeepVariant, TensorFlow, Keras, Apache Beam, or genomics IO libraries. It does not read TFRecords, inspect checkpoint tensors, train a model, submit Beam/Dataflow jobs, or validate biological truth quality.
make_examples --mode training only when the reference FASTA, reads, truth VCF/BCF, confident BED, and selected regions use the same reference build and contig naming.BASE_CHANNELS,insert_size usually yields shape [100, 221, 7] with channel enum ids [1, 2, 3, 4, 5, 6, 19].base, wgs, exome, pacbio, ont, hybrid, rnaseq, or pangenome_wgs; override dataset pbtxt paths, checkpoint, epochs, batch size, learning rate, and validation settings explicitly.model.example_info.json or pass the wrapper's explicit custom-model JSON flag.--disable_small_model during held-out custom-model evaluation when the goal is to force all candidates through the trained CNN.The minimal inspected package fact for this skill is DeepVariant version 1.10.0 with lightweight Python import available. The minimal inspection environment did not include TensorFlow/Keras runtime support, so future agents must not treat import success as proof that training, conversion, or inference binaries are runnable. Do not silently install TensorFlow, pull containers, download training data, enable cloud APIs, submit Dataflow jobs, mutate GPU drivers, or start expensive native tests without user approval.