forked from yigbt/uap
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'izi-dev' into 'master'
Merge izi-dev into master Closes #40 See merge request oneButton/uap!107
- Loading branch information
Showing
34 changed files
with
757 additions
and
814 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,60 @@ | ||
stages: | ||
- build | ||
- test | ||
|
||
|
||
.dummy: | ||
stage: build | ||
script: | ||
- pwd | ||
- ls ~/.ssh/* | ||
- git clone git@ribogit.izi.fraunhofer.de:oneButton/uap_test.git | ||
|
||
|
||
variables: | ||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip" | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
|
||
prepare: | ||
stage: build | ||
script: | ||
- pwd | ||
- module load Python/2.7.15-foss-2018b | ||
- ./bootstrap.sh | ||
|
||
- source python_env/bin/activate | ||
- pip install sphinx sphinx_rtd_theme | ||
- deactivate | ||
- module load Python/3.6.6-foss-2018b | ||
- python3 -m venv venv | ||
- source venv/bin/activate | ||
- pip install --upgrade pip | ||
- pip install pyaml pyyaml | ||
cache: | ||
key: python-envs | ||
paths: | ||
- python_env | ||
- venv | ||
- pip | ||
artifacts: | ||
paths: | ||
- python_env | ||
- venv | ||
expire_in: 24 hours | ||
|
||
|
||
steptests: | ||
stage: test | ||
script: | ||
- git clone git@ribogit.izi.fraunhofer.de:oneButton/uap_test.git | ||
- pwd | ||
- cd uap_test | ||
- make clean | ||
- module load Python/3.6.6-foss-2018b | ||
- python3 -m venv venv | ||
- source venv/bin/activate | ||
- pip install pyaml | ||
- python3 scripts/uap_test.py run-tests --uap-test-dir . --uap-path ../uap | ||
- cd uap_test | ||
- python3 scripts/uap_test.py run-tests --uap-test-dir . --uap-path ../uap | ||
dependencies: | ||
- prepare | ||
|
||
pages: | ||
stage: test | ||
script: | ||
- module load Python/2.7.15-foss-2018b | ||
- source python_env/bin/activate | ||
- sphinx-build -b html doc/source public/$CI_COMMIT_REF_SLUG | ||
- doc/make_pages_index.sh public | ||
cache: | ||
key: pages-cache | ||
paths: | ||
- public | ||
dependencies: | ||
- prepare | ||
- prepare | ||
artifacts: | ||
paths: | ||
- public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "uap_test"] | ||
path = uap_test | ||
url = ../uap_test.git |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## 1.1 (20.01.2020) | ||
|
||
**Fixed** | ||
* tests in uap_test repo (#113) | ||
* CI pipeline (#110) | ||
* automatic volatilization (#98) | ||
* fastqscreen: move html output files (#95) | ||
* removed option --optional in patched fastq_screen version (#94) | ||
* display correct uap version (#93) | ||
* deprecated warning from python package PyYAML (#91) | ||
* _cluster_job_quota is not read on slurm (#40) | ||
* fastq_screen: forgot to modify nohits option (#30) | ||
* fixed fastqscreen and rseqc file path issues (#120) | ||
|
||
**Features** | ||
* tools sections defaults (#103) | ||
|
||
**additional stuff** | ||
* fastq_screen is not running on ribnode018 (#97) | ||
* slurm cluster gives finished for failed runs (#60) | ||
* released documentation with gitlab pages (#117) | ||
* added uap_test as git submodule and modify gitlab ci process (#108) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# uap -- Universal Analysis Pipeline | ||
|
||
The **uap** package is a framework to configure, run, and control | ||
large data multi-step analyses. | ||
Its main focus is on the analysis of high-throughput sequencing data. | ||
|
||
The aim of this data processing pipeline is to enable robust and straightforward | ||
bioinformatics data evaluation. | ||
It is implemented in Python, runs under GNU/Linux and can be controlled from the | ||
command-line interface. | ||
Although the primary focus is the evaluation of sequencing data, its design | ||
allows for a variety of other applications. | ||
|
||
|
||
# Documentation | ||
|
||
The documentation of **uap** is available as [Giltab Page](https://onebutton.ribogitpages.izi.fraunhofer.de/uap/). | ||
|
||
# Local Testing | ||
|
||
In order to use the testing repo [uap_test](https://ribogit.izi.fraunhofer.de/oneButton/uap_test) | ||
locally you have to change the file .gitmodules | ||
by replacing `url = ../uap_test.git` with `url = git@ribogit.izi.fraunhofer.de:oneButton/uap_test.git`. | ||
The entry for `uap_test` looks like this: | ||
``` | ||
[submodule "uap_test"] | ||
path = uap_test | ||
url = git@ribogit.izi.fraunhofer.de:oneButton/uap_test.git | ||
``` | ||
|
||
Then you can run `git submodule sync && git checkout -- .gitmodules && git submodule update` | ||
to have the testing repo in `uap_test`. Please consult tutorials for submodules for further info. | ||
E.g., https://git-scm.com/book/en/v2/Git-Tools-Submodules. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#! /bin/bash - | ||
|
||
cd "$1" | ||
|
||
printf ' | ||
<html> | ||
<body> | ||
<h2>UAP Sphinx Docu per branch</h2> | ||
<p> | ||
' > index.html | ||
|
||
for file in $(ls -1); do | ||
[[ "$file" == "index.html" ]] && continue | ||
printf '<li><a href=%s>%s</a></li>' "$file" "$file" >> index.html | ||
done | ||
|
||
printf ' | ||
</p> | ||
</body> | ||
</html> | ||
' >> index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.