Skip to content

Commit efda6e0

Browse files
committed
big tests oom
1 parent 001dc15 commit efda6e0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/genomicsqlite_big_tests.wdl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,9 @@ task test_sam {
128128
# page compression stats
129129
time sqlite3 "~{dbname}" "SELECT meta1, count(*), avg(length(data)) FROM nested_vfs_zstd_pages GROUP BY meta1" >&2
130130
131-
# add a QNAME-sorted seqs table
131+
# add a QNAME-sorted seqs table. TODO: write it into a separate attached db
132132
chmod +x /usr/lib/python3.8/genomicsqlite.py
133-
time /usr/lib/python3.8/genomicsqlite.py "~{dbname}" "PRAGMA journal_mode=off; PRAGMA synchronous=off; PRAGMA cache_size=-4194304; CREATE TABLE reads_seqs_by_qname AS SELECT * from reads_seqs NOT INDEXED ORDER BY qname"
134-
>&2 ls -l "~{dbname}"
135-
time /usr/lib/python3.8/genomicsqlite.py "~{dbname}" "PRAGMA journal_mode=off; PRAGMA synchronous=off; DROP TABLE reads_seqs_by_qname"
133+
time /usr/lib/python3.8/genomicsqlite.py "~{dbname}" "PRAGMA journal_mode=off; PRAGMA synchronous=off; CREATE TABLE reads_seqs_by_qname AS SELECT * from reads_seqs NOT INDEXED ORDER BY qname"
136134
>&2 ls -l "~{dbname}"
137135
>>>
138136

0 commit comments

Comments
 (0)