rogtk 0.1.11.dev0__tar.gz → 0.1.13__tar.gz

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.
Files changed (32) hide show
  1. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/Cargo.lock +5 -5
  2. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/Cargo.toml +1 -1
  3. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/PKG-INFO +1 -1
  4. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/pyproject.toml +1 -1
  5. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/rogtk/__init__.py +12 -8
  6. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/.github/workflows/publish_to_pypi.yml +0 -0
  7. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/.gitignore +0 -0
  8. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/.readthedocs.yaml +0 -0
  9. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/Dockerfile +0 -0
  10. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/Makefile +0 -0
  11. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/README.md +0 -0
  12. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/docs/requirements.txt +0 -0
  13. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/docs/source/api/modules.rst +0 -0
  14. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/docs/source/api/rogtk.rst +0 -0
  15. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/docs/source/conf.py +0 -0
  16. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/docs/source/index.rst +0 -0
  17. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/requirements.txt +0 -0
  18. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/rogtk/utils/utils.py +0 -0
  19. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/rogtk/utils.py +0 -0
  20. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/run.py +0 -0
  21. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/bam.rs +0 -0
  22. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/djfind.rs +0 -0
  23. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/expressions.rs +0 -0
  24. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/fracture.rs +0 -0
  25. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/fracture_opt.rs +0 -0
  26. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/graph_viz.rs +0 -0
  27. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/lib.rs +0 -0
  28. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/main.rs +0 -0
  29. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/src/single_fastq.rs +0 -0
  30. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/test.py +0 -0
  31. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/tests/__init__.py +0 -0
  32. {rogtk-0.1.11.dev0 → rogtk-0.1.13}/tests/test_rogtk.py +0 -0
@@ -2794,7 +2794,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
2794
2794
 
2795
2795
  [[package]]
2796
2796
  name = "rogtk"
2797
- version = "0.1.11"
2797
+ version = "0.1.13"
2798
2798
  dependencies = [
2799
2799
  "anyhow",
2800
2800
  "arrow",
@@ -2862,15 +2862,15 @@ dependencies = [
2862
2862
 
2863
2863
  [[package]]
2864
2864
  name = "rustix"
2865
- version = "1.0.7"
2865
+ version = "1.0.8"
2866
2866
  source = "registry+https://github.com/rust-lang/crates.io-index"
2867
- checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
2867
+ checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
2868
2868
  dependencies = [
2869
2869
  "bitflags 2.9.1",
2870
2870
  "errno",
2871
2871
  "libc",
2872
2872
  "linux-raw-sys 0.9.4",
2873
- "windows-sys 0.59.0",
2873
+ "windows-sys 0.60.2",
2874
2874
  ]
2875
2875
 
2876
2876
  [[package]]
@@ -3172,7 +3172,7 @@ dependencies = [
3172
3172
  "fastrand",
3173
3173
  "getrandom 0.3.3",
3174
3174
  "once_cell",
3175
- "rustix 1.0.7",
3175
+ "rustix 1.0.8",
3176
3176
  "windows-sys 0.59.0",
3177
3177
  ]
3178
3178
 
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rogtk"
3
- version = "0.1.11"
3
+ version = "0.1.13"
4
4
  authors = [
5
5
  "Pedro Olivares Chauvet <pedro.olivares@mdc-berlin.de>",
6
6
  "Pedro Olivares Chauvet <pedro.olivares@weizmann.ac.il>",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rogtk
3
- Version: 0.1.11.dev0
3
+ Version: 0.1.13
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -8,7 +8,7 @@ build-backend = "maturin"
8
8
 
9
9
  [project]
10
10
  name = "rogtk"
11
- version = "0.1.11dev"
11
+ version = "0.1.13"
12
12
  requires-python = ">=3.10"
13
13
  dependencies = [
14
14
  "polars>=1.25,!=1.26.*"
@@ -18,14 +18,18 @@ from rogtk.rogtk import (
18
18
  )
19
19
 
20
20
  @pl.api.register_expr_namespace("dna")
21
- def reverse_complement(expr: IntoExpr) -> pl.Expr:
22
- """Generate reverse complement of DNA sequences."""
23
- return register_plugin_function(
24
- plugin_path=Path(__file__).parent,
25
- function_name="reverse_complement_series",
26
- args=expr,
27
- is_elementwise=True,
28
- )
21
+ class DnaNamespace:
22
+ def __init__(self, expr: pl.Expr):
23
+ self._expr = expr
24
+
25
+ def reverse_complement(self) -> pl.Expr:
26
+ """Generate reverse complement of DNA sequences."""
27
+ return register_plugin_function(
28
+ plugin_path=Path(__file__).parent,
29
+ function_name="reverse_complement_series",
30
+ args=self._expr,
31
+ is_elementwise=True,
32
+ )
29
33
 
30
34
  #@pl.api.register_expr_namespace("cigar")
31
35
  def parse_cigar(expr: IntoExpr, block_dels: bool=False) -> pl.Expr:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes