Skip to content

Commit

Permalink
restore old page sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed May 31, 2021
1 parent ebb6d30 commit 5789a9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/genomicsqlite_big_tests.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ task test_sam {
# CRAM given; make BAM to take reference downloads out of the timings
wget -nv -O - '~{cram_ref_fa_gz}' | pigz -dc > "${TMPDIR}/cram_ref.fa"
samtools faidx "${TMPDIR}/cram_ref.fa"
bam_file="${TMPDIR}/$(basename reads_file .cram).bam"
bam_file="${TMPDIR}/$(basename "$reads_file" .cram).bam"
time samtools view -T "${TMPDIR}/cram_ref.fa" -h -O BAM -@ 8 "$reads_file" > "$bam_file"
reads_file=$bam_file
fi
>&2 ls -l "$reads_file"

# load database
time sam_into_sqlite "$reads_file" '~{dbname}'
time sam_into_sqlite --inner-page-KiB 64 --outer-page-KiB 2 "$reads_file" '~{dbname}'
>&2 ls -l '~{dbname}'

# compaction
Expand Down

0 comments on commit 5789a9b

Please sign in to comment.