Skip to content

Commit 67ae722

Browse files
committed
big test tuning
1 parent 6e67634 commit 67ae722

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

loaders/vcf_into_sqlite.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ void help() {
618618
<< "Options: " << '\n'
619619
<< " --table-prefix PREFIX prefix to the name of each table created" << '\n'
620620
<< " --ploidy N set max ploidy => # GT columns (default 2)" << '\n'
621-
<< " --genotypes-without-rowid make the genotypes table WITHOUT ROWID (advantageous if there are few/no FORMAT fields)"
621+
<< " --genotypes-without-rowid make the genotypes table WITHOUT ROWID (advantageous if the FORMAT fields aren't too large)"
622622
<< '\n'
623623
<< " --no-gri skip genomic range indexing" << '\n'
624624
<< " -l,--level LEVEL database compression level (-7 to 22, default 6)" << '\n'

test/genomicsqlite_big_tests.wdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ task test_sam {
129129
130130
# add a QNAME-sorted seqs table
131131
chmod +x /usr/lib/python3.8/genomicsqlite.py
132-
time /usr/lib/python3.8/genomicsqlite.py "~{dbname}" "CREATE TABLE reads_seqs_by_qname AS SELECT * from reads_seqs ORDER BY qname"
132+
time /usr/lib/python3.8/genomicsqlite.py "~{dbname}" "CREATE TABLE reads_seqs_by_qname AS SELECT * from reads_seqs NOT INDEXED ORDER BY qname"
133133
>&2 ls -l "~{dbname}"
134134
time /usr/lib/python3.8/genomicsqlite.py "~{dbname}" "DROP TABLE reads_seqs_by_qname"
135135
>&2 ls -l "~{dbname}"
@@ -171,7 +171,7 @@ task test_vcf {
171171
chmod +x /usr/local/bin/vcf_into_sqlite
172172
173173
# load database
174-
time vcf_into_sqlite "~{variants}" "~{dbname}"
174+
time vcf_into_sqlite --genotypes-without-rowid "~{variants}" "~{dbname}"
175175
176176
# GRI query
177177
time python3 - <<"EOF"

0 commit comments

Comments
 (0)