Datasets:
kmer large_stringlengths 8 8 | gc int64 0 8 | cpg int64 0 4 | host_weight float32 -62.01 94.8 | engineered_weight float32 -121.91 117 | origin_human float32 -47.32 91.3 | origin_eukaryote float32 -72.45 101 | origin_bacteria float32 -76.67 98.6 | origin_virus float32 -64.47 90.4 | origin_engineered float32 -80.59 86.7 |
|---|---|---|---|---|---|---|---|---|---|
AAAAAAAA | 0 | 0 | -0.0306 | 0.539031 | -0.122629 | 0.141451 | -0.538693 | -0.223018 | 0.742888 |
AAAAAAAC | 1 | 0 | -5.093966 | 7.621994 | -4.756366 | 1.99735 | -2.342215 | -4.625342 | 9.726573 |
AAAAAAAG | 1 | 0 | -1.044961 | 6.320747 | -1.267668 | 3.929476 | 3.031938 | -11.985662 | 6.291915 |
AAAAAAAT | 0 | 0 | -6.707515 | 13.72449 | -4.277109 | -0.344627 | 0.661644 | -16.51285 | 20.47294 |
AAAAAACA | 1 | 0 | -4.231857 | -4.408597 | -1.762459 | 6.967702 | 3.368317 | -3.906393 | -4.667168 |
AAAAAACC | 2 | 0 | -7.399032 | 28.985727 | -6.038637 | -14.433556 | 5.261971 | -9.937788 | 25.148008 |
AAAAAACG | 2 | 1 | 0.15412 | 18.268999 | -0.073722 | -7.084428 | -0.563291 | -6.303743 | 14.025183 |
AAAAAACT | 1 | 0 | -11.844507 | 9.835706 | -8.21805 | -2.815099 | 8.583233 | -1.83239 | 4.282307 |
AAAAAAGA | 1 | 0 | 0.587789 | -3.998288 | 2.521585 | 3.188845 | 19.616489 | -18.428829 | -6.89809 |
AAAAAAGC | 2 | 0 | -6.334427 | 19.035028 | 0.162941 | -13.013526 | 16.928566 | -16.523588 | 12.445606 |
AAAAAAGG | 2 | 0 | 9.883867 | -2.77375 | 13.839609 | -5.954167 | 63.468185 | -59.154236 | -12.19939 |
AAAAAAGT | 1 | 0 | -4.441935 | -4.792152 | 0.044161 | 5.344127 | 25.188744 | -19.037161 | -11.539871 |
AAAAAATA | 0 | 0 | -7.339648 | 3.663532 | -4.357696 | 1.256676 | 3.033122 | -4.329034 | 4.396931 |
AAAAAATC | 1 | 0 | -6.688121 | 1.473978 | -3.558209 | 0.241541 | 9.253706 | -6.661519 | 0.724482 |
AAAAAATG | 1 | 0 | 1.219355 | -6.391637 | 3.74758 | 6.562313 | -11.161712 | -5.775261 | 6.627079 |
AAAAAATT | 0 | 0 | -6.186892 | 2.388768 | -2.983556 | 2.657414 | 9.400362 | -13.304085 | 4.229864 |
AAAAACAA | 1 | 0 | -6.040509 | -2.069949 | -2.975617 | 1.301597 | 5.4592 | 1.262554 | -5.047734 |
AAAAACAC | 2 | 0 | 1.305135 | 16.36636 | 2.321762 | -12.447218 | 0.12639 | -3.764675 | 13.763741 |
AAAAACAG | 2 | 0 | 1.48012 | 15.407229 | 4.226769 | -13.833879 | 11.343736 | -8.107254 | 6.370628 |
AAAAACAT | 1 | 0 | 4.857618 | -14.004801 | 4.922264 | 32.222412 | -5.983963 | -44.639145 | 13.47843 |
AAAAACCA | 2 | 0 | -8.860015 | -4.632753 | -4.7334 | 0.853774 | 4.680652 | 7.222572 | -8.023598 |
AAAAACCC | 3 | 0 | -6.459668 | 12.966599 | -4.099092 | -6.507973 | 0.529929 | 1.668753 | 8.408383 |
AAAAACCG | 3 | 1 | -6.144413 | 15.136157 | -3.882426 | -6.491747 | 6.751948 | -10.855444 | 14.477669 |
AAAAACCT | 2 | 0 | 3.699788 | 9.381947 | 2.892722 | -3.047856 | 0.59142 | -9.270253 | 8.833968 |
AAAAACGA | 2 | 1 | -22.895971 | 27.411789 | -23.138821 | 14.216323 | 4.267125 | -21.740141 | 26.395514 |
AAAAACGC | 3 | 1 | -20.730247 | 33.077206 | -11.73629 | -15.589855 | 12.72167 | 5.23962 | 9.364854 |
AAAAACGG | 3 | 1 | -24.582451 | 63.038467 | -19.804749 | -20.310156 | 11.749588 | -6.856183 | 35.2215 |
AAAAACGT | 2 | 1 | -1.342105 | 14.165727 | -1.329758 | -4.305134 | 0.863057 | -10.161791 | 14.933626 |
AAAAACTA | 1 | 0 | -5.707683 | 5.21909 | -4.071024 | 1.451721 | 7.869094 | -10.370569 | 5.120778 |
AAAAACTC | 2 | 0 | -50.61829 | -29.478678 | -27.345312 | 15.104149 | 2.107014 | 40.957554 | -30.823406 |
AAAAACTG | 2 | 0 | 2.768017 | -2.523626 | 2.957958 | -0.845485 | 2.922185 | -4.225673 | -0.808985 |
AAAAACTT | 1 | 0 | -14.086244 | 16.910208 | -5.645686 | -18.628601 | 27.569 | 3.767367 | -7.062079 |
AAAAAGAA | 1 | 0 | -0.305634 | 0.516523 | 0.177746 | 4.592293 | 4.978211 | -10.687988 | 0.939737 |
AAAAAGAC | 2 | 0 | 15.957179 | -4.99328 | 20.252899 | -6.434113 | 19.878119 | -40.030418 | 6.333513 |
AAAAAGAG | 2 | 0 | 2.418517 | -3.972098 | 2.862022 | 0.00692 | 5.252139 | -5.312975 | -2.808106 |
AAAAAGAT | 1 | 0 | -6.95838 | 9.863975 | -0.088835 | -10.176001 | 21.219048 | -7.994287 | -2.959925 |
AAAAAGCA | 2 | 0 | -7.150661 | 20.652208 | 2.053954 | -22.265293 | 26.301586 | -9.717873 | 3.627626 |
AAAAAGCC | 3 | 0 | -0.035062 | 29.835758 | 3.582291 | -22.686804 | 4.129655 | -9.642583 | 24.617441 |
AAAAAGCG | 3 | 1 | -6.500876 | 7.463407 | -4.139565 | -4.098502 | 11.156503 | -4.159531 | 1.241094 |
AAAAAGCT | 2 | 0 | -3.593819 | 5.767755 | -1.55436 | -2.018178 | 18.294804 | -16.814039 | 2.091774 |
AAAAAGGA | 2 | 0 | 11.813993 | -9.104757 | 9.078984 | 6.605959 | 2.921718 | -20.8085 | 2.201838 |
AAAAAGGC | 3 | 0 | -5.03824 | 3.775941 | -1.66155 | -0.612797 | 3.878567 | -8.733813 | 7.129593 |
AAAAAGGG | 3 | 0 | -5.403455 | 9.706479 | -2.114278 | -6.787334 | 4.49384 | -2.556594 | 6.964365 |
AAAAAGGT | 2 | 0 | -10.126125 | 0.14358 | -5.429202 | -0.724996 | 12.658194 | -5.1123 | -1.391696 |
AAAAAGTA | 1 | 0 | -7.383914 | 8.716399 | -3.050946 | -7.758667 | 24.693113 | -12.350449 | -1.533051 |
AAAAAGTC | 2 | 0 | -4.560351 | -72.94397 | -3.10247 | 54.250576 | 30.25441 | -37.681881 | -43.720634 |
AAAAAGTG | 2 | 0 | -4.840018 | -3.160076 | -2.521125 | 8.012836 | 10.943163 | -11.101671 | -5.333202 |
AAAAAGTT | 1 | 0 | -4.04857 | 5.251848 | -0.550697 | 0.325843 | 9.284435 | -14.88903 | 5.82945 |
AAAAATAA | 0 | 0 | -5.990303 | 1.993355 | -5.217611 | 8.130276 | -2.82178 | -6.161838 | 6.070954 |
AAAAATAC | 1 | 0 | -1.042528 | 17.608223 | 0.261279 | -13.264397 | 8.591957 | -0.797591 | 5.208751 |
AAAAATAG | 1 | 0 | -5.465526 | 12.939802 | -4.071286 | -2.003309 | 1.840532 | -7.82016 | 12.054223 |
AAAAATAT | 0 | 0 | -6.311709 | 0.786352 | -1.493309 | -3.053096 | 11.900305 | -4.353701 | -3.000198 |
AAAAATCA | 1 | 0 | 0.581151 | -3.679409 | 3.611681 | -2.085722 | 1.281192 | -0.837719 | -1.969432 |
AAAAATCC | 2 | 0 | -12.025484 | -7.39003 | -8.160728 | 8.834116 | 16.048315 | -11.536798 | -5.184904 |
AAAAATCG | 2 | 1 | -17.516668 | 18.876085 | -10.228028 | -5.633852 | 53.125027 | -49.681618 | 12.41847 |
AAAAATCT | 1 | 0 | -9.655203 | 0.626635 | -3.796727 | 1.282472 | 10.404387 | -10.831196 | 2.941062 |
AAAAATGA | 1 | 0 | -2.994004 | -19.365084 | 2.782991 | 6.444297 | 10.552024 | -2.486251 | -17.293062 |
AAAAATGC | 2 | 0 | -13.185334 | 7.11523 | -11.119602 | 5.706317 | 4.791405 | -3.42781 | 4.04969 |
AAAAATGG | 2 | 0 | -0.439625 | -12.286693 | 3.523252 | 2.053695 | 8.064164 | -8.15465 | -5.486461 |
AAAAATGT | 1 | 0 | -0.827394 | -10.103532 | 1.23309 | 6.275602 | 8.090843 | -7.259689 | -8.339846 |
AAAAATTA | 0 | 0 | -6.708255 | 5.735098 | -4.222773 | 2.207237 | 2.17725 | -9.519336 | 9.357621 |
AAAAATTC | 1 | 0 | -6.103982 | 17.099213 | -2.084378 | -7.283699 | -1.253631 | -0.367667 | 10.989375 |
AAAAATTG | 1 | 0 | -12.721487 | 5.704726 | -6.508561 | -1.065017 | 19.071257 | -15.706411 | 4.208731 |
AAAAATTT | 0 | 0 | -5.28368 | -2.071171 | -2.427377 | 5.110942 | 0.912675 | -5.508926 | 1.912686 |
AAAACAAA | 1 | 0 | -4.302124 | 1.798535 | 0.314851 | -5.435818 | 5.987931 | -2.163548 | 1.296584 |
AAAACAAC | 2 | 0 | -9.614362 | -9.725704 | -3.167184 | 6.51268 | 13.769414 | -3.709253 | -13.405658 |
AAAACAAG | 2 | 0 | -7.345891 | -4.170265 | 1.04218 | -1.990268 | 4.252026 | 3.814842 | -7.11878 |
AAAACAAT | 1 | 0 | -7.595273 | 21.590368 | -3.38132 | -10.073391 | 1.946007 | -1.957912 | 13.466616 |
AAAACACA | 2 | 0 | 32.06039 | -3.832306 | 20.885897 | 4.359003 | -12.650849 | -31.139231 | 18.545181 |
AAAACACC | 3 | 0 | -3.834121 | 7.509918 | -1.911763 | -4.479838 | 3.186101 | 0.580012 | 2.625489 |
AAAACACG | 3 | 1 | -11.747425 | 26.395823 | -10.760496 | -7.678221 | 10.197175 | -7.175388 | 15.416929 |
AAAACACT | 2 | 0 | -3.077101 | 2.969358 | -0.304698 | -3.880547 | 1.336535 | 3.942739 | -1.09403 |
AAAACAGA | 2 | 0 | -20.116226 | 31.794456 | -4.887867 | -37.481117 | 53.636787 | 12.431008 | -23.698812 |
AAAACAGC | 3 | 0 | 6.622504 | 1.90385 | 8.330507 | -5.846885 | 3.358053 | -6.816061 | 0.974387 |
AAAACAGG | 3 | 0 | 14.069731 | -56.683613 | 17.592886 | 23.581841 | 11.194065 | -20.656996 | -31.711794 |
AAAACAGT | 2 | 0 | 6.841012 | 9.740832 | 7.63992 | -12.365607 | 5.92298 | -10.705248 | 9.507957 |
AAAACATA | 1 | 0 | 27.918793 | 22.570532 | 27.190195 | -14.314431 | -45.22567 | -7.755112 | 40.105015 |
AAAACATC | 2 | 0 | 0.554367 | -4.350819 | 2.922516 | -1.994015 | 13.900516 | -5.977503 | -8.851513 |
AAAACATG | 2 | 0 | 0.833245 | -6.20275 | 0.350632 | 3.474262 | -5.465754 | 6.213147 | -4.572288 |
AAAACATT | 1 | 0 | 1.093146 | -6.444288 | 3.040992 | 4.748432 | 8.54878 | -8.274904 | -8.063299 |
AAAACCAA | 2 | 0 | -8.647772 | -6.46031 | -2.221269 | -3.872207 | 13.526477 | 6.504454 | -13.937454 |
AAAACCAC | 3 | 0 | 3.649235 | 9.174251 | 2.769126 | -4.266032 | -11.752296 | 4.248507 | 9.000696 |
AAAACCAG | 3 | 0 | -2.962278 | 5.490771 | -2.302083 | -1.200298 | -0.972591 | 0.818227 | 3.656744 |
AAAACCAT | 2 | 0 | -27.068047 | -70.876854 | -8.484292 | 35.345448 | 29.053333 | 5.730019 | -61.644508 |
AAAACCCA | 3 | 0 | -0.087742 | 4.448978 | 9.497306 | -24.619173 | 21.792425 | -5.24857 | -1.421984 |
AAAACCCC | 4 | 0 | -8.134995 | 37.417423 | 2.051448 | -22.293171 | -22.0704 | 5.009657 | 37.302467 |
AAAACCCG | 4 | 1 | -9.357286 | 7.160782 | -5.844775 | -0.551034 | -11.453008 | 9.104058 | 8.74476 |
AAAACCCT | 3 | 0 | -4.606813 | 2.611403 | 0.72191 | -5.68274 | 3.776636 | 9.25168 | -8.067486 |
AAAACCGA | 3 | 1 | -7.555546 | 1.850046 | 6.819416 | -8.929154 | 27.037506 | -35.377037 | 10.449269 |
AAAACCGC | 4 | 1 | -6.002454 | 14.713122 | -4.202064 | -5.241363 | 4.449793 | -3.770949 | 8.764584 |
AAAACCGG | 4 | 1 | -10.512726 | 15.636678 | 3.928739 | -20.796932 | 31.961374 | -14.154288 | -0.938893 |
AAAACCGT | 3 | 1 | -2.440263 | 12.017807 | -0.62143 | -12.30763 | 1.793448 | 2.324753 | 8.810859 |
AAAACCTA | 2 | 0 | -11.781506 | 58.204887 | -1.459574 | -47.793129 | 26.301397 | -4.271623 | 27.222925 |
AAAACCTC | 3 | 0 | 5.080365 | -2.118831 | 3.684338 | -0.362735 | -0.426752 | -2.016474 | -0.878377 |
AAAACCTG | 3 | 0 | 5.090702 | 7.388981 | 4.893253 | -1.892262 | -12.690229 | -6.179198 | 15.868435 |
AAAACCTT | 2 | 0 | 17.405001 | 33.215664 | 9.217114 | -2.978774 | -13.757015 | -44.040016 | 51.558693 |
AAAACGAA | 2 | 1 | -0.864457 | 22.439669 | -0.000315 | -11.340163 | -6.279219 | -2.737024 | 20.35672 |
AAAACGAC | 3 | 1 | -0.61121 | -1.280018 | -0.904024 | 2.648623 | -1.892812 | -0.633023 | 0.781236 |
AAAACGAG | 3 | 1 | -13.436192 | 54.31617 | -16.747147 | -12.250773 | 7.878748 | -7.576734 | 28.695906 |
AAAACGAT | 2 | 1 | -18.248098 | -15.620471 | -16.515522 | 37.141808 | -21.336727 | 8.307382 | -7.59694 |
dna-origin-atlas
The learned weights of dna-origin-classifier as an interpretable table: one row for each of the 65,536 8-mers, with the weight that 8-mer carries in each classifier head. It is the model's parameters presented as readable data, the genomic signature of DNA origin written out 8-mer by 8-mer.
Schema
| field | description |
|---|---|
| kmer | the 8-mer (ACGT) |
| gc | number of G or C bases (0-8) |
| cpg | number of CpG dinucleotides in the 8-mer |
| host_weight | weight in the host head: positive pushes toward human, negative toward non-host |
| engineered_weight | weight in the engineered head: positive pushes toward engineered, negative toward natural |
| origin_human, origin_eukaryote, origin_bacteria, origin_virus, origin_engineered | weight of the 8-mer in each class of the 5-way origin head |
Weights are the effective weight on each 8-mer's within-sequence frequency (the model's stored weight divided by its per-feature scale), so a sequence's head score is the frequency-weighted sum of these values. Larger magnitude means a more decisive 8-mer.
What it shows
The dominant axis of human-vs-non-host discrimination is the methylation signature. CpG-bearing
8-mers carry a mean host_weight of -6.47, pushing toward non-host, against +0.27 for 8-mers
without CpG. This is the vertebrate CpG-depletion left by cytosine methylation and deamination,
recovered as a number from a model that was only ever shown labeled sequence. The most
human-pushing 8-mers are GC-rich and CpG-free; the most bacterial-pushing are CpG-rich.
Usage
import pandas as pd
df = pd.read_parquet("data.parquet")
df.sort_values("host_weight", ascending=False).head(20) # most human-characteristic 8-mers
df.sort_values("engineered_weight", ascending=False).head(20) # synthetic-biology signature
df.groupby(df.cpg > 0)["host_weight"].mean() # the CpG effect
Provenance
Derived directly from the weights of phanerozoic/dna-origin-classifier (MIT), which is fit on
phanerozoic/dna-origin-benchmark.
The chain is reproducible: the benchmark builds the model, the model's weights are this atlas.
License
MIT.
- Downloads last month
- -