Commit 5de7db0
authored
Update Example Data (#244)
* fix(fpkm): update imports for zFPKM calculation improvements
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix(fpkm): use Salmon quantification instead of STAR quantification
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: ruff formatting
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: fill with integers for faster processing
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: remove unnecessary async function usage
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix: remove non existant genes from conversion
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* refactor: use more explicit (albeit longer) code to create gene_info dataframe object
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: import required modules
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* refactor: optional argument for fragment data
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* refactor: improve handling for single cell data
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: generalize data type input
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: ruff formatting
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: simplify FPKM/RPKM calculations; properly compute per-gene FPKM scores
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* refactor: move zfpkm calculation to external package
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: use np.bool for boolean array
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: ruff formatting
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* feat: allow setting negative zFPKM results to 0
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* feat: simplification to use external zfpkm package
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* feat: allow providing the fragment size filepath (from rnaseq preprocessing)
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore(ruff): reduce max line length
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore(ruff): mark unsorted imports as fixable
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore(uv): lock pyproject file
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix: rename count to quant in testing files
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* feat: add single cell normalization using scanpy defaults
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix: test new quant information
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix: test new quant information
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: use quant files instead of strand files
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: use quant files instead of strand files
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: updated COMO_input files for naiveB to use updated FastqToGeneCounts information
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* feat: added Salmon quantification data for naive B
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore: use `_read_file` function to read data
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix(tests): remove 1 from expected gene names to fix header
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix(tests): use `endswith` instead of `is in`
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* fix(tests): Use missing file appropriately
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore(uv): Use dependency groups
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* revert: use synchronous programming for more deterministic usage
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore(type): fix pyrefly type errors
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* chore(type): fix ruff & pyrefly issues
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* refactor: rename `_log_and_raise_error` to `log_and_raise_error`
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
* refactor: rename `_read_file` to `read_file`
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
---------
Signed-off-by: Josh Loecker <joshloecker@icloud.com>1 parent 6e632c1 commit 5de7db0
10 files changed
Lines changed: 499 additions & 488 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
0 commit comments