mnase-classifier 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.
Files changed (28) hide show
  1. mnase_classifier-0.1.0/.gitignore +9 -0
  2. mnase_classifier-0.1.0/.gitlab-ci.yml +49 -0
  3. mnase_classifier-0.1.0/.python-version +1 -0
  4. mnase_classifier-0.1.0/.python-version.license +3 -0
  5. mnase_classifier-0.1.0/.zed/tasks.json +51 -0
  6. mnase_classifier-0.1.0/LICENSE +661 -0
  7. mnase_classifier-0.1.0/LICENSES/AGPL-3.0-or-later.txt +235 -0
  8. mnase_classifier-0.1.0/PKG-INFO +45 -0
  9. mnase_classifier-0.1.0/README.md +30 -0
  10. mnase_classifier-0.1.0/mnase_classifier/__init__.py +0 -0
  11. mnase_classifier-0.1.0/mnase_classifier/classifier.py +141 -0
  12. mnase_classifier-0.1.0/mnase_classifier/classifier_test.py +123 -0
  13. mnase_classifier-0.1.0/mnase_classifier/io/__init__.py +7 -0
  14. mnase_classifier-0.1.0/mnase_classifier/io/read_bam.py +97 -0
  15. mnase_classifier-0.1.0/mnase_classifier/io/read_bam_test.py +33 -0
  16. mnase_classifier-0.1.0/mnase_classifier/io/test_data/test_paired.bam +0 -0
  17. mnase_classifier-0.1.0/mnase_classifier/io/write_bam.py +50 -0
  18. mnase_classifier-0.1.0/mnase_classifier/io/write_bam_test.py +42 -0
  19. mnase_classifier-0.1.0/mnase_classifier/main.py +75 -0
  20. mnase_classifier-0.1.0/mnase_classifier.egg-info/PKG-INFO +45 -0
  21. mnase_classifier-0.1.0/mnase_classifier.egg-info/SOURCES.txt +26 -0
  22. mnase_classifier-0.1.0/mnase_classifier.egg-info/dependency_links.txt +1 -0
  23. mnase_classifier-0.1.0/mnase_classifier.egg-info/entry_points.txt +2 -0
  24. mnase_classifier-0.1.0/mnase_classifier.egg-info/requires.txt +4 -0
  25. mnase_classifier-0.1.0/mnase_classifier.egg-info/top_level.txt +1 -0
  26. mnase_classifier-0.1.0/pyproject.toml +42 -0
  27. mnase_classifier-0.1.0/setup.cfg +4 -0
  28. mnase_classifier-0.1.0/uv.lock +700 -0
