-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmakefile
More file actions
61 lines (45 loc) · 1.18 KB
/
makefile
File metadata and controls
61 lines (45 loc) · 1.18 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
56
57
58
59
60
61
DIR_RB_READS := /data/share/nonn-lab/rachel-test-crispr/reads
P1 := $(DIR_RB_READS)/409-4_S1_L001_R1_001.fastq.gz
P2 := $(DIR_RB_READS)/409-4_S1_L001_R2_001.fastq.gz
run:
bin/main.py $(P1) $(P2)
test:
pytest
black:
black outerspace
black tests
venv:
# Create a new conda environment in the venv directory
conda create -p ./venv python=3.12 pytest
conda run -p ./venv pip install .
files:
@ls $(P1)
@ls $(P2)
py:
find original tests outerspace bin -name '*.py' -type f | grep -v checkpoint
md:
find . -type f -name '*.md'
vim:
vim -p outerspace/extraction_attempt.py bin/main.py
run_script:
cd outerspace; python extraction_attempt.py
reads:
find $(DIR_RB_READS)/reads
hello:
ls -l $(DIR_RB_READS)
clean:
rm -f outerspace/.ipynb_checkpoints/extraction_attempt-checkpoint.py
rm -f testing.cfg
rm -rf outerspace.egg-info
clobber:
make clean
rm -rf outdir
rm -rf venv
RB:
findseq rb.cfg -1 reads_sample/409-4_S1_L002_R1_001.fastq.gz -2 reads_sample/409-4_S1_L002_R2_001.fastq.gz -o 409-4_S1_L002_R1_R2_output.csv
# Running coverage on pytest test scripts
# Do this first- then report below
coverage:
coverage run -m pytest tests/test_*.py
report:
coverage report -m