biopipen 0.32.0__py3-none-any.whl → 0.32.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of biopipen might be problematic. Click here for more details.

biopipen/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.32.0"
1
+ __version__ = "0.32.1"
@@ -2,7 +2,7 @@
2
2
  {% from "utils/gsea.liq" import enrichr_report -%}
3
3
  <script>
4
4
  import { Image, DataTable, Descr } from "$libs";
5
- import { Accordion, AccordionItem, Tabs, Tab, TabContent } from "$ccs";
5
+ import { Accordion, AccordionItem, Tabs, Tab, TabContent, InlineNotification } from "$ccs";
6
6
  </script>
7
7
 
8
8
 
@@ -180,7 +180,7 @@ do_case <- function(name, case) {
180
180
  case$rest$maxSize <- case$maxsize
181
181
  case$rest$eps <- case$eps
182
182
  case$rest$nproc <- case$ncores
183
- runFGSEA(ranks, gmtfile, case$top, info$casedir, case$rest)
183
+ runFGSEA(ranks, case$gmtfile, case$top, info$casedir, case$rest)
184
184
 
185
185
  add_report(
186
186
  list(kind = "fgsea", dir = info$casedir),
@@ -414,7 +414,7 @@ do_one_features = function(name) {
414
414
  p = p + eval(parse(text = pls))
415
415
  }
416
416
  }
417
- figfile = file.path(odir, paste0(slugify(name), ".", slugify(case$kind), ".png"))
417
+ figfile = file.path(odir, paste0(slugify(name), ".", slugify(kind), ".png"))
418
418
  png(figfile, width=devpars$width, height=devpars$height, res=devpars$res)
419
419
  tryCatch({
420
420
  print(p)
@@ -35,10 +35,10 @@ rename_files = function(e, sample, path) {
35
35
  perform_cell_qc <- function(sobj, per_sample = FALSE) {
36
36
  log_prefix <- ifelse(per_sample, " ", "- ")
37
37
  log_info("{log_prefix}Adding metadata for QC ...")
38
- sobj$percent.mt <- PercentageFeatureSet(sobj, pattern = "^MT-")
39
- sobj$percent.ribo <- PercentageFeatureSet(sobj, pattern = "^RP[SL]")
40
- sobj$percent.hb <- PercentageFeatureSet(sobj, pattern = "^HB[^(P)]")
41
- sobj$percent.plat <- PercentageFeatureSet(sobj, pattern = "PECAM1|PF4")
38
+ sobj$percent.mt <- PercentageFeatureSet(sobj, pattern = "^MT-|^Mt-|^mt-")
39
+ sobj$percent.ribo <- PercentageFeatureSet(sobj, pattern = "^RP[SL]|^Rp[sl]")
40
+ sobj$percent.hb <- PercentageFeatureSet(sobj, pattern = "^HB[^P]|^Hb[^p]")
41
+ sobj$percent.plat <- PercentageFeatureSet(sobj, pattern = "PECAM1|PF4|Pecam1|Pf4")
42
42
 
43
43
  if (is.null(envs$cell_qc) || length(envs$cell_qc) == 0) {
44
44
  log_warn("{log_prefix}No cell QC criteria is provided. All cells will be kept.")
@@ -210,7 +210,7 @@ load_sample = function(sample) {
210
210
 
211
211
  if (isTRUE(envs$cell_qc_per_sample)) {
212
212
  log_info("- Perform cell QC for sample: {sample} ...")
213
- obj = perform_cell_qc(obj, TRUE)
213
+ obj = perform_cell_qc(obj, per_sample = TRUE)
214
214
  }
215
215
 
216
216
  if (isTRUE(envs$use_sct)) {
@@ -287,7 +287,7 @@ run_cell_qc <- function(sobj) {
287
287
 
288
288
  if (!envs$cell_qc_per_sample) {
289
289
  log_info("Performing cell QC ...")
290
- sobj = perform_cell_qc(sobj)
290
+ sobj = perform_cell_qc(sobj, per_sample = FALSE)
291
291
  }
292
292
 
293
293
  cached$data <- list(sobj = sobj, cell_qc_df = cell_qc_df)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biopipen
3
- Version: 0.32.0
3
+ Version: 0.32.1
4
4
  Summary: Bioinformatics processes/pipelines that can be run from `pipen run`
5
5
  License: MIT
6
6
  Author: pwwang
@@ -12,6 +12,7 @@ Classifier: Programming Language :: Python :: 3.9
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
15
16
  Provides-Extra: runinfo
16
17
  Requires-Dist: datar[pandas] (>=0.15.6,<0.16.0)
17
18
  Requires-Dist: pipen-board[report] (>=0.16,<0.17)
@@ -1,4 +1,4 @@
1
- biopipen/__init__.py,sha256=s1FApnNsg-mmWP3shY6ep6EAjZrNFXHlyBXWcP2KV6Q,23
1
+ biopipen/__init__.py,sha256=31GIxCk9aH78VuRzCVgISUIgmg2AZWeGccuxRLBiXe8,23
2
2
  biopipen/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  biopipen/core/config.py,sha256=edK5xnDhM8j27srDzsxubi934NMrglLoKrdcC8qsEPk,1069
4
4
  biopipen/core/config.toml,sha256=7IXvviRicZ2D1h6x3BVgbLJ96nsh-ikvZ0sVlQepqFE,1944
@@ -56,7 +56,7 @@ biopipen/reports/scrna/ScFGSEA.svelte,sha256=Gqt-XjqsB3XgdR3XukvphwyMExZpScwqgEo
56
56
  biopipen/reports/scrna/SeuratClusterStats.svelte,sha256=rTsoOCiVm7lEyBYgu2ZVcKNGi4g6PynYoOSx0DHdTHo,429
57
57
  biopipen/reports/scrna/SeuratMap2Ref.svelte,sha256=1g-FEmvR2YMn0OF66qESNBWmGdHQY3u8QuG4M-T7Y4E,659
58
58
  biopipen/reports/scrna/SeuratPreparing.svelte,sha256=CCQ3qodjfoQeMZhSZp7irvSqBt10m7urzcWEOHsZa8M,365
59
- biopipen/reports/scrna/TopExpressingGenes.svelte,sha256=h2Or2cKCzuY2cypq1PKrqiHFVMZmFUgFOXoQumvfGSk,471
59
+ biopipen/reports/scrna/TopExpressingGenes.svelte,sha256=tt5_Vjym4coFT8Bvz0s6ZcCioTOIwCj83jdCGqPCmUw,491
60
60
  biopipen/reports/scrna_metabolic_landscape/MetabolicFeatures.svelte,sha256=4M8V6jDv1_ZviTsRdoYNQixoTnKiD06oPHzVabUTq6k,978
61
61
  biopipen/reports/scrna_metabolic_landscape/MetabolicFeaturesIntraSubset.svelte,sha256=7FohWYR2BEqo77W4FuGsuwEEvG7j_Mc2ohXG8TSgODg,907
62
62
  biopipen/reports/scrna_metabolic_landscape/MetabolicPathwayActivity.svelte,sha256=bbPWDEXTi-A377Vo2VaEyh_VoxGmFj-P3WX8g_y_-9k,3416
@@ -161,12 +161,12 @@ biopipen/scripts/scrna/MetaMarkers.R,sha256=opw5RyHpNnYXXnw0HQvFSaptw3IDaTiArwT1
161
161
  biopipen/scripts/scrna/ModuleScoreCalculator.R,sha256=QJ_E6qjRC8GazoopcxZfT5cKxlubf4dK-V7KLBB-yRE,4210
162
162
  biopipen/scripts/scrna/RadarPlots.R,sha256=4zs0hAm7yq1Ls62f_29koPLqAKCeKbYiztNM-HR7j3U,13041
163
163
  biopipen/scripts/scrna/SCImpute.R,sha256=dSJOHhmJ3x_72LBRXT72dbCti5oiB85CJ-OjWtqONbk,2958
164
- biopipen/scripts/scrna/ScFGSEA.R,sha256=MFoJ3i3LFBfsPCxwLPnTh141ZJyrzwnrTuCZIFwvYjU,6318
164
+ biopipen/scripts/scrna/ScFGSEA.R,sha256=LxFxd46qGt2OlvpO-4YqcEiZhFoVdFpJ1AmhUdpaIUo,6323
165
165
  biopipen/scripts/scrna/ScSimulation.R,sha256=b2LtL68ucxLoI57tSEDD0hOSbVHUA_x88Y96eK07N-s,1712
166
166
  biopipen/scripts/scrna/Seurat2AnnData.R,sha256=zXkdHEqv6H8RCw1bEPStvYHVpu5oRnioWxz164MgHxQ,276
167
167
  biopipen/scripts/scrna/SeuratClusterStats-clustree.R,sha256=FkbniQMHiZGrFAIuS8nUfPVJKFofSL-ZnpxTqIhTa54,3058
168
168
  biopipen/scripts/scrna/SeuratClusterStats-dimplots.R,sha256=NEdlJHNXnJZfF7YkefYVWTPO8Z_KAppRAs9rNvB8TXs,2360
169
- biopipen/scripts/scrna/SeuratClusterStats-features.R,sha256=DeGo7AkBRq0V3Y3JDaifId6rrr5dwawTzcSAJ3W1lxE,15614
169
+ biopipen/scripts/scrna/SeuratClusterStats-features.R,sha256=ae3hdEPzC3bO11ot2-xH6AT3-v8GWCxAxcm05xH4TBI,15609
170
170
  biopipen/scripts/scrna/SeuratClusterStats-hists.R,sha256=PXyDKww8HcloCU8r4IqRwRrm6Ly0cpmpvRcP30xxBa4,5038
171
171
  biopipen/scripts/scrna/SeuratClusterStats-ngenes.R,sha256=ihZLB27iEhgICKj-ZTnxTvRAYIgg9rzWr9Oyh1YmOYM,2160
172
172
  biopipen/scripts/scrna/SeuratClusterStats-stats.R,sha256=jufs99zxNyUaTCDiWzO0yt76ncc73Yn_SpPa5igbJyA,9120
@@ -177,7 +177,7 @@ biopipen/scripts/scrna/SeuratFilter.R,sha256=BrYK0MLdaTtQvInMaQsmOt7oH_hlks0M1zy
177
177
  biopipen/scripts/scrna/SeuratLoading.R,sha256=ekWKnHIqtQb3kHVQiVymAHXXqiUxs6KKefjZKjaykmk,900
178
178
  biopipen/scripts/scrna/SeuratMap2Ref.R,sha256=MP6ttYv8bK5kzWNoP3DXEad06snotVOqCqdvBHsOasc,12776
179
179
  biopipen/scripts/scrna/SeuratMetadataMutater.R,sha256=PMwG0Xvl_EEVKkicfrIi4arEqpY948PkYLkb59kTAXI,1135
180
- biopipen/scripts/scrna/SeuratPreparing-common.R,sha256=WuD7lGS17eAUQWSiIdAoV0EIeqS3Tnkkx-7PbP6Q3tc,16279
180
+ biopipen/scripts/scrna/SeuratPreparing-common.R,sha256=zLZ8nhSJK7otrc8e-2FswGc45WRYTE6tdHzKZSFVV2s,16347
181
181
  biopipen/scripts/scrna/SeuratPreparing-doublet_detection.R,sha256=TNN2lfFjpnnO0rguMsG38JYCP1nFUhcPLJ1LqGj-Sc8,6674
182
182
  biopipen/scripts/scrna/SeuratPreparing.R,sha256=CZL6h3mLS5C34ooMa4GcwvSPn4l46Lx7-sRi9FmWvJI,3827
183
183
  biopipen/scripts/scrna/SeuratSplit.R,sha256=vdK11V39_Uo_NaOh76QWCtxObGaEr5Ynxqq0hTiSvsU,754
@@ -290,7 +290,7 @@ biopipen/utils/reference.py,sha256=oi5evicLwHxF0KAIPNZohBeHJLJQNWFJH0cr2y5pgcg,5
290
290
  biopipen/utils/rnaseq.R,sha256=Ro2B2dG-Z2oVaT5tkwp9RHBz4dp_RF-JcizlM5GYXFs,1298
291
291
  biopipen/utils/single_cell.R,sha256=3jmTV9-kHTXyBA6GRlRf_Ig0jx_5jRr6E1THoa1869k,7564
292
292
  biopipen/utils/vcf.py,sha256=ajXs0M_QghEctlvUlSRjWQIABVF02wPdYd-0LP4mIsU,9377
293
- biopipen-0.32.0.dist-info/METADATA,sha256=1kWhdtPEVLqTrBh-9eK1I-Fb7KVCycmWJTA4_HXQLlw,882
294
- biopipen-0.32.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
295
- biopipen-0.32.0.dist-info/entry_points.txt,sha256=BYqHGBQJxyFDNLYqgH64ycI5PYwnlqwYcCFsMvJgzAU,653
296
- biopipen-0.32.0.dist-info/RECORD,,
293
+ biopipen-0.32.1.dist-info/METADATA,sha256=vaxY3m7PF1adjEsggWE8SmU2rPHtRS0-t-23r7xkgUo,933
294
+ biopipen-0.32.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
295
+ biopipen-0.32.1.dist-info/entry_points.txt,sha256=BYqHGBQJxyFDNLYqgH64ycI5PYwnlqwYcCFsMvJgzAU,653
296
+ biopipen-0.32.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any