GraDiv 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.
- gradiv-0.1.0/.gitignore +5 -0
- gradiv-0.1.0/.gitlab-ci.yml +34 -0
- gradiv-0.1.0/GraDiv.egg-info/PKG-INFO +763 -0
- gradiv-0.1.0/GraDiv.egg-info/SOURCES.txt +36 -0
- gradiv-0.1.0/GraDiv.egg-info/dependency_links.txt +1 -0
- gradiv-0.1.0/GraDiv.egg-info/entry_points.txt +5 -0
- gradiv-0.1.0/GraDiv.egg-info/requires.txt +6 -0
- gradiv-0.1.0/GraDiv.egg-info/top_level.txt +1 -0
- gradiv-0.1.0/LICENSE +674 -0
- gradiv-0.1.0/MANIFEST.in +2 -0
- gradiv-0.1.0/PKG-INFO +763 -0
- gradiv-0.1.0/README.rst +59 -0
- gradiv-0.1.0/gradiv/__init__.py +7 -0
- gradiv-0.1.0/gradiv/_version.py +21 -0
- gradiv-0.1.0/gradiv/algo.py +163 -0
- gradiv-0.1.0/gradiv/functions.py +91 -0
- gradiv-0.1.0/gradiv/main.py +241 -0
- gradiv-0.1.0/gradiv/pggraph.py +361 -0
- gradiv-0.1.0/gradiv/polymorphism.py +49 -0
- gradiv-0.1.0/gradiv/tests.py +17 -0
- gradiv-0.1.0/pyproject.toml +62 -0
- gradiv-0.1.0/setup.cfg +4 -0
- gradiv-0.1.0/test_data/figures/indels.png +0 -0
- gradiv-0.1.0/test_data/figures/inv.png +0 -0
- gradiv-0.1.0/test_data/figures/seminested.png +0 -0
- gradiv-0.1.0/test_data/figures/snps.png +0 -0
- gradiv-0.1.0/test_data/test_graph.gfa +113 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/bam_files/test_graph.bam +0 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/bam_files/test_graph.bam.bai +0 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/bed_files/genome1.bed +23 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/bed_files/genome2.bed +26 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/bed_files/genome3.bed +27 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/bed_files/genome4.bed +24 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/header_test_graph.txt +1 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/links_test_graph.db +0 -0
- gradiv-0.1.0/test_data/test_graph_GraTools_INDEX/samples_chrom.txt +4 -0
- gradiv-0.1.0/test_data/test_graph_gradiv/test_graph_id_table.csv +14 -0
- gradiv-0.1.0/test_data/test_graph_gradiv/test_graph_seq_table.csv +14 -0
gradiv-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# docker image used to build the app
|
|
2
|
+
image: python:3.10
|
|
3
|
+
stages:
|
|
4
|
+
- install
|
|
5
|
+
- test
|
|
6
|
+
before_script:
|
|
7
|
+
- echo ${CI_PROJECT_DIR}
|
|
8
|
+
- echo ${CI_COMMIT_REF_NAME}
|
|
9
|
+
- export PATH=$PATH:/root/.local/bin
|
|
10
|
+
- python3 -m pip install -U setuptools build pip
|
|
11
|
+
- python3 -m pip install --user gradiv@git+https://forge.ird.fr/phim/gradiv.git@$CI_COMMIT_REF_NAME
|
|
12
|
+
test_install:
|
|
13
|
+
stage: install
|
|
14
|
+
script:
|
|
15
|
+
- gradiv --help
|
|
16
|
+
# tag:
|
|
17
|
+
# - VM
|
|
18
|
+
# rules:
|
|
19
|
+
# - if: $CI_COMMIT_TAG =~ "/^v.*rc/" # if commit tag starts with v
|
|
20
|
+
# - if: $CI_COMMIT_MESSAGE =~ "/.*-TEST.*/i" # test in commit message
|
|
21
|
+
test_call:
|
|
22
|
+
stage: test
|
|
23
|
+
script:
|
|
24
|
+
- mkdir gradiv_ci
|
|
25
|
+
- cd gradiv_ci
|
|
26
|
+
- git clone https://forge.ird.fr/phim/gradiv.git
|
|
27
|
+
- gradiv call -g gradiv/test_data/test_graph_GraTools_INDEX
|
|
28
|
+
test_compute:
|
|
29
|
+
stage: test
|
|
30
|
+
script:
|
|
31
|
+
- mkdir gradiv_ci
|
|
32
|
+
- cd gradiv_ci
|
|
33
|
+
- git clone https://forge.ird.fr/phim/gradiv.git
|
|
34
|
+
- gradiv compute -g gradiv/test_data/test_graph_GraTools_INDEX --stat-type site,unphased,phased
|