Skip to content

Commit 2259183

Browse files
authored
Merge pull request #971 from maxplanck-ie/develop
Develop
2 parents 6144e3f + 9d0abf7 commit 2259183

File tree

93 files changed

+5946
-1222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+5946
-1222
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
chip_dict:
2+
sample1:
3+
control: sample7
4+
broad: True
5+
sample2:
6+
control: sample7
7+
broad: True
8+
sample3:
9+
control: sample8
10+
broad: True
11+
sample4:
12+
control: sample8
13+
broad: True
14+
sample5:
15+
control: sample9
16+
broad: True
17+
sample6:
18+
control: sample9
19+
broad: True

.ci_stuff/ChIP.sample_config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
chip_dict:
22
sample1:
3-
control: sample3
3+
control: sample7
44
broad: False
55
sample2:
6-
control: sample3
6+
control: sample7
7+
broad: False
8+
sample3:
9+
control: sample8
710
broad: False
811
sample4:
9-
control: sample6
12+
control: sample8
1013
broad: False
1114
sample5:
12-
control: sample6
15+
control: sample9
16+
broad: False
17+
sample6:
18+
control: sample9
1319
broad: False
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
chip_dict:
2+
sample1:
3+
control:
4+
broad: False
5+
sample2:
6+
control:
7+
broad: False
8+
sample3:
9+
control:
10+
broad: False
11+
sample4:
12+
control:
13+
broad: False
14+
sample5:
15+
control:
16+
broad: False
17+
sample6:
18+
control:
19+
broad: False
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
chip_dict:
2+
sample1:
3+
control: sample3
4+
broad: False
5+
sample2:
6+
control: sample3
7+
broad: False
8+
sample4:
9+
control: sample6
10+
broad: False
11+
sample5:
12+
control: sample6
13+
broad: False

.ci_stuff/organism.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
genome_size: 2652783500
22
genome_fasta: "/tmp/genome.fa"
33
genome_index: "/tmp/genome.fa.fai"
4-
genome_2bit: ".ci_stuff/genome_fasta/genome.2bit"
4+
genome_2bit: "/tmp/genome.2bit"
55
bowtie2_index: ".ci_stuff/BowtieIndex/genome"
66
hisat2_index: ".ci_stuff/HISAT2Index/genome"
77
bwa_index: ".ci_stuff/BWAindex/genome.fa"
@@ -10,8 +10,12 @@ bwameth_index: "/tmp/genome.fa"
1010
bwameth2_index: "/tmp/genome.fa"
1111
known_splicesites: ".ci_stuff/gencode/m9/HISAT2/splice_sites.txt"
1212
star_index: ".ci_stuff/STARIndex/"
13+
salmon_index: "/tmp/SalmonIndex/"
14+
salmon_velocity_index: "/tmp/SalmonIndex_RNAVelocity/"
15+
t2g_velocity: "/tmp/annotation/cDNA_introns.joint.t2g"
1316
genes_bed: "/tmp/genes.bed"
1417
genes_gtf: "/tmp/genes.gtf"
18+
genes_t2g: "/tmp/genes.t2g"
1519
extended_coding_regions_gtf: ".ci_stuff/gencode/m9/genes.slop.gtf"
1620
blacklist_bed: ".ci_stuff/DKFZ/GRCm38_General_readAttractingRegions.UseThisOne.bed"
1721
ignoreForNormalization: "MT X Y JH584299.1 GL456233.1 JH584301.1 GL456211.1 GL456350.1 JH584293.1 GL456221.1 JH584297.1 JH584296.1 GL456354.1 JH584294.1 JH584298.1 JH584300.1 GL456219.1 GL456210.1 JH584303.1 JH584302.1 GL456212.1 JH584304.1 GL456379.1 GL456216.1 GL456393.1 GL456366.1 GL456367.1 GL456239.1 GL456213.1 GL456383.1 GL456385.1 GL456360.1 GL456378.1 GL456389.1 GL456372.1 GL456370.1 GL456381.1 GL456387.1 GL456390.1 GL456394.1 GL456392.1 GL456382.1 GL456359.1 GL456396.1 GL456368.1 JH584292.1 JH584295.1"

.ci_stuff/spikein_organism.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ bwa_index: ".ci_stuff/BWAindex/genome.fa"
88
bwameth_index: "/tmp/genome.fa"
99
known_splicesites: ".ci_stuff/gencode/m9/HISAT2/splice_sites.txt"
1010
star_index: ".ci_stuff/STARIndex/"
11+
salmon_index: "/tmp/SalmonIndex/"
12+
salmon_velocity_index: "/tmp/SalmonIndex_RNAVelocity/"
13+
t2g_velocity: "/tmp/annotation/cDNA_introns.joint.t2g"
1114
genes_bed: "/tmp/genes.bed"
1215
genes_gtf: "/tmp/genes.gtf"
16+
genes_t2g: "/tmp/genes.t2g"
1317
spikein_genes_gtf: "/tmp/spikein_genes.gtf"
1418
extended_coding_regions_gtf: ".ci_stuff/gencode/m9/genes.slop.gtf"
1519
blacklist_bed: ".ci_stuff/DKFZ/GRCm38_General_readAttractingRegions.UseThisOne.bed"

.ci_stuff/test_dag.sh

