Expression, Regulatory Tracks and Contact Maps¶
See the FAQ for dependencies, checkpoints and runtime configuration.
1) RNA-seq coverage and expression¶
- Purpose: Predict RNA-seq coverage and gene-expression tracks from DNA sequences.
- Prediction method: Run direct inference with the official AlphaGenome all-folds weights and the
RNA_SEQoutput. Short sequences are centered and padded withNto an officially supported context length; useontology_termsto restrict tissues or cell types. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="rna_seq")[required], backend[optional]) - Input:
BiologicalSequence; alternatively useVariantContextwithpredict_variant_effects()to obtain REF, ALT, and ALT−REF tracks. Human and mouse are supported. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="rna_seq",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["axes"])
- Example output (schematic structure):
2) CAGE transcription initiation and expression¶
- Purpose: Predict CAGE signals describing capped-transcript initiation sites and expression levels.
- Prediction method: The official AlphaGenome
CAGEhead directly produces a position × track matrix;ontology_termsfilters target tissues or cell types. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="cage")[required], backend[optional]) - Input:
BiologicalSequenceor a single-SNVVariantContext. Sequences may be up to 1,048,576 bp; human and mouse are supported. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="cage",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["axes"])
- Example output (schematic structure):
3) PRO-cap nascent transcription initiation¶
- Purpose: Predict PRO-cap nascent RNA 5′-end signals to locate active transcription initiation.
- Prediction method: Run the official AlphaGenome
PROCAPoutput head directly. Output resolution is recorded inmetadata["resolution_bp"]. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="procap")[required], backend[optional]) - Input:
BiologicalSequenceorVariantContext. Setorganismandontology_termsas needed. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="procap",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["resolution_bp"])
- Example output (schematic structure):
4) ATAC-seq chromatin accessibility¶
- Purpose: Predict ATAC-seq open-chromatin tracks to identify potentially accessible regulatory regions.
- Prediction method: Run the official AlphaGenome
ATACoutput head directly, returning accessibility signals by position for different tissues or cell types. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="atac")[required], backend[optional]) - Input:
BiologicalSequenceor aVariantContextcontaining exactly one base change. Useontology_termsto restrict tracks. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="atac",
ontology_terms=("UBERON:0002048",),
),
)
output = result.records[0].output
print(output.values.shape)
print(output.output_names[:2])
- Example output (schematic structure):
(<number of positions or bins>, <number of filtered ATAC-seq tracks>)
(<first two official track names>,)
5) DNase-seq chromatin accessibility¶
- Purpose: Predict DNase-seq hypersensitivity signals describing chromatin accessibility.
- Prediction method: Run the official AlphaGenome
DNASEoutput head directly. Short inputs are centered and padded; padding lengths are recorded in result metadata. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="dnase")[required], backend[optional]) - Input:
BiologicalSequenceorVariantContext. Selectorganism="human"or"mouse". - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="dnase",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["input_length"])
- Example output (schematic structure):
6) Histone modifications¶
- Purpose: Predict histone ChIP-seq tracks describing histone modification signals across a sequence region.
- Prediction method: Run the official AlphaGenome
CHIP_HISTONEoutput head directly, returning a position × histone-track matrix. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="chip_histone")[required], backend[optional]) - Input:
BiologicalSequenceorVariantContext. Select outputs by species and ontology term. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="chip_histone",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["axes"])
- Example output (schematic structure):
7) Transcription factor binding¶
- Purpose: Predict transcription factor ChIP-seq binding tracks to locate potential binding signals.
- Prediction method: Run the official AlphaGenome
CHIP_TFoutput head directly, returning a position × transcription-factor-track matrix. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="chip_tf")[required], backend[optional]) - Input:
BiologicalSequenceorVariantContext. Useontology_termsto restrict tissues or cell types. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="chip_tf",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.output_names[:2])
- Example output (schematic structure):
8) 3D DNA contact maps¶
- Purpose: Predict 3D DNA contact probability maps between chromatin regions.
- Prediction method: Run the official AlphaGenome
CONTACT_MAPSoutput head directly, producing two position axes and one track axis. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="alphagenome", task="contact_maps")[required], backend[optional]) - Input:
BiologicalSequenceorVariantContext; variant results add a leading REF, ALT, ALT−REF axis. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="alphagenome",
task="contact_maps",
organism="human",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["axes"])
- Example output (schematic structure):
(<number of bins>, <number of bins>, <number of contact-map tracks>)
('position_1', 'position_2', 'track')
9) Human regulatory tracks¶
- Purpose: Predict 5,313 human CAGE, DNase/ATAC, transcription factor ChIP, and histone ChIP tracks.
- Prediction method: Run public pretrained Enformer weights directly. By default, center and pad the input with
Nto 196,608 bp and return 896 bins of 128 bp. - API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="enformer", task="human_tracks")[required], backend[optional]) - Input:
BiologicalSequence; alternatively useVariantContextwithpredict_variant_effects()for REF, ALT, and ALT−REF.max_lengthmust be a multiple of 128 in the range 114,688–393,216. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="enformer",
task="human_tracks",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["bin_size_bp"])
- Example output (default context):
10) Mouse regulatory tracks¶
- Purpose: Predict 1,643 mouse CAGE, DNase/ATAC, transcription factor ChIP, and histone ChIP tracks.
- Prediction method: Run Enformer’s mouse output head directly with a default context of 196,608 bp and tracks binned at 128 bp.
- API:
dnakit.predictions.predict_sequence_properties(inputs[required], config=PropertyPredictionConfig(model="enformer", task="mouse_tracks")[required], backend[optional]) - Input:
BiologicalSequenceor a single-SNVVariantContext. Short inputs are automatically centered withNpadding at both ends. - Output: Returns
PropertyPredictionResult; each entry inrecordshas predictionoutput_names, numericvalues, and related metadata. - Example code:
from dnakit.predictions import (
BiologicalSequence,
PropertyPredictionConfig,
predict_sequence_properties,
)
result = predict_sequence_properties(
[BiologicalSequence("mouse-region-1", "ACGT" * 4096)],
config=PropertyPredictionConfig(
model="enformer",
task="mouse_tracks",
),
)
output = result.records[0].output
print(output.values.shape)
print(output.metadata["organism"])
- Example output (default context):
11) Predict multimodal genomic tracks with AlphaGenome¶
- Purpose: Predict multimodal genomic tracks with AlphaGenome.
- Method: Use
AlphaGenometo query or submit the supplied input and parse the response. - API:
dnakit.databases.alpha_genome_predict_interval(*, chromosome, start, end, output_types=None, ontology_terms=None, organism=None, sequence_length=None, verbose=True) - Input: Provide
chromosome,start,end. Configure:ALPHA_GENOME_API_KEY. - Output: Returns a mapping with
interval,tracksand related fields. - Example code:
import dnakit
result = dnakit.databases.alpha_genome_predict_interval(
chromosome='chr19',
start=40991281,
end=41018398,
output_types=['RNA_SEQ', 'ATAC'],
verbose=False,
)
print(result)
- Example output: The response has the following shape; records depend on the input and source.
Response-shape excerpt; <…> denotes type placeholders, not a captured query result.