danieltslz commited on
Commit
ea4d1ee
·
verified ·
1 Parent(s): 3f195a3

Update data/embeddings/basenji2_tss_131kb_human_central3/README.md

Browse files
data/embeddings/basenji2_tss_131kb_human_central3/README.md CHANGED
@@ -43,7 +43,7 @@
43
 
44
  ### Source and interpretation
45
 
46
- This embedding is a gene-level regulatory DNA representation derived from Basenji2 predictions around each gene transcription start site. In this project, it was generated locally from master-table GRCh38 gene coordinates and reference-genome TSS windows. It was not downloaded as a ready gene-level embedding table.
47
 
48
  The model used was a PyTorch implementation of Basenji2 with pretrained basenji2.pth weights. For each gene, a 131,072 bp window centered on the transcription start site was generated from the GRCh38 reference genome. The DNA sequence was one-hot encoded in channels-first format and passed through the Basenji2 model. The human-track output was used, and the central 3 output bins around the TSS were averaged. The resulting 5,313 human-track values were transformed with log1p and then z-scored dimension-wise across genes to create the final embedding matrix.
49
 
@@ -91,9 +91,7 @@ For each gene in the master table:
91
 
92
  ### Important implementation decisions
93
 
94
- The final run used the full master table with 20,097 genes. An earlier smoke-test output with shape 2 x 5,313 was removed before the full run, so the final public output is not contaminated by the smoke test.
95
-
96
- The model input used channels-first one-hot DNA, with shape batch x 4 x 131072, matching the basenji2-pytorch implementation used in this project.
97
 
98
  The central 3 output bins around the TSS were averaged instead of taking a single bin. This reduces single-bin noise while keeping the representation local to the TSS.
99
 
 
43
 
44
  ### Source and interpretation
45
 
46
+ This embedding is a gene-level regulatory DNA representation derived from Basenji2 predictions around each gene transcription start site. It was generated locally from master-table GRCh38 gene coordinates and reference-genome TSS windows.
47
 
48
  The model used was a PyTorch implementation of Basenji2 with pretrained basenji2.pth weights. For each gene, a 131,072 bp window centered on the transcription start site was generated from the GRCh38 reference genome. The DNA sequence was one-hot encoded in channels-first format and passed through the Basenji2 model. The human-track output was used, and the central 3 output bins around the TSS were averaged. The resulting 5,313 human-track values were transformed with log1p and then z-scored dimension-wise across genes to create the final embedding matrix.
49
 
 
91
 
92
  ### Important implementation decisions
93
 
94
+ The model input used channels-first one-hot DNA, with shape batch x 4 x 131072.
 
 
95
 
96
  The central 3 output bins around the TSS were averaged instead of taking a single bin. This reduces single-bin noise while keeping the representation local to the TSS.
97