Lines changed: 261 additions & 158 deletions
Large diffs are not rendered by default.

.github/snakePipesEnvCI.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: snakePipes_CI
2-
channels:
3-
- conda-forge
4-
- bioconda
52
dependencies:
63
- python=3.9
7-
- snakemake=6.2.1
8-
- fuzzywuzzy
4+
- snakemake=7.18.2
5+
- thefuzz[speedup]
96
- mock
107
- sphinx=4.2.0
118
- sphinx-argparse
129
- sphinx_rtd_theme=1.0.0
1310
- flake8
1411
- coreutils
1512
- mamba
13+
- graphviz

.github/workflows/linux.yml

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ jobs:
1515
- uses: mamba-org/setup-micromamba@main
1616
with:
1717
environment-file: .github/snakePipesEnvCI.yml
18+
condarc: |
19+
channels:
20+
- conda-forge
21+
- bioconda
22+
- defaults
23+
channel_priority: 'strict'
1824
cache-downloads: true
1925
- name: Install snakePipes
2026
run: |
2127
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
2228
- name: docs
2329
run: |
2430
micromamba activate snakePipes_CI
31+
snakePipes config --tempDir /tmp
2532
cd docs
2633
make html
2734
flake:
@@ -31,30 +38,48 @@ jobs:
3138
- uses: mamba-org/setup-micromamba@main
3239
with:
3340
environment-file: .github/snakePipesEnvCI.yml
41+
condarc: |
42+
channels:
43+
- conda-forge
44+
- bioconda
45+
- defaults
46+
channel_priority: 'strict'
3447
cache-downloads: true
3548
- name: Install snakePipes
3649
run: |
3750
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
3851
- name: flake
3952
run: |
4053
micromamba activate snakePipes_CI
41-
flake8 --ignore=E501,E722,E402 --exclude docs/conf.py .
54+
snakePipes config --tempDir /tmp
55+
flake8 --ignore=E501,E722,E402 --exclude tests,docs/conf.py,build/lib/snakePipes/shared/tools/three_prime_seq,snakePipes/shared/tools/three_prime_seq .
4256
CI:
4357
runs-on: ubuntu-latest
4458
steps:
4559
- uses: actions/checkout@v3
4660
- uses: mamba-org/setup-micromamba@main
4761
with:
4862
environment-file: .github/snakePipesEnvCI.yml
63+
condarc: |
64+
channels:
65+
- conda-forge
66+
- bioconda
67+
- defaults
68+
channel_priority: 'strict'
4969
cache-downloads: true
50-
channel-priority: 'flexible'
5170
- name: Install snakePipes
5271
run: |
5372
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
5473
- name: CI
5574
run: |
5675
micromamba activate snakePipes_CI
76+
snakePipes config --tempDir /tmp
5777
./.ci_stuff/test_dag.sh
78+
- name: pytest
79+
run: |
80+
micromamba activate snakePipes_CI
81+
snakePipes config --tempDir /tmp
82+
pytest --verbosity=2
5883
createEnvs:
5984
needs: CI
6085
strategy:
@@ -88,13 +113,18 @@ jobs:
88113
- uses: mamba-org/setup-micromamba@main
89114
with:
90115
environment-file: .github/snakePipesEnvCI.yml
116+
condarc: |
117+
channels:
118+
- conda-forge
119+
- bioconda
120+
- defaults
121+
channel_priority: 'strict'
91122
cache-downloads: true
92123
- name: install snakePipes
93124
run: |
94125
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
95126
- name: createEnvs
96127
run: |
97128
micromamba activate snakePipes_CI
98-
conda config --set channel_priority strict
99-
snakePipes createEnvs --force --only ${{matrix.envs}}
100-
129+
snakePipes config --tempDir /tmp
130+
snakePipes createEnvs --autodetectCondaEnvDir --force --only ${{matrix.envs}}

.github/workflows/osx.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,18 @@ jobs:
3939
- uses: mamba-org/setup-micromamba@main
4040
with:
4141
environment-file: .github/snakePipesEnvCI.yml
42+
condarc: |
43+
channels:
44+
- conda-forge
45+
- bioconda
46+
- defaults
47+
channel_priority: 'strict'
4248
cache-downloads: true
4349
- name: install snakePipes_OSX
4450
run: |
4551
micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv
4652
- name: createEnvsOSX
4753
run: |
4854
micromamba activate snakePipes_CI
49-
conda config --set channel_priority strict
50-
snakePipes createEnvs --force --only ${{matrix.envs}}
55+
snakePipes createEnvs --force --autodetectCondaEnvDir --only ${{matrix.envs}}
5156

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ runRNAseq.sh
1515
*.pyc
1616
dist
1717
build
18+
*.swp
1819

1920
# sphinx build folder
2021
_build
@@ -26,3 +27,6 @@ output
2627

2728
# pip stuff
2829
snakePipes.egg-info
30+
31+
# misc
32+
.vscode/

.readthedocs.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
#conda:
2-
# file: docs/environment.yaml
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.7"
7+
8+
sphinx:
9+
configuration: docs/conf.py
10+
311
python:
4-
version: 3.7
5-
pip_install: true
612
install:
7-
- requirements: docs/requirements.txt
13+
- method: pip
14+
path: .
15+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)