Skip to content

Commit 8a046c5

Browse files
committed
Add initial public release
0 parents  commit 8a046c5

107 files changed

Lines changed: 40614 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
results/*/*.ipynb filter=lfs diff=lfs merge=lfs -text
2+
results/*/figures/*.png filter=lfs diff=lfs merge=lfs -text

.github/workflows/manuscript.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Render manuscript on change
2+
3+
on:
4+
push:
5+
paths:
6+
- 'docs/manuscript/**.typ'
7+
- 'docs/manuscript/pixi.lock'
8+
- 'results/*/figures/*'
9+
workflow_dispatch:
10+
11+
env:
12+
PIXI_VERSION: 0.15.1
13+
14+
jobs:
15+
render:
16+
name: Render manuscript
17+
runs-on: ubuntu-22.04
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
with:
22+
lfs: true
23+
- name: Cache pixi binary
24+
id: cache-pixi
25+
uses: actions/cache@v4
26+
with:
27+
path: ~/.local/bin/pixi
28+
key: cache-pixi-${{ env.PIXI_VERSION }}
29+
- if: ${{ steps.cache-pixi.outputs.cache-hit != 'true' }}
30+
name: Install pixi
31+
run: |
32+
mkdir --parents $HOME/.local/bin
33+
wget https://github.com/prefix-dev/pixi/releases/download/v${PIXI_VERSION}/pixi-x86_64-unknown-linux-musl --output-document=$HOME/.local/bin/pixi
34+
chmod u+x $HOME/.local/bin/pixi
35+
- name: Cache rattler cache
36+
uses: actions/cache@v4
37+
with:
38+
path: ~/.cache/rattler
39+
key: cache-rattler-manuscript-${{ hashFiles('docs/manuscript/pixi.lock') }}
40+
- name: Build environment
41+
run: $HOME/.local/bin/pixi install
42+
working-directory: docs/manuscript
43+
- name: Render manuscript
44+
run: $HOME/.local/bin/pixi run build
45+
working-directory: docs/manuscript
46+
- name: Upload manuscript as artifact
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: manuscript
50+
path: docs/manuscript/manuscript.pdf

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
tmp/
2+
3+
# Pixi
4+
.pixi/
5+
6+
# Python
7+
*.egg-info/
8+
__pycache__/
9+
*.py[cod]
10+
11+
# Vim
12+
*.swp
13+
.idea/
14+
15+
# IDE
16+
.vscode/
17+
18+
# Jupyter
19+
.ipynb_checkpoints/

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright © 2024 Travis Wrightsman
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Current genomic deep learning architectures generalize across grass species but not alleles
2+
3+
## Dependencies
4+
5+
- [Pixi](https://pixi.sh)
6+
- [git-lfs](https://git-lfs.github.com)

data/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
genomes/

data/samples.tsv

Lines changed: 700 additions & 0 deletions
Large diffs are not rendered by default.

docs/manuscript/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
manuscript.pdf
2+
.pixi/

docs/manuscript/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Manuscript
2+
3+
```
4+
pixi run build
5+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Non-coding regions of the genome are just as important as coding regions for understanding the mapping from genotype to phenotype.
2+
Interpreting deep learning models trained on RNA-seq is an emerging method to highlight functional sites within non-coding regions.
3+
Most of the work on RNA abundance models has been done within humans and mice, with little attention paid to plants.
4+
Here, we benchmark four genomic deep learning model architectures with genomes and RNA-seq data from 18 species closely related to maize and sorghum within the Andropogoneae.
5+
The Andropogoneae are a tribe of C4 grasses that have adapted to a wide range of environments worldwide since diverging 18 million years ago.
6+
Hundreds of millions of years of evolution across these species has produced a large, diverse pool of training alleles across species sharing a common physiology.
7+
As model input, we extracted 1,026 base pairs upstream of each gene’s translation start site.
8+
We held out maize as our test set and two closely related species as our validation set, training each architecture on the remaining Andropogoneae genomes.
9+
Within a panel of 26 maize lines, all architectures predict expression across genes moderately well but poorly across alleles.
10+
DanQ consistently ranked highest or second highest among all architectures yet performance was generally very similar across architectures despite orders of magnitude differences in size.
11+
This suggests that state-of-the-art supervised genomic deep learning models are able to generalize moderately well across related species but not sensitively separate alleles within species, the latter of which agrees with recent work within humans.
12+
We are releasing the preprocessed data and code for this work as a community benchmark to evaluate new architectures on our across-species and across-allele tasks.

0 commit comments

Comments
 (0)