Skip to content

Commit 86b2018

Browse files
committed
update paper
1 parent 76c5ac3 commit 86b2018

File tree

12 files changed

+1037
-29
lines changed

12 files changed

+1037
-29
lines changed

paper/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DRB1_prot.txt

paper/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@
1717
# Continously rebuild each time we make an edit
1818
typst watch main.typ
1919

20-
20+
# For diagrams, install d2:
21+
#
22+
# go install oss.terrastruct.com/d2@latest

paper/diagram.d2

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
2+
direction: right
3+
4+
reads -> caller
5+
caller -> genotypes
6+
provider -> genotypes
7+
genotypes -> hlabud
8+
imgt -> hlabud
9+
hlabud -> onehot
10+
hlabud -> matrix
11+
#onehot -> regression
12+
#onehot -> dimred
13+
14+
matrix: |md
15+
**Amino acid position matrix**
16+
```
17+
Ind pos75 ...
18+
1 F
19+
2 Y
20+
```
21+
|
22+
23+
onehot: |md
24+
**One-hot encoding**
25+
```
26+
Ind pos75_Y ...
27+
1 0
28+
2 1
29+
```
30+
|
31+
32+
imgt: {
33+
label: "IMGT/HLA Database"
34+
#label.near: outside-top-center
35+
shape: image
36+
icon: imgt4.png
37+
width: 300
38+
#icon.near: bottom-center
39+
}
40+
41+
reads: |md
42+
**Sequencing Reads**
43+
- DNA-seq
44+
- RNA-seq
45+
- scRNA-seq
46+
|
47+
48+
provider: |md
49+
**Commercial HLA Typing**
50+
- Next Genration Sequencing
51+
- Molecular Assay
52+
|
53+
54+
caller: |md
55+
**Genotype Software**
56+
- arcasHLA
57+
- OptiType
58+
- seq2HLA
59+
|
60+
61+
genotypes: |md
62+
**Genotypes**
63+
```
64+
HLA-A
65+
01:01,02:01
66+
01:01,02:01
67+
01:01,02:01
68+
```
69+
|
70+
71+
hlabud: {
72+
label : ""
73+
label.near: top-center
74+
shape: image
75+
icon: logo.png
76+
}
77+

paper/diagram.png

197 KB
Loading

paper/diagram.svg

Lines changed: 888 additions & 0 deletions
Loading

paper/imgt.png

101 KB
Loading

paper/imgt2.png

62.1 KB
Loading

paper/imgt3.png

33.8 KB
Loading

paper/imgt4.png

16.6 KB
Loading

paper/justfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
pdf: diagram
2+
typst compile main.typ
3+
4+
fontr := "/Users/ks38/Library/Fonts/NotoSans-Regular.ttf"
5+
fontb := "/Users/ks38/Library/Fonts/NotoSans-Bold.ttf"
6+
fonti := "/Users/ks38/Library/Fonts/NotoSans-Italic.ttf"
7+
8+
layout := "elk"
9+
10+
diagram:
11+
d2 -t 1 --layout={{layout}} --font-regular={{fontr}} --font-bold={{fontb}} --font-italic={{fonti}} diagram.d2 diagram.svg
12+
d2 -t 1 --layout={{layout}} diagram.d2 diagram.png
13+
convert diagram.png -trim diagram.png
14+

0 commit comments

Comments
 (0)