@@ -0,0 +1,9 @@
1
+ *.pyc
2
+ Description_projet.md
3
+ mnase_classifier/io/test_pairs.bam
4
+ coverage.xml
5
+ .coverage
6
+ mnase_classifier.egg-info
7
+ .DS_Store
8
+ mnase_classifier/io/test_data/*
9
+ debug.json
@@ -0,0 +1,49 @@
1
+ # SPDX-FileCopyrightText: 2026 Laurent Modolo <laurent.modolo@cnrs.fr>, Lauryn Trouillot <lauryn.trouillot@ens-lyon.fr>
2
+ #
3
+ # SPDX-License-Identifier: AGPL-3.0-or-later
4
+
5
+ # You can override the included template(s) by including variable overrides
6
+ # SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
7
+ # Secret Detection customization: https://docs.gitlab.com/user/application_security/secret_detection/pipeline/configure
8
+ # Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
9
+ # Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
10
+ # Note that environment variables can be set in several places
11
+ # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
12
+ tests: # Defines a job named tests. It includes the scripts and settings you want to apply to that specific task.
13
+ stage: test
14
+ image: python:3.15.0a5-slim # Docker image used to run the job tests
15
+ before_script: # Commands to execute before the script section
16
+ - pip install pytest-cov
17
+ - pip install uv
18
+ - uv sync
19
+ script: # commands that trigger the tests
20
+ - uv run --link-mode=copy pytest --cov --cov-report term --cov-report xml:coverage.xml
21
+ coverage: /TOTAL.* (\d+)\%$/
22
+ artifacts:
23
+ reports:
24
+ coverage_report:
25
+ coverage_format: cobertura
26
+ path: coverage.xml
27
+
28
+ build:
29
+ stage: build
30
+ image: python:3.15.0a5-slim
31
+ before_script:
32
+ - pip install uv
33
+ script:
34
+ - uv build
35
+ artifacts:
36
+ paths:
37
+ - dist/
38
+ rules:
39
+ - if: $CI_COMMIT_TAG
40
+ # publish:
41
+ # stage: deploy
42
+ # image: python:alpine3.23
43
+ # before_script:
44
+ # - pip install uv
45
+ # - uv add twine
46
+ # script:
47
+ # - TWINE_USERNAME=__token__ TWINE_PASSWORD=${PYPI_TOKEN} uv run twine upload dist/* --verbose
48
+ # rules:
49
+ # - if: $CI_COMMIT_TAG
@@ -0,0 +1 @@
1
+ 3.13
@@ -0,0 +1,3 @@
1
+ SPDX-FileCopyrightText: 2026 Laurent Modolo <laurent.modolo@cnrs.fr>, Lauryn Trouillot <lauryn.trouillot@ens-lyon.fr>
2
+
3
+ SPDX-License-Identifier: AGPL-3.0-or-later
@@ -0,0 +1,51 @@
1
+ // SPDX-FileCopyrightText: 2025 Laurent Modolo <laurent@modolo.fr>
2
+ //
3
+ // SPDX-License-Identifier: AGPL-3.0-or-later
4
+ // Static tasks configuration.
5
+ //
6
+ // Example:
7
+ [
8
+ {
9
+ "label": "run test",
10
+ "command": "source .venv/bin/activate && pytest",
11
+ //"args": [],
12
+ // Env overrides for the command, will be appended to the terminal's environment from the settings.
13
+ "env": { "foo": "bar" },
14
+ // Current working directory to spawn the command into, defaults to current project root.
15
+ //"cwd": "/path/to/working/directory",
16
+ // Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`.
17
+ "use_new_terminal": false,
18
+ // Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`.
19
+ "allow_concurrent_runs": false,
20
+ // What to do with the terminal pane and tab, after the command was started:
21
+ // * `always` — always show the task's pane, and focus the corresponding tab in it (default)
22
+ // * `no_focus` — always show the task's pane, add the task's tab in it, but don't focus it
23
+ // * `never` — do not alter focus, but still add/reuse the task's tab in its pane
24
+ "reveal": "no_focus",
25
+ // Where to place the task's terminal item after starting the task:
26
+ // * `dock` — in the terminal dock, "regular" terminal items' place (default)
27
+ // * `center` — in the central pane group, "main" editor area
28
+ "reveal_target": "dock",
29
+ // What to do with the terminal pane and tab, after the command had finished:
30
+ // * `never` — Do nothing when the command finishes (default)
31
+ // * `always` — always hide the terminal tab, hide the pane also if it was the last tab in it
32
+ // * `on_success` — hide the terminal tab on task success only, otherwise behaves similar to `always`
33
+ "hide": "on_success",
34
+ // Which shell to use when running a task inside the terminal.
35
+ // May take 3 values:
36
+ // 1. (default) Use the system's default terminal configuration in /etc/passwd
37
+ // "shell": "system"
38
+ // 2. A program:
39
+ // "shell": {
40
+ // "program": "sh"
41
+ // }
42
+ // 3. A program with arguments:
43
+ // "shell": {
44
+ // "with_arguments": {
45
+ // "program": "/bin/bash",
46
+ // "args": ["--login"]
47
+ // }
48
+ // }
49
+ "shell": "system",
50
+ },
51
+ ]