-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (44 loc) · 1.91 KB
/
Makefile
File metadata and controls
55 lines (44 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
test:
python pipelines/peppro.py -P 3 -M 100 -O peppro_test -R -S test -G hg38 \
-Q single -C peppro.yaml \
--protocol PRO \
--prealignment-names rCRSd human_repeats \
--genome-index $$(refgenie seek hg38/bowtie2_index --seek-key dir) \
--chrom-sizes $$(refgenie seek hg38/fasta --seek-key chrom_sizes) \
--pipestat-schema peppro_output_schema.yaml \
-I examples/data/test_r1.fq.gz
# -----------------------------------------------------------------------
# Test suite targets
# -----------------------------------------------------------------------
# Run only unit tests (no genome data or external tools required)
test-unit:
pytest tests/test_unit.py -v --tb=short
# Run a single integration scenario (e.g. make test-se SCENARIO=se_basic)
SCENARIO ?= se_basic
test-scenario:
RUN_INTEGRATION_TESTS=true pytest tests/test_integration.py -v --tb=short -k "$(SCENARIO)"
# Run all SE integration scenarios
test-se:
RUN_INTEGRATION_TESTS=true pytest tests/test_integration.py -v --tb=short \
-k "se_basic or se_groseq or se_umi or se_fastp or se_fastx or se_fqdedup or se_scale or se_no_complexity or se_nofifo or se_coverage"
# Run all PE integration scenarios
test-pe:
RUN_INTEGRATION_TESTS=true pytest tests/test_integration.py -v --tb=short \
-k "pe_basic or pe_umi"
# Run recovery regression tests
test-recovery:
RUN_INTEGRATION_TESTS=true pytest tests/test_integration.py -v --tb=short \
-k "recovery"
# Run all integration tests (SE + PE + recovery)
test-integration:
RUN_INTEGRATION_TESTS=true pytest tests/test_integration.py -v --tb=short
# Run both unit and integration tests
test-all:
RUN_INTEGRATION_TESTS=true pytest tests/ -v --tb=short
# Regenerate test FASTQ data files from the source R1 read file
test-data:
bash tests/scripts/generate_test_data.sh
docker:
docker build -t databio/peppro -f containers/peppro.Dockerfile .
singularity:
singularity build $${SIMAGES}peppro docker://databio/peppro