rogtk 0.1.0__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.
- rogtk-0.1.0/.github/workflows/publish_to_pypi.yml +132 -0
- rogtk-0.1.0/.gitignore +14 -0
- rogtk-0.1.0/Cargo.lock +3470 -0
- rogtk-0.1.0/Cargo.toml +49 -0
- rogtk-0.1.0/Dockerfile +28 -0
- rogtk-0.1.0/MANIFEST.in +2 -0
- rogtk-0.1.0/Makefile +24 -0
- rogtk-0.1.0/PKG-INFO +54 -0
- rogtk-0.1.0/README.md +40 -0
- rogtk-0.1.0/pyproject.toml +26 -0
- rogtk-0.1.0/requirements.txt +5 -0
- rogtk-0.1.0/rogtk/__init__.py +208 -0
- rogtk-0.1.0/rogtk/utils/utils.py +17 -0
- rogtk-0.1.0/rogtk/utils.py +17 -0
- rogtk-0.1.0/run.py +10 -0
- rogtk-0.1.0/src/expressions.rs +366 -0
- rogtk-0.1.0/src/fracture.rs +498 -0
- rogtk-0.1.0/src/fracture_opt.rs +335 -0
- rogtk-0.1.0/src/graph_viz.rs +171 -0
- rogtk-0.1.0/src/lib.rs +469 -0
- rogtk-0.1.0/src/main.rs +3 -0
- rogtk-0.1.0/src/single_fastq.rs +137 -0
- rogtk-0.1.0/test.py +2 -0
- rogtk-0.1.0/tests/__init__.py +0 -0
- rogtk-0.1.0/tests/test_rogtk.py +38 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- master
|
|
8
|
+
tags:
|
|
9
|
+
- '*'
|
|
10
|
+
pull_request:
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
concurrency:
|
|
14
|
+
|
|
15
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
16
|
+
|
|
17
|
+
cancel-in-progress: true
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
21
|
+
|
|
22
|
+
# Make sure CI fails on all warnings, including Clippy lints
|
|
23
|
+
env:
|
|
24
|
+
RUSTFLAGS: "-Dwarnings"
|
|
25
|
+
|
|
26
|
+
jobs:
|
|
27
|
+
linux:
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
strategy:
|
|
30
|
+
matrix:
|
|
31
|
+
target: [x86_64]
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v4
|
|
34
|
+
- uses: actions/setup-python@v4
|
|
35
|
+
with:
|
|
36
|
+
python-version: '3.10'
|
|
37
|
+
- name: Build wheels
|
|
38
|
+
uses: PyO3/maturin-action@v1
|
|
39
|
+
with:
|
|
40
|
+
target: ${{ matrix.target }}
|
|
41
|
+
args: --release --out dist --find-interpreter
|
|
42
|
+
sccache: 'true'
|
|
43
|
+
manylinux: auto
|
|
44
|
+
- name: Upload wheels
|
|
45
|
+
uses: actions/upload-artifact@v4
|
|
46
|
+
with:
|
|
47
|
+
name: wheels-linux-${{ matrix.target }} # Make name unique
|
|
48
|
+
path: dist
|
|
49
|
+
|
|
50
|
+
windows:
|
|
51
|
+
runs-on: windows-latest
|
|
52
|
+
strategy:
|
|
53
|
+
matrix:
|
|
54
|
+
target: [x64]
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/checkout@v4
|
|
57
|
+
- uses: actions/setup-python@v4
|
|
58
|
+
with:
|
|
59
|
+
python-version: '3.10'
|
|
60
|
+
- name: Build wheels
|
|
61
|
+
uses: PyO3/maturin-action@v1
|
|
62
|
+
with:
|
|
63
|
+
target: ${{ matrix.target }}
|
|
64
|
+
args: --release --out dist --find-interpreter
|
|
65
|
+
sccache: 'true'
|
|
66
|
+
- name: Upload wheels
|
|
67
|
+
uses: actions/upload-artifact@v4
|
|
68
|
+
with:
|
|
69
|
+
name: wheels-windows-${{ matrix.target }} # Make name unique
|
|
70
|
+
path: dist
|
|
71
|
+
|
|
72
|
+
macos:
|
|
73
|
+
runs-on: macos-latest
|
|
74
|
+
strategy:
|
|
75
|
+
matrix:
|
|
76
|
+
target: [x86_64, aarch64]
|
|
77
|
+
steps:
|
|
78
|
+
- uses: actions/checkout@v4
|
|
79
|
+
- uses: actions/setup-python@v4
|
|
80
|
+
with:
|
|
81
|
+
python-version: '3.10'
|
|
82
|
+
- name: Build wheels
|
|
83
|
+
uses: PyO3/maturin-action@v1
|
|
84
|
+
with:
|
|
85
|
+
target: ${{ matrix.target }}
|
|
86
|
+
args: --release --out dist --find-interpreter
|
|
87
|
+
sccache: 'true'
|
|
88
|
+
- name: Upload wheels
|
|
89
|
+
uses: actions/upload-artifact@v4
|
|
90
|
+
with:
|
|
91
|
+
name: wheels-macos-${{ matrix.target }} # Make name unique
|
|
92
|
+
path: dist
|
|
93
|
+
|
|
94
|
+
sdist:
|
|
95
|
+
runs-on: ubuntu-latest
|
|
96
|
+
steps:
|
|
97
|
+
- uses: actions/checkout@v4
|
|
98
|
+
- name: Build sdist
|
|
99
|
+
uses: PyO3/maturin-action@v1
|
|
100
|
+
with:
|
|
101
|
+
command: sdist
|
|
102
|
+
args: --out dist
|
|
103
|
+
- name: Upload sdist
|
|
104
|
+
uses: actions/upload-artifact@v4
|
|
105
|
+
with:
|
|
106
|
+
name: wheels-sdist # Make name unique
|
|
107
|
+
path: dist
|
|
108
|
+
release:
|
|
109
|
+
name: Release
|
|
110
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
111
|
+
needs: [linux, windows, macos, sdist]
|
|
112
|
+
runs-on: ubuntu-latest
|
|
113
|
+
environment: pypi
|
|
114
|
+
permissions:
|
|
115
|
+
id-token: write
|
|
116
|
+
steps:
|
|
117
|
+
- uses: actions/checkout@v4
|
|
118
|
+
- name: Download all artifacts
|
|
119
|
+
uses: actions/download-artifact@v4
|
|
120
|
+
with:
|
|
121
|
+
pattern: wheels-* # Download all wheel artifacts
|
|
122
|
+
merge-multiple: true # Merge them into one directory
|
|
123
|
+
path: dist
|
|
124
|
+
# Add this step to verify the contents
|
|
125
|
+
- name: List dist contents
|
|
126
|
+
run: ls -la dist/
|
|
127
|
+
- name: Publish to PyPI
|
|
128
|
+
uses: PyO3/maturin-action@v1
|
|
129
|
+
with:
|
|
130
|
+
command: upload
|
|
131
|
+
# Specify the path to the wheels
|
|
132
|
+
args: --skip-existing dist/*
|
rogtk-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
__pycache__/__init__.cpython-310.pyc
|
|
2
|
+
build/lib.linux-x86_64-cpython-38/rogtk/rogtk.cpython-38-x86_64-linux-gnu.so
|
|
3
|
+
dist/rogtk-0.0.1-py3.8-linux-x86_64.egg
|
|
4
|
+
dmfq
|
|
5
|
+
ll
|
|
6
|
+
pfastq_processor
|
|
7
|
+
rogtk/__pycache__/__init__.cpython-310.pyc
|
|
8
|
+
rogtk/_internal.cpython-310-x86_64-linux-gnu.so
|
|
9
|
+
rogtk/rogtk.abi3.so
|
|
10
|
+
rogtk.egg-info
|
|
11
|
+
target
|
|
12
|
+
.DS_Store
|
|
13
|
+
rogtk/__pycache__
|
|
14
|
+
Cargo.lock
|