Raspbian Package Auto-Building

Build log for htslib (1.10.2-2) on armhf

htslib1.10.2-2armhf → 2020-01-10 00:45:06

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-04

+==============================================================================+
| htslib 1.10.2-2 (armhf)                      Thu, 09 Jan 2020 23:53:25 +0000 |
+==============================================================================+

Package: htslib
Version: 1.10.2-2
Source Version: 1.10.2-2
Distribution: bullseye-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bullseye-staging-armhf-sbuild-76d96379-0dee-4e4a-b230-2011d9813de7' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private bullseye-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private bullseye-staging/main Sources [11.5 MB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf Packages [12.7 MB]
Fetched 24.3 MB in 30s (820 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'htslib' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/med-team/htslib.git
Please use:
git clone https://salsa.debian.org/med-team/htslib.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 1324 kB of source archives.
Get:1 http://172.17.0.1/private bullseye-staging/main htslib 1.10.2-2 (dsc) [2312 B]
Get:2 http://172.17.0.1/private bullseye-staging/main htslib 1.10.2-2 (tar) [1306 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main htslib 1.10.2-2 (diff) [15.3 kB]
Fetched 1324 kB in 0s (5328 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/htslib-GbVky3/htslib-1.10.2' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/htslib-GbVky3' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-stxdoT/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-stxdoT/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-stxdoT/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Packages [434 B]
Fetched 2110 B in 1s (2780 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libpam-cap netbase
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12242 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any all)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper-compat (= 12), dh-exec, libbz2-dev, libcurl4-gnutls-dev, liblzma-dev, libssl-dev, zlib1g-dev, libdeflate-dev
Filtered Build-Depends: debhelper-compat (= 12), dh-exec, libbz2-dev, libcurl4-gnutls-dev, liblzma-dev, libssl-dev, zlib1g-dev, libdeflate-dev
dpkg-deb: building package 'sbuild-build-depends-htslib-dummy' in '/<<BUILDDIR>>/resolver-stxdoT/apt_archive/sbuild-build-depends-htslib-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-htslib-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Sources [540 B]
Get:5 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ Packages [618 B]
Fetched 2491 B in 1s (3344 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install htslib build dependencies (apt-based resolver)
------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libpam-cap netbase
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-exec dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbrotli1 libbsd0 libbz2-dev
  libcroco3 libcurl3-gnutls libcurl4-gnutls-dev libdebhelper-perl
  libdeflate-dev libdeflate0 libelf1 libfile-stripnondeterminism-perl
  libglib2.0-0 libgssapi-krb5-2 libicu63 libk5crypto3 libkeyutils1 libkrb5-3
  libkrb5support0 liblzma-dev libmagic-mgc libmagic1 libnghttp2-14
  libpipeline1 libpsl5 librtmp1 libsigsegv2 libssh2-1 libssl-dev libssl1.1
  libsub-override-perl libtinfo5 libtool libuchardet0 libxml2 m4 man-db
  po-debconf sensible-utils zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  libcurl4-doc libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev
  librtmp-dev libssh2-1-dev pkg-config krb5-doc krb5-user liblzma-doc
  libssl-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor
  less www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx bzip2-doc ca-certificates libarchive-cpio-perl
  libglib2.0-data shared-mime-info xdg-user-dirs krb5-locales publicsuffix
  libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-exec dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbrotli1 libbsd0 libbz2-dev
  libcroco3 libcurl3-gnutls libcurl4-gnutls-dev libdebhelper-perl
  libdeflate-dev libdeflate0 libelf1 libfile-stripnondeterminism-perl
  libglib2.0-0 libgssapi-krb5-2 libicu63 libk5crypto3 libkeyutils1 libkrb5-3
  libkrb5support0 liblzma-dev libmagic-mgc libmagic1 libnghttp2-14
  libpipeline1 libpsl5 librtmp1 libsigsegv2 libssh2-1 libssl-dev libssl1.1
  libsub-override-perl libtinfo5 libtool libuchardet0 libxml2 m4 man-db
  po-debconf sbuild-build-depends-htslib-dummy sensible-utils zlib1g-dev
0 upgraded, 56 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.0 MB of archives.
After this operation, 82.9 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-stxdoT/apt_archive ./ sbuild-build-depends-htslib-dummy 0.invalid.0 [904 B]
Get:2 http://172.17.0.1/private bullseye-staging/main armhf libbsd0 armhf 0.10.0-1 [112 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf libtinfo5 armhf 6.1+20191019-1 [316 kB]
Get:4 http://172.17.0.1/private bullseye-staging/main armhf bsdmainutils armhf 11.1.2 [182 kB]
Get:5 http://172.17.0.1/private bullseye-staging/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB]
Get:6 http://172.17.0.1/private bullseye-staging/main armhf groff-base armhf 1.22.4-4 [783 kB]
Get:7 http://172.17.0.1/private bullseye-staging/main armhf libpipeline1 armhf 1.5.2-1 [29.5 kB]
Get:8 http://172.17.0.1/private bullseye-staging/main armhf man-db armhf 2.9.0-2 [1261 kB]
Get:9 http://172.17.0.1/private bullseye-staging/main armhf sensible-utils all 0.0.12+nmu1 [16.0 kB]
Get:10 http://172.17.0.1/private bullseye-staging/main armhf libmagic-mgc armhf 1:5.37-6 [253 kB]
Get:11 http://172.17.0.1/private bullseye-staging/main armhf libmagic1 armhf 1:5.37-6 [111 kB]
Get:12 http://172.17.0.1/private bullseye-staging/main armhf file armhf 1:5.37-6 [66.2 kB]
Get:13 http://172.17.0.1/private bullseye-staging/main armhf gettext-base armhf 0.19.8.1-10 [117 kB]
Get:14 http://172.17.0.1/private bullseye-staging/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:15 http://172.17.0.1/private bullseye-staging/main armhf m4 armhf 1.4.18-4 [185 kB]
Get:16 http://172.17.0.1/private bullseye-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:17 http://172.17.0.1/private bullseye-staging/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:18 http://172.17.0.1/private bullseye-staging/main armhf automake all 1:1.16.1-4 [771 kB]
Get:19 http://172.17.0.1/private bullseye-staging/main armhf autopoint all 0.19.8.1-10 [435 kB]
Get:20 http://172.17.0.1/private bullseye-staging/main armhf libtool all 2.4.6-11 [547 kB]
Get:21 http://172.17.0.1/private bullseye-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:22 http://172.17.0.1/private bullseye-staging/main armhf libdebhelper-perl all 12.7.3 [174 kB]
Get:23 http://172.17.0.1/private bullseye-staging/main armhf libarchive-zip-perl all 1.67-1 [104 kB]
Get:24 http://172.17.0.1/private bullseye-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:25 http://172.17.0.1/private bullseye-staging/main armhf libfile-stripnondeterminism-perl all 1.6.3-1 [23.6 kB]
Get:26 http://172.17.0.1/private bullseye-staging/main armhf dh-strip-nondeterminism all 1.6.3-1 [14.6 kB]
Get:27 http://172.17.0.1/private bullseye-staging/main armhf libelf1 armhf 0.176-1.1 [158 kB]
Get:28 http://172.17.0.1/private bullseye-staging/main armhf dwz armhf 0.13-5 [142 kB]
Get:29 http://172.17.0.1/private bullseye-staging/main armhf libglib2.0-0 armhf 2.62.4-1 [1138 kB]
Get:30 http://172.17.0.1/private bullseye-staging/main armhf libicu63 armhf 63.2-2 [7974 kB]
Get:31 http://172.17.0.1/private bullseye-staging/main armhf libxml2 armhf 2.9.4+dfsg1-8 [593 kB]
Get:32 http://172.17.0.1/private bullseye-staging/main armhf libcroco3 armhf 0.6.13-1 [133 kB]
Get:33 http://172.17.0.1/private bullseye-staging/main armhf gettext armhf 0.19.8.1-10 [1219 kB]
Get:34 http://172.17.0.1/private bullseye-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:35 http://172.17.0.1/private bullseye-staging/main armhf po-debconf all 1.0.21 [248 kB]
Get:36 http://172.17.0.1/private bullseye-staging/main armhf debhelper all 12.7.3 [1019 kB]
Get:37 http://172.17.0.1/private bullseye-staging/main armhf dh-exec armhf 0.23.2 [25.3 kB]
Get:38 http://172.17.0.1/private bullseye-staging/main armhf libbrotli1 armhf 1.0.7-6 [261 kB]
Get:39 http://172.17.0.1/private bullseye-staging/main armhf libbz2-dev armhf 1.0.8-2 [27.7 kB]
Get:40 http://172.17.0.1/private bullseye-staging/main armhf libkeyutils1 armhf 1.6-6 [14.0 kB]
Get:41 http://172.17.0.1/private bullseye-staging/main armhf libkrb5support0 armhf 1.17-6+b1 [61.5 kB]
Get:42 http://172.17.0.1/private bullseye-staging/main armhf libk5crypto3 armhf 1.17-6+b1 [112 kB]
Get:43 http://172.17.0.1/private bullseye-staging/main armhf libssl1.1 armhf 1.1.1d-2 [1268 kB]
Get:44 http://172.17.0.1/private bullseye-staging/main armhf libkrb5-3 armhf 1.17-6+b1 [316 kB]
Get:45 http://172.17.0.1/private bullseye-staging/main armhf libgssapi-krb5-2 armhf 1.17-6+b1 [134 kB]
Get:46 http://172.17.0.1/private bullseye-staging/main armhf libnghttp2-14 armhf 1.40.0-1 [73.9 kB]
Get:47 http://172.17.0.1/private bullseye-staging/main armhf libpsl5 armhf 0.20.2-2 [52.6 kB]
Get:48 http://172.17.0.1/private bullseye-staging/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b1 [54.3 kB]
Get:49 http://172.17.0.1/private bullseye-staging/main armhf libssh2-1 armhf 1.8.0-2.1 [126 kB]
Get:50 http://172.17.0.1/private bullseye-staging/main armhf libcurl3-gnutls armhf 7.67.0-2 [284 kB]
Get:51 http://172.17.0.1/private bullseye-staging/main armhf libcurl4-gnutls-dev armhf 7.67.0-2 [357 kB]
Get:52 http://172.17.0.1/private bullseye-staging/main armhf libdeflate0 armhf 1.5-1 [78.0 kB]
Get:53 http://172.17.0.1/private bullseye-staging/main armhf libdeflate-dev armhf 1.5-1 [43.9 kB]
Get:54 http://172.17.0.1/private bullseye-staging/main armhf liblzma-dev armhf 5.2.4-1 [203 kB]
Get:55 http://172.17.0.1/private bullseye-staging/main armhf libssl-dev armhf 1.1.1d-2 [1570 kB]
Get:56 http://172.17.0.1/private bullseye-staging/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-1 [206 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 24.0 MB in 8s (2885 kB/s)
Selecting previously unselected package libbsd0:armhf.
(Reading database ... 12242 files and directories currently installed.)
Preparing to unpack .../00-libbsd0_0.10.0-1_armhf.deb ...
Unpacking libbsd0:armhf (0.10.0-1) ...
Selecting previously unselected package libtinfo5:armhf.
Preparing to unpack .../01-libtinfo5_6.1+20191019-1_armhf.deb ...
Unpacking libtinfo5:armhf (6.1+20191019-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_11.1.2_armhf.deb ...
Unpacking bsdmainutils (11.1.2) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../03-libuchardet0_0.0.6-3_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.6-3) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../04-groff-base_1.22.4-4_armhf.deb ...
Unpacking groff-base (1.22.4-4) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../05-libpipeline1_1.5.2-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.2-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../06-man-db_2.9.0-2_armhf.deb ...
Unpacking man-db (2.9.0-2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../07-sensible-utils_0.0.12+nmu1_all.deb ...
Unpacking sensible-utils (0.0.12+nmu1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../08-libmagic-mgc_1%3a5.37-6_armhf.deb ...
Unpacking libmagic-mgc (1:5.37-6) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../09-libmagic1_1%3a5.37-6_armhf.deb ...
Unpacking libmagic1:armhf (1:5.37-6) ...
Selecting previously unselected package file.
Preparing to unpack .../10-file_1%3a5.37-6_armhf.deb ...
Unpacking file (1:5.37-6) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../11-gettext-base_0.19.8.1-10_armhf.deb ...
Unpacking gettext-base (0.19.8.1-10) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../12-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../13-m4_1.4.18-4_armhf.deb ...
Unpacking m4 (1.4.18-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../14-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../15-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../16-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../17-autopoint_0.19.8.1-10_all.deb ...
Unpacking autopoint (0.19.8.1-10) ...
Selecting previously unselected package libtool.
Preparing to unpack .../18-libtool_2.4.6-11_all.deb ...
Unpacking libtool (2.4.6-11) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../19-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../20-libdebhelper-perl_12.7.3_all.deb ...
Unpacking libdebhelper-perl (12.7.3) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../21-libarchive-zip-perl_1.67-1_all.deb ...
Unpacking libarchive-zip-perl (1.67-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../22-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.6.3-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.6.3-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../24-dh-strip-nondeterminism_1.6.3-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.6.3-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../25-libelf1_0.176-1.1_armhf.deb ...
Unpacking libelf1:armhf (0.176-1.1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../26-dwz_0.13-5_armhf.deb ...
Unpacking dwz (0.13-5) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../27-libglib2.0-0_2.62.4-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.62.4-1) ...
Selecting previously unselected package libicu63:armhf.
Preparing to unpack .../28-libicu63_63.2-2_armhf.deb ...
Unpacking libicu63:armhf (63.2-2) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../29-libxml2_2.9.4+dfsg1-8_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-8) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../30-libcroco3_0.6.13-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.13-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../31-gettext_0.19.8.1-10_armhf.deb ...
Unpacking gettext (0.19.8.1-10) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../32-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../33-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../34-debhelper_12.7.3_all.deb ...
Unpacking debhelper (12.7.3) ...
Selecting previously unselected package dh-exec.
Preparing to unpack .../35-dh-exec_0.23.2_armhf.deb ...
Unpacking dh-exec (0.23.2) ...
Selecting previously unselected package libbrotli1:armhf.
Preparing to unpack .../36-libbrotli1_1.0.7-6_armhf.deb ...
Unpacking libbrotli1:armhf (1.0.7-6) ...
Selecting previously unselected package libbz2-dev:armhf.
Preparing to unpack .../37-libbz2-dev_1.0.8-2_armhf.deb ...
Unpacking libbz2-dev:armhf (1.0.8-2) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../38-libkeyutils1_1.6-6_armhf.deb ...
Unpacking libkeyutils1:armhf (1.6-6) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../39-libkrb5support0_1.17-6+b1_armhf.deb ...
Unpacking libkrb5support0:armhf (1.17-6+b1) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../40-libk5crypto3_1.17-6+b1_armhf.deb ...
Unpacking libk5crypto3:armhf (1.17-6+b1) ...
Selecting previously unselected package libssl1.1:armhf.
Preparing to unpack .../41-libssl1.1_1.1.1d-2_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.1d-2) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../42-libkrb5-3_1.17-6+b1_armhf.deb ...
Unpacking libkrb5-3:armhf (1.17-6+b1) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../43-libgssapi-krb5-2_1.17-6+b1_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.17-6+b1) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../44-libnghttp2-14_1.40.0-1_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.40.0-1) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../45-libpsl5_0.20.2-2_armhf.deb ...
Unpacking libpsl5:armhf (0.20.2-2) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../46-librtmp1_2.4+20151223.gitfa8646d.1-2+b1_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b1) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../47-libssh2-1_1.8.0-2.1_armhf.deb ...
Unpacking libssh2-1:armhf (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../48-libcurl3-gnutls_7.67.0-2_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.67.0-2) ...
Selecting previously unselected package libcurl4-gnutls-dev:armhf.
Preparing to unpack .../49-libcurl4-gnutls-dev_7.67.0-2_armhf.deb ...
Unpacking libcurl4-gnutls-dev:armhf (7.67.0-2) ...
Selecting previously unselected package libdeflate0.
Preparing to unpack .../50-libdeflate0_1.5-1_armhf.deb ...
Unpacking libdeflate0 (1.5-1) ...
Selecting previously unselected package libdeflate-dev.
Preparing to unpack .../51-libdeflate-dev_1.5-1_armhf.deb ...
Unpacking libdeflate-dev (1.5-1) ...
Selecting previously unselected package liblzma-dev:armhf.
Preparing to unpack .../52-liblzma-dev_5.2.4-1_armhf.deb ...
Unpacking liblzma-dev:armhf (5.2.4-1) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../53-libssl-dev_1.1.1d-2_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.1d-2) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../54-zlib1g-dev_1%3a1.2.11.dfsg-1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-1) ...
Selecting previously unselected package sbuild-build-depends-htslib-dummy.
Preparing to unpack .../55-sbuild-build-depends-htslib-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-htslib-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.5.2-1) ...
Setting up libkeyutils1:armhf (1.6-6) ...
Setting up libpsl5:armhf (0.20.2-2) ...
Setting up libmagic-mgc (1:5.37-6) ...
Setting up libarchive-zip-perl (1.67-1) ...
Setting up libglib2.0-0:armhf (2.62.4-1) ...
No schema files found: doing nothing.
Setting up libssl1.1:armhf (1.1.1d-2) ...
Setting up libdebhelper-perl (12.7.3) ...
Setting up libbrotli1:armhf (1.0.7-6) ...
Setting up libnghttp2-14:armhf (1.40.0-1) ...
Setting up libmagic1:armhf (1:5.37-6) ...
Setting up libdeflate0 (1.5-1) ...
Setting up gettext-base (0.19.8.1-10) ...
Setting up file (1:5.37-6) ...
Setting up libicu63:armhf (63.2-2) ...
Setting up libkrb5support0:armhf (1.17-6+b1) ...
Setting up autotools-dev (20180224.1) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b1) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up libssl-dev:armhf (1.1.1d-2) ...
Setting up autopoint (0.19.8.1-10) ...
Setting up libk5crypto3:armhf (1.17-6+b1) ...
Setting up liblzma-dev:armhf (5.2.4-1) ...
Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-1) ...
Setting up sensible-utils (0.0.12+nmu1) ...
Setting up libuchardet0:armhf (0.0.6-3) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libssh2-1:armhf (1.8.0-2.1) ...
Setting up libkrb5-3:armhf (1.17-6+b1) ...
Setting up libbsd0:armhf (0.10.0-1) ...
Setting up libtinfo5:armhf (6.1+20191019-1) ...
Setting up libdeflate-dev (1.5-1) ...
Setting up libelf1:armhf (0.176-1.1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-8) ...
Setting up libbz2-dev:armhf (1.0.8-2) ...
Setting up libfile-stripnondeterminism-perl (1.6.3-1) ...
Setting up libtool (2.4.6-11) ...
Setting up m4 (1.4.18-4) ...
Setting up bsdmainutils (11.1.2) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libgssapi-krb5-2:armhf (1.17-6+b1) ...
Setting up libcroco3:armhf (0.6.13-1) ...
Setting up autoconf (2.69-11) ...
Setting up dh-strip-nondeterminism (1.6.3-1) ...
Setting up dwz (0.13-5) ...
Setting up groff-base (1.22.4-4) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up gettext (0.19.8.1-10) ...
Setting up libcurl3-gnutls:armhf (7.67.0-2) ...
Setting up libcurl4-gnutls-dev:armhf (7.67.0-2) ...
Setting up man-db (2.9.0-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up po-debconf (1.0.21) ...
Setting up debhelper (12.7.3) ...
Setting up dh-exec (0.23.2) ...
Setting up dh-autoreconf (19) ...
Setting up sbuild-build-depends-htslib-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.29-7+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.4-armmp armhf (armv7l)
Toolchain package versions: binutils_2.33.1-6+rpi1 dpkg-dev_1.19.7 g++-9_9.2.1-22+rpi1 gcc-9_9.2.1-22+rpi1 libc6-dev_2.29-7+rpi1 libstdc++-9-dev_9.2.1-22+rpi1 libstdc++6_9.2.1-22+rpi1 linux-libc-dev_5.2.17-1+rpi1+b2
Package versions: adduser_3.118 apt_1.8.4 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11+rpi1 base-passwd_3.5.47 bash_5.0-5 binutils_2.33.1-6+rpi1 binutils-arm-linux-gnueabihf_2.33.1-6+rpi1 binutils-common_2.33.1-6+rpi1 bsdmainutils_11.1.2 bsdutils_1:2.34-0.1 build-essential_12.8 bzip2_1.0.8-2 coreutils_8.30-3 cpp_4:9.2.1-3.1+rpi1 cpp-9_9.2.1-22+rpi1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.7.3 debianutils_4.9.1 dh-autoreconf_19 dh-exec_0.23.2 dh-strip-nondeterminism_1.6.3-1 diffutils_1:3.7-3 dirmngr_2.2.17-3+b1 dpkg_1.19.7 dpkg-dev_1.19.7 dwz_0.13-5 e2fsprogs_1.45.4-1 fakeroot_1.24-1 fdisk_2.34-0.1 file_1:5.37-6 findutils_4.7.0-1 g++_4:9.2.1-3.1+rpi1 g++-9_9.2.1-22+rpi1 gcc_4:9.2.1-3.1+rpi1 gcc-9_9.2.1-22+rpi1 gcc-9-base_9.2.1-22+rpi1 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 gnupg_2.2.17-3 gnupg-l10n_2.2.17-3 gnupg-utils_2.2.17-3+b1 gpg_2.2.17-3+b1 gpg-agent_2.2.17-3+b1 gpg-wks-client_2.2.17-3+b1 gpg-wks-server_2.2.17-3+b1 gpgconf_2.2.17-3+b1 gpgsm_2.2.17-3+b1 gpgv_2.2.17-3+b1 grep_3.3-1 groff-base_1.22.4-4 gzip_1.9-3 hostname_3.23 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 iputils-ping_3:20190709-2 libacl1_2.2.53-5 libapt-pkg5.0_1.8.4 libarchive-zip-perl_1.67-1 libasan5_9.2.1-22+rpi1 libassuan0_2.5.3-7 libatomic1_9.2.1-22+rpi1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2 libaudit1_1:2.8.5-2+b1 libbinutils_2.33.1-6+rpi1 libblkid1_2.34-0.1 libbrotli1_1.0.7-6 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libbz2-dev_1.0.8-2 libc-bin_2.29-7+rpi1 libc-dev-bin_2.29-7+rpi1 libc6_2.29-7+rpi1 libc6-dev_2.29-7+rpi1 libcap-ng0_0.7.9-2.1 libcap2_1:2.27-1 libcap2-bin_1:2.27-1 libcc1-0_9.2.1-22+rpi1 libcom-err2_1.45.4-1 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.10-10+b5 libcrypt1_1:4.4.10-10+b5 libcurl3-gnutls_7.67.0-2 libcurl4-gnutls-dev_7.67.0-2 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.250 libdebhelper-perl_12.7.3 libdeflate-dev_1.5-1 libdeflate0_1.5-1 libdpkg-perl_1.19.7 libelf1_0.176-1.1 libext2fs2_1.45.4-1 libfakeroot_1.24-1 libfdisk1_2.34-0.1 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.6.3-1 libgcc-9-dev_9.2.1-22+rpi1 libgcc1_1:9.2.1-22+rpi1 libgcrypt20_1.8.5-3 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.62.4-1 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.11.1-2 libgomp1_9.2.1-22+rpi1 libgpg-error0_1.36-7 libgssapi-krb5-2_1.17-6+b1 libhogweed5_3.5.1+really3.5.1-2 libicu63_63.2-2 libidn2-0_2.2.0-2 libisl22_0.22-2 libk5crypto3_1.17-6+b1 libkeyutils1_1.6-6 libkrb5-3_1.17-6+b1 libkrb5support0_1.17-6+b1 libksba8_1.3.5-2 libldap-2.4-2_2.4.48+dfsg-1+b2 libldap-common_2.4.48+dfsg-1 liblz4-1_1.9.2-2 liblzma-dev_5.2.4-1 liblzma5_5.2.4-1 libmagic-mgc_1:5.37-6 libmagic1_1:5.37-6 libmount1_2.34-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libncursesw6_6.1+20191019-1 libnettle7_3.5.1+really3.5.1-2 libnghttp2-14_1.40.0-1 libnpth0_1.6-1 libp11-kit0_0.23.18.1-2 libpam-cap_1:2.27-1 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12 libperl5.30_5.30.0-9 libpipeline1_1.5.2-1 libpsl5_0.20.2-2 libreadline7_7.0-5 libreadline8_8.0-3 librtmp1_2.4+20151223.gitfa8646d.1-2+b1 librust-rand-core-dev_0.5.1-1 libsasl2-2_2.1.27+dfsg-2 libsasl2-modules-db_2.1.27+dfsg-2 libseccomp2_2.4.2-2+rpi1 libselinux1_3.0-1 libsemanage-common_3.0-1 libsemanage1_3.0-1 libsepol1_3.0-1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1 libsqlite3-0_3.30.1+fossil191229-1 libss2_1.45.4-1 libssh2-1_1.8.0-2.1 libssl-dev_1.1.1d-2 libssl1.1_1.1.1d-2 libstdc++-9-dev_9.2.1-22+rpi1 libstdc++6_9.2.1-22+rpi1 libsub-override-perl_0.09-2 libsystemd0_244-3+rpi1+b1 libtasn1-6_4.15.0-2 libtinfo5_6.1+20191019-1 libtinfo6_6.1+20191019-1 libtool_2.4.6-11 libubsan1_9.2.1-22+rpi1 libuchardet0_0.0.6-3 libudev1_244-3+rpi1+b1 libunistring2_0.9.10-2 libuuid1_2.34-0.1 libxml2_2.9.4+dfsg1-8 libzstd1_1.4.4+dfsg-1+rpi1 linux-libc-dev_5.2.17-1+rpi1+b2 login_1:4.8-1 logsave_1.45.4-1 lsb-base_11.1.0+rpi1 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-2 mawk_1.3.3-17 mount_2.34-0.1 ncurses-base_6.1+20191019-1 ncurses-bin_6.1+20191019-1 netbase_6.0 passwd_1:4.8-1 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.30_5.30.0-9 pinentry-curses_1.1.0-3 po-debconf_1.0.21 raspbian-archive-keyring_20120528.2 readline-common_8.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-htslib-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sysvinit-utils_2.96-1 tar_1.30+dfsg-6 tzdata_2019c-3 util-linux_2.34-0.1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1 zlib1g-dev_1:1.2.11.dfsg-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Thu Dec 26 13:56:46 2019 UTC
gpgv:                using RSA key 724D609337113C710550D7473C26763F6C67E6E2
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./htslib_1.10.2-2.dsc
dpkg-source: info: extracting htslib in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking htslib_1.10.2.orig.tar.bz2
dpkg-source: info: unpacking htslib_1.10.2-2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying no_git_version
dpkg-source: info: applying define_PATH_MAX.patch
dpkg-source: info: applying fPIC.patch
dpkg-source: info: applying testShebang.patch
dpkg-source: info: applying fix_float_precision

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bullseye-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bullseye-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bullseye-staging-armhf-sbuild-76d96379-0dee-4e4a-b230-2011d9813de7
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package htslib
dpkg-buildpackage: info: source version 1.10.2-2
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
dpkg-source: info: using options from htslib-1.10.2/debian/source/options: --single-debian-patch --extend-diff-ignore=^(\.travis\.yml|README.md|aclocal.m4|config.h.in|configure)$
 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	make -j4 distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f test/*.tmp test/*.tmp.* test/longrefs/*.tmp.* test/tabix/*.tmp.* test/tabix/FAIL* header-exports.txt shlib-exports-so.txt
rm -f libhts.so libhts.so.*
rm -f *.o *.pico cram/*.o cram/*.pico test/*.o test/*.dSYM version.h
rm -f hts-object-files
rm -f libhts.a bgzip htsfile tabix  test/hts_endian test/fieldarith test/hfile test/pileup test/sam test/test_bgzf test/test_kstring test/test_realn test/test-regidx test/test_str2int test/test_view test/test_index test/test-vcf-api test/test-vcf-sweep test/test-bcf-sr test/fuzz/hts_open_fuzzer.o test/test-bcf-translate test/test-parse-reg test/thrash_threads1 test/thrash_threads2 test/thrash_threads3 test/thrash_threads4 test/thrash_threads5 test/thrash_threads6 test/thrash_threads7
rm -f config.cache config.h config.log config.mk config.status
rm -f TAGS *.pc.tmp *-uninstalled.pc htslib_static.mk
rm -rf autom4te.cache
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf test_backup/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libhts3.substvars debian/libhts-dev.substvars debian/htslib-test.substvars debian/tabix.substvars debian/files
	rm -fr -- debian/libhts3/ debian/tmp/ debian/libhts-dev/ debian/htslib-test/ debian/tabix/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.before
	grep -q ^XDT_ configure.ac
	autoreconf -f -i
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.after
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# create clean copy of test dir
cp -a test test_backup
autoconf
dh_auto_configure -- --enable-libcurl --enable-gcs --enable-s3
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-libcurl --enable-gcs --enable-s3
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for C compiler warning flags... -Wall
checking for pkg-config... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking shared library type for unknown-Linux... plain .so
checking whether the compiler accepts -fvisibility=hidden... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gmtime_r... yes
checking for fsync... yes
checking for drand48... yes
checking whether fdatasync is declared... yes
checking for fdatasync... yes
checking for library containing log... -lm
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for library containing recv... none required
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for lzma.h... yes
checking for lzma_easy_buffer_encode in -llzma... yes
checking for libdeflate.h... yes
checking for libdeflate_deflate_compress in -ldeflate... yes
checking for curl_easy_pause in -lcurl... yes
checking for CCHmac... no
checking for library containing HMAC... -lcrypto
checking whether PTHREAD_MUTEX_RECURSIVE is declared... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating htslib.pc.tmp
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- \
  CFLAGS="$(dpkg-buildflags --get CFLAGS)" \
  CPPFLAGS="-I. -DSAMTOOLS=1 $(dpkg-buildflags --get CPPFLAGS)" \
  LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" \
  PACKAGE_VERSION="1.10.2-2" \
  libdir=/usr/lib/arm-linux-gnueabihf
	make -j4 "CFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto" "CPPFLAGS=-I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto" PACKAGE_VERSION=1.10.2-2 libdir=/usr/lib/arm-linux-gnueabihf
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kfunc.o kfunc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o knetfile.o knetfile.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kstring.o kstring.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bcf_sr_sort.o bcf_sr_sort.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bgzf.o bgzf.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o errmod.o errmod.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o faidx.o faidx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o header.o header.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile.o hfile.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile_net.o hfile_net.c
echo '#define HTS_VERSION_TEXT "1.10.2-2"' > version.h
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hts_os.o hts_os.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o md5.o md5.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o multipart.o multipart.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probaln.o probaln.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o realn.o realn.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o regidx.o regidx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o region.o region.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sam.o sam.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o synced_bcf_reader.o synced_bcf_reader.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vcf_sweep.o vcf_sweep.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tbx.o tbx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o textutils.o textutils.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o thread_pool.o thread_pool.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vcf.o vcf.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vcfutils.o vcfutils.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_codecs.o cram/cram_codecs.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_decode.o cram/cram_decode.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_encode.o cram/cram_encode.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_external.o cram/cram_external.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_index.o cram/cram_index.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_io.o cram/cram_io.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_samtools.o cram/cram_samtools.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/cram_stats.o cram/cram_stats.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/mFILE.o cram/mFILE.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/open_trace_file.o cram/open_trace_file.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/pooled_alloc.o cram/pooled_alloc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/rANS_static.o cram/rANS_static.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cram/string_alloc.o cram/string_alloc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile_libcurl.o hfile_libcurl.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile_gcs.o hfile_gcs.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile_s3.o hfile_s3.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hfile_s3_write.o hfile_s3_write.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o kfunc.pico kfunc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o knetfile.pico knetfile.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o kstring.pico kstring.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o bcf_sr_sort.pico bcf_sr_sort.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o bgzf.pico bgzf.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o errmod.pico errmod.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o faidx.pico faidx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o header.pico header.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile.pico hfile.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_net.pico hfile_net.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hts.pico hts.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hts_os.pico hts_os.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o md5.pico md5.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o multipart.pico multipart.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o probaln.pico probaln.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o realn.pico realn.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o regidx.pico regidx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o region.pico region.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o sam.pico sam.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o synced_bcf_reader.pico synced_bcf_reader.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o vcf_sweep.pico vcf_sweep.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o tbx.pico tbx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o textutils.pico textutils.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o thread_pool.pico thread_pool.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o vcf.pico vcf.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o vcfutils.pico vcfutils.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_codecs.pico cram/cram_codecs.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_decode.pico cram/cram_decode.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_encode.pico cram/cram_encode.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_external.pico cram/cram_external.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_index.pico cram/cram_index.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_io.pico cram/cram_io.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_samtools.pico cram/cram_samtools.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/cram_stats.pico cram/cram_stats.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/mFILE.pico cram/mFILE.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/open_trace_file.pico cram/open_trace_file.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/pooled_alloc.pico cram/pooled_alloc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/rANS_static.pico cram/rANS_static.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o cram/string_alloc.pico cram/string_alloc.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_libcurl.pico hfile_libcurl.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_gcs.pico hfile_gcs.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_s3.pico hfile_s3.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hfile_s3_write.pico hfile_s3_write.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bgzip.o bgzip.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o htsfile.o htsfile.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabix.o tabix.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/hts_endian.o test/hts_endian.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/fieldarith.o test/fieldarith.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/hfile.o test/hfile.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/pileup.o test/pileup.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/sam.o test/sam.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_bgzf.o test/test_bgzf.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_kstring.o test/test_kstring.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_realn.o test/test_realn.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-regidx.o test/test-regidx.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_str2int.o test/test_str2int.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_view.o test/test_view.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test_index.o test/test_index.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-api.o test/test-vcf-api.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-vcf-sweep.o test/test-vcf-sweep.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-bcf-sr.o test/test-bcf-sr.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/fuzz/hts_open_fuzzer.o test/fuzz/hts_open_fuzzer.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-bcf-translate.o test/test-bcf-translate.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o test/test-parse-reg.o test/test-parse-reg.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -flto -I. -I. -DSAMTOOLS=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hts.o hts.c
gcc -shared -Wl,-soname,libhts.so.3 -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o libhts.so kfunc.pico knetfile.pico kstring.pico bcf_sr_sort.pico bgzf.pico errmod.pico faidx.pico header.pico hfile.pico hfile_net.pico hts.pico hts_os.pico md5.pico multipart.pico probaln.pico realn.pico regidx.pico region.pico sam.pico synced_bcf_reader.pico vcf_sweep.pico tbx.pico textutils.pico thread_pool.pico vcf.pico vcfutils.pico cram/cram_codecs.pico cram/cram_decode.pico cram/cram_encode.pico cram/cram_external.pico cram/cram_index.pico cram/cram_io.pico cram/cram_samtools.pico cram/cram_stats.pico cram/mFILE.pico cram/open_trace_file.pico cram/pooled_alloc.pico cram/rANS_static.pico cram/string_alloc.pico hfile_libcurl.pico hfile_gcs.pico hfile_s3.pico hfile_s3_write.pico -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/hts_endian test/hts_endian.o -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test_str2int test/test_str2int.o
ar -rc libhts.a kfunc.o knetfile.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hfile_net.o hts.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_samtools.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/rANS_static.o cram/string_alloc.o   hfile_libcurl.o hfile_gcs.o hfile_s3.o hfile_s3_write.o
ranlib libhts.a
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o bgzip bgzip.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o htsfile htsfile.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o tabix tabix.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/fieldarith test/fieldarith.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/hfile test/hfile.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/pileup test/pileup.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/sam test/sam.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test_bgzf test/test_bgzf.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
ln -sf libhts.so libhts.so.3
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test_kstring test/test_kstring.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test_realn test/test_realn.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test-regidx test/test-regidx.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test_view test/test_view.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test_index test/test_index.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test-vcf-api test/test-vcf-api.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test-vcf-sweep test/test-vcf-sweep.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test-bcf-sr test/test-bcf-sr.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test-bcf-translate test/test-bcf-translate.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -Wl,-flto -o test/test-parse-reg test/test-parse-reg.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test || \
  if find . -name "FAIL*" > /dev/null ; then \
    for file in $(find . -name "FAIL*"); do echo ${file}; cat ${file}; done && false ; \
  fi
	make -j4 test VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
echo '#define HTS_VERSION_TEXT "1.10.2"' > version.h
gcc -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -fvisibility=hidden -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hts.o hts.c
ar -rc libhts.a kfunc.o knetfile.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hfile_net.o hts.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_samtools.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/rANS_static.o cram/string_alloc.o   hfile_libcurl.o hfile_gcs.o hfile_s3.o hfile_s3_write.o
ranlib libhts.a
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o bgzip bgzip.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o htsfile htsfile.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o tabix tabix.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/fieldarith test/fieldarith.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/hfile test/hfile.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/pileup test/pileup.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/sam test/sam.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test_bgzf test/test_bgzf.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test_kstring test/test_kstring.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test_realn test/test_realn.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test-regidx test/test-regidx.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test_view test/test_view.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test_index test/test_index.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test-vcf-api test/test-vcf-api.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test-vcf-sweep test/test-vcf-sweep.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test-bcf-sr test/test-bcf-sr.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test-bcf-translate test/test-bcf-translate.o libhts.a -lz -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
gcc -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o test/test-parse-reg test/test-parse-reg.o libhts.a -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
test/hts_endian
test/test_kstring
test/test_str2int
test/fieldarith test/fieldarith.sam
test/hfile
test/test_bgzf test/bgziptest.txt
test/test-parse-reg -t test/colons.bam
Expected error: [E::hts_parse_region] Range is ambiguous. Use {chr1:100-200} or {chr1}:100-200 instead
Expected error: [E::hts_parse_region] Range is ambiguous. Use {chr1:100-200,chr3} or {chr1}:100-200,chr3 instead
Expected error: [E::hts_parse_region] Mismatching braces in "{chr1"
Expected error: [E::hts_parse_region] Unexpected string "x" after region
Expected error: [E::hts_parse_region] Unexpected string "y" after region
Expected error: [E::hts_parse_region] Unexpected string "chr3" after region
cd test/tabix && ./test-tabix.sh tabix.tst
Testing tabix...
PASS : $tabix -f -p vcf vcf_file.tbi.tmp.vcf.gz
PASS : $tabix vcf_file.tbi.tmp.vcf.gz 1:3000151-3000151
PASS : $tabix vcf_file.tbi.tmp.vcf.gz 2:3199812-3199812
PASS : $tabix -f -C -p vcf vcf_file.csi.tmp.vcf.gz
PASS : $tabix vcf_file.csi.tmp.vcf.gz 1:3000151-3000151
PASS : $tabix vcf_file.csi.tmp.vcf.gz 2:3199812-3199812
PASS : $tabix -f -p vcf large_chr.tmp.vcf.gz (must exit non-zero)
PASS : $tabix -f -C -p vcf large_chr.tmp.vcf.gz
PASS : $tabix large_chr.tmp.vcf.gz chr20:1-2147483647
PASS : $tabix -f -p bed bed_file.tbi.tmp.bed.gz
PASS : $tabix bed_file.tbi.tmp.bed.gz Y:100200-100200
PASS : $tabix -f -p gff gff_file.tbi.tmp.gff.gz
PASS : $tabix gff_file.tbi.tmp.gff.gz X:2934832-2935190

Expected   passes:   13
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
cd test/mpileup && ./test-pileup.sh mpileup.tst
Testing (m)pileup...
PASS : $pileup mp_D.sam
PASS : $pileup -m mp_D.sam
PASS : $pileup mp_DI.sam
PASS : $pileup -m mp_DI.sam
PASS : $pileup mp_I.sam
PASS : $pileup -m mp_I.sam
PASS : $pileup mp_P.sam
PASS : $pileup -m mp_P.sam
PASS : $pileup mp_ID.sam
PASS : $pileup -m mp_ID.sam
PASS : $pileup mp_N.sam
PASS : $pileup -m mp_N.sam
PASS : $pileup mp_N2.sam
PASS : $pileup -m mp_N2.sam
PASS : $pileup c1#pad1.sam
PASS : $pileup -m c1#pad1.sam
PASS : $pileup c1#pad2.sam
PASS : $pileup -m c1#pad2.sam
PASS : $pileup c1#pad3.sam
PASS : $pileup -m c1#pad3.sam
PASS : $pileup -m small.bam

Expected   passes:   21
Unexpected passes:   0
Expected   failures: 0
Unexpected failures: 0
REF_PATH=: test/sam test/ce.fa test/faidx.fa test/fastqs.fq
test/test-regidx
cd test && REF_PATH=: ./test.pl ${TEST_OPTS:-}
bgzip round-trip no threads: .. ok

bgzip -b no threads: .. ok

bgzip -b -I no threads: .. ok

bgzip round-trip  4 threads: .. ok

bgzip -b  4 threads: .. ok

bgzip -b -I  4 threads: .. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -b -m 14 -x /tmp/xCvFois1qn/index.bam.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -b -m 0 -x /tmp/xCvFois1qn/index.bam.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 14 -x /tmp/xCvFois1qn/index.sam.gz.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 0 -x /tmp/xCvFois1qn/index.sam.gz.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -C -x /tmp/xCvFois1qn/index.cram.crai /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index /tmp/xCvFois1qn/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -b -m 14 -x /tmp/xCvFois1qn/index.bcf.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/xCvFois1qn/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 14 -x /tmp/xCvFois1qn/index.vcf.gz.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view  -l 0 -z -m 0 -x /tmp/xCvFois1qn/index.vcf.gz.tbi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -t /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/tabix /tmp/xCvFois1qn/index.vcf.gz##idx##/tmp/xCvFois1qn/index.vcf.gz.tbi 1:10000060-10000060
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -b -m 14 -x /tmp/xCvFois1qn/index.bam.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -b -m 0 -x /tmp/xCvFois1qn/index.bam.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/xCvFois1qn/index.bam
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 14 -x /tmp/xCvFois1qn/index.sam.gz.csi /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 0 -x /tmp/xCvFois1qn/index.sam.gz.bai /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -b /tmp/xCvFois1qn/index.sam.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -C -x /tmp/xCvFois1qn/index.cram.crai /<<PKGBUILDDIR>>/test/index.sam > /tmp/xCvFois1qn/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index /tmp/xCvFois1qn/index.cram
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -b -m 14 -x /tmp/xCvFois1qn/index.bcf.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/xCvFois1qn/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.bcf
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 14 -x /tmp/xCvFois1qn/index.vcf.gz.csi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -c /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_view -@4 -l 0 -z -m 0 -x /tmp/xCvFois1qn/index.vcf.gz.tbi /<<PKGBUILDDIR>>/test/index.vcf > /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/test/test_index -t /tmp/xCvFois1qn/index.vcf.gz
.. ok

test_index:
	/<<PKGBUILDDIR>>/tabix /tmp/xCvFois1qn/index.vcf.gz##idx##/tmp/xCvFois1qn/index.vcf.gz.tbi 1:10000060-10000060
.. ok

test_view testing multi-ref CRAM modes:
  ./test_view  -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=-1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view  multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view  -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=0 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view  multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view  -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view  multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
.. ok

test_view testing multi-ref CRAM modes:
  ./test_view -@4 -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=-1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view -@4 multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view -@4 -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=0 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view -@4 multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
  ./test_view -@4 -o seqs_per_slice=100 -o no_ref=1 -o multi_seq_per_slice=1 -S -C multi_ref.tmp.sam > multi_ref.tmp.cram
  ./test_view -@4 multi_ref.tmp.cram > multi_ref.tmp.sam_
  ./compare_sam.pl multi_ref.tmp.sam multi_ref.tmp.sam_
.. ok

test_view testing auxf#values.sam, ref auxf.fa:
  ./test_view  -S -b auxf#values.sam > auxf#values.tmp.bam
  ./test_view  auxf#values.tmp.bam > auxf#values.tmp.bam.sam_
  ./compare_sam.pl auxf#values.sam auxf#values.tmp.bam.sam_
  ./test_view  -S -l0 -b auxf#values.sam > auxf#values.tmp.bam
  ./test_view  auxf#values.tmp.bam > auxf#values.tmp.bam.sam_
  ./compare_sam.pl auxf#values.sam auxf#values.tmp.bam.sam_
  ./test_view  -t auxf.fa -S -C -o VERSION=2.1 auxf#values.sam > auxf#values.tmp.cram
  ./test_view  -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view  -t auxf.fa -C -o VERSION=2.1 auxf#values.tmp.bam > auxf#values.tmp.bam.cram
  ./test_view  -b -D auxf#values.tmp.bam.cram > auxf#values.tmp.bam.cram.bam
  ./test_view  auxf#values.tmp.bam.cram.bam > auxf#values.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.bam.cram.bam.sam_
  ./test_view  -t auxf.fa -S -l0 -C -o VERSION=3.0 auxf#values.sam > auxf#values.tmp.cram
  ./test_view  -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view  -t auxf.fa -C -o VERSION=3.0 auxf#values.tmp.bam > auxf#values.tmp.bam.cram
  ./test_view  -b -D auxf#values.tmp.bam.cram > auxf#values.tmp.bam.cram.bam
  ./test_view  auxf#values.tmp.bam.cram.bam > auxf#values.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.bam.cram.bam.sam_
  ./test_view  -t auxf.fa -C -o VERSION=2.1 auxf#values.tmp.cram > auxf#values.tmp.cram.cram
  ./test_view  -t auxf.fa -C -o VERSION=3.0 auxf#values.tmp.cram.cram > auxf#values.tmp.cram
  ./test_view  -t auxf.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 auxf#values.tmp.cram.cram > auxf#values.tmp.cram
  ./test_view  auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view  -i reference=auxf.fa auxf#values_java.cram > auxf#values_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd auxf#values.sam auxf#values_java.tmp.sam_
.. ok

test_view testing c1#bounds.sam, ref c1.fa:
  ./test_view  -S -b c1#bounds.sam > c1#bounds.tmp.bam
  ./test_view  c1#bounds.tmp.bam > c1#bounds.tmp.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#bounds.sam > c1#bounds.tmp.bam
  ./test_view  c1#bounds.tmp.bam > c1#bounds.tmp.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view  -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view  -b -D c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam
  ./test_view  c1#bounds.tmp.bam.cram.bam > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view  -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view  -b -D c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam
  ./test_view  c1#bounds.tmp.bam.cram.bam > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#bounds.tmp.cram > c1#bounds.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#bounds.tmp.cram.cram > c1#bounds.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#bounds.tmp.cram.cram > c1#bounds.tmp.cram
  ./test_view  c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
.. ok

test_view testing c1#clip.sam, ref c1.fa:
  ./test_view  -S -b c1#clip.sam > c1#clip.tmp.bam
  ./test_view  c1#clip.tmp.bam > c1#clip.tmp.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#clip.sam > c1#clip.tmp.bam
  ./test_view  c1#clip.tmp.bam > c1#clip.tmp.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#clip.sam > c1#clip.tmp.cram
  ./test_view  -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view  -b -D c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam
  ./test_view  c1#clip.tmp.bam.cram.bam > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#clip.sam > c1#clip.tmp.cram
  ./test_view  -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view  -b -D c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam
  ./test_view  c1#clip.tmp.bam.cram.bam > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#clip.tmp.cram > c1#clip.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#clip.tmp.cram.cram > c1#clip.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#clip.tmp.cram.cram > c1#clip.tmp.cram
  ./test_view  c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
.. ok

test_view testing c1#noseq.sam, ref c1.fa:
  ./test_view  -S -b c1#noseq.sam > c1#noseq.tmp.bam
  ./test_view  c1#noseq.tmp.bam > c1#noseq.tmp.bam.sam_
  ./compare_sam.pl c1#noseq.sam c1#noseq.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#noseq.sam > c1#noseq.tmp.bam
  ./test_view  c1#noseq.tmp.bam > c1#noseq.tmp.bam.sam_
  ./compare_sam.pl c1#noseq.sam c1#noseq.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#noseq.sam > c1#noseq.tmp.cram
  ./test_view  -D c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#noseq.tmp.bam > c1#noseq.tmp.bam.cram
  ./test_view  -b -D c1#noseq.tmp.bam.cram > c1#noseq.tmp.bam.cram.bam
  ./test_view  c1#noseq.tmp.bam.cram.bam > c1#noseq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#noseq.sam > c1#noseq.tmp.cram
  ./test_view  -D c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#noseq.tmp.bam > c1#noseq.tmp.bam.cram
  ./test_view  -b -D c1#noseq.tmp.bam.cram > c1#noseq.tmp.bam.cram.bam
  ./test_view  c1#noseq.tmp.bam.cram.bam > c1#noseq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#noseq.tmp.cram > c1#noseq.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#noseq.tmp.cram.cram > c1#noseq.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#noseq.tmp.cram.cram > c1#noseq.tmp.cram
  ./test_view  c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
.. ok

test_view testing c1#pad1.sam, ref c1.fa:
  ./test_view  -S -b c1#pad1.sam > c1#pad1.tmp.bam
  ./test_view  c1#pad1.tmp.bam > c1#pad1.tmp.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#pad1.sam > c1#pad1.tmp.bam
  ./test_view  c1#pad1.tmp.bam > c1#pad1.tmp.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view  -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view  -b -D c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam
  ./test_view  c1#pad1.tmp.bam.cram.bam > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view  -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view  -b -D c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam
  ./test_view  c1#pad1.tmp.bam.cram.bam > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#pad1.tmp.cram > c1#pad1.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad1.tmp.cram.cram > c1#pad1.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#pad1.tmp.cram.cram > c1#pad1.tmp.cram
  ./test_view  c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
.. ok

test_view testing c1#pad2.sam, ref c1.fa:
  ./test_view  -S -b c1#pad2.sam > c1#pad2.tmp.bam
  ./test_view  c1#pad2.tmp.bam > c1#pad2.tmp.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#pad2.sam > c1#pad2.tmp.bam
  ./test_view  c1#pad2.tmp.bam > c1#pad2.tmp.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view  -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view  -b -D c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam
  ./test_view  c1#pad2.tmp.bam.cram.bam > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view  -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view  -b -D c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam
  ./test_view  c1#pad2.tmp.bam.cram.bam > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#pad2.tmp.cram > c1#pad2.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad2.tmp.cram.cram > c1#pad2.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#pad2.tmp.cram.cram > c1#pad2.tmp.cram
  ./test_view  c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
.. ok

test_view testing c1#pad3.sam, ref c1.fa:
  ./test_view  -S -b c1#pad3.sam > c1#pad3.tmp.bam
  ./test_view  c1#pad3.tmp.bam > c1#pad3.tmp.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#pad3.sam > c1#pad3.tmp.bam
  ./test_view  c1#pad3.tmp.bam > c1#pad3.tmp.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view  -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view  -b -D c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam
  ./test_view  c1#pad3.tmp.bam.cram.bam > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view  -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view  -b -D c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam
  ./test_view  c1#pad3.tmp.bam.cram.bam > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#pad3.tmp.cram > c1#pad3.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#pad3.tmp.cram.cram > c1#pad3.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#pad3.tmp.cram.cram > c1#pad3.tmp.cram
  ./test_view  c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
.. ok

test_view testing c1#unknown.sam, ref c1.fa:
  ./test_view  -S -b c1#unknown.sam > c1#unknown.tmp.bam
  ./test_view  c1#unknown.tmp.bam > c1#unknown.tmp.bam.sam_
  ./compare_sam.pl c1#unknown.sam c1#unknown.tmp.bam.sam_
  ./test_view  -S -l0 -b c1#unknown.sam > c1#unknown.tmp.bam
  ./test_view  c1#unknown.tmp.bam > c1#unknown.tmp.bam.sam_
  ./compare_sam.pl c1#unknown.sam c1#unknown.tmp.bam.sam_
  ./test_view  -t c1.fa -S -C -o VERSION=2.1 c1#unknown.sam > c1#unknown.tmp.cram
  ./test_view  -D c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#unknown.tmp.bam > c1#unknown.tmp.bam.cram
  ./test_view  -b -D c1#unknown.tmp.bam.cram > c1#unknown.tmp.bam.cram.bam
  ./test_view  c1#unknown.tmp.bam.cram.bam > c1#unknown.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -S -l0 -C -o VERSION=3.0 c1#unknown.sam > c1#unknown.tmp.cram
  ./test_view  -D c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#unknown.tmp.bam > c1#unknown.tmp.bam.cram
  ./test_view  -b -D c1#unknown.tmp.bam.cram > c1#unknown.tmp.bam.cram.bam
  ./test_view  c1#unknown.tmp.bam.cram.bam > c1#unknown.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.bam.cram.bam.sam_
  ./test_view  -t c1.fa -C -o VERSION=2.1 c1#unknown.tmp.cram > c1#unknown.tmp.cram.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 c1#unknown.tmp.cram.cram > c1#unknown.tmp.cram
  ./test_view  -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#unknown.tmp.cram.cram > c1#unknown.tmp.cram
  ./test_view  c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
.. ok

test_view testing c2#pad.sam, ref c2.fa:
  ./test_view  -S -b c2#pad.sam > c2#pad.tmp.bam
  ./test_view  c2#pad.tmp.bam > c2#pad.tmp.bam.sam_
  ./compare_sam.pl c2#pad.sam c2#pad.tmp.bam.sam_
  ./test_view  -S -l0 -b c2#pad.sam > c2#pad.tmp.bam
  ./test_view  c2#pad.tmp.bam > c2#pad.tmp.bam.sam_
  ./compare_sam.pl c2#pad.sam c2#pad.tmp.bam.sam_
  ./test_view  -t c2.fa -S -C -o VERSION=2.1 c2#pad.sam > c2#pad.tmp.cram
  ./test_view  -D c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
  ./test_view  -t c2.fa -C -o VERSION=2.1 c2#pad.tmp.bam > c2#pad.tmp.bam.cram
  ./test_view  -b -D c2#pad.tmp.bam.cram > c2#pad.tmp.bam.cram.bam
  ./test_view  c2#pad.tmp.bam.cram.bam > c2#pad.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.bam.cram.bam.sam_
  ./test_view  -t c2.fa -S -l0 -C -o VERSION=3.0 c2#pad.sam > c2#pad.tmp.cram
  ./test_view  -D c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
  ./test_view  -t c2.fa -C -o VERSION=3.0 c2#pad.tmp.bam > c2#pad.tmp.bam.cram
  ./test_view  -b -D c2#pad.tmp.bam.cram > c2#pad.tmp.bam.cram.bam
  ./test_view  c2#pad.tmp.bam.cram.bam > c2#pad.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.bam.cram.bam.sam_
  ./test_view  -t c2.fa -C -o VERSION=2.1 c2#pad.tmp.cram > c2#pad.tmp.cram.cram
  ./test_view  -t c2.fa -C -o VERSION=3.0 c2#pad.tmp.cram.cram > c2#pad.tmp.cram
  ./test_view  -t c2.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c2#pad.tmp.cram.cram > c2#pad.tmp.cram
  ./test_view  c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
.. ok

test_view testing ce#1.sam, ref ce.fa:
  ./test_view  -S -b ce#1.sam > ce#1.tmp.bam
  ./test_view  ce#1.tmp.bam > ce#1.tmp.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#1.sam > ce#1.tmp.bam
  ./test_view  ce#1.tmp.bam > ce#1.tmp.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#1.sam > ce#1.tmp.cram
  ./test_view  -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view  -b -D ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam
  ./test_view  ce#1.tmp.bam.cram.bam > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#1.sam > ce#1.tmp.cram
  ./test_view  -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view  -b -D ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam
  ./test_view  ce#1.tmp.bam.cram.bam > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#1.tmp.cram > ce#1.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#1.tmp.cram.cram > ce#1.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#1.tmp.cram.cram > ce#1.tmp.cram
  ./test_view  ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
.. ok

test_view testing ce#1000.sam, ref ce.fa:
  ./test_view  -S -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view  ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view  ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#1000.sam > ce#1000.tmp.cram
  ./test_view  -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#1000.tmp.bam > ce#1000.tmp.bam.cram
  ./test_view  -b -D ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.bam
  ./test_view  ce#1000.tmp.bam.cram.bam > ce#1000.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#1000.sam > ce#1000.tmp.cram
  ./test_view  -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#1000.tmp.bam > ce#1000.tmp.bam.cram
  ./test_view  -b -D ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.bam
  ./test_view  ce#1000.tmp.bam.cram.bam > ce#1000.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#1000.tmp.cram > ce#1000.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#1000.tmp.cram.cram > ce#1000.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#1000.tmp.cram.cram > ce#1000.tmp.cram
  ./test_view  ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
.. ok

test_view testing ce#2.sam, ref ce.fa:
  ./test_view  -S -b ce#2.sam > ce#2.tmp.bam
  ./test_view  ce#2.tmp.bam > ce#2.tmp.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#2.sam > ce#2.tmp.bam
  ./test_view  ce#2.tmp.bam > ce#2.tmp.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#2.sam > ce#2.tmp.cram
  ./test_view  -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view  -b -D ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam
  ./test_view  ce#2.tmp.bam.cram.bam > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#2.sam > ce#2.tmp.cram
  ./test_view  -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view  -b -D ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam
  ./test_view  ce#2.tmp.bam.cram.bam > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#2.tmp.cram > ce#2.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#2.tmp.cram.cram > ce#2.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#2.tmp.cram.cram > ce#2.tmp.cram
  ./test_view  ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
.. ok

test_view testing ce#5.sam, ref ce.fa:
  ./test_view  -S -b ce#5.sam > ce#5.tmp.bam
  ./test_view  ce#5.tmp.bam > ce#5.tmp.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#5.sam > ce#5.tmp.bam
  ./test_view  ce#5.tmp.bam > ce#5.tmp.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#5.sam > ce#5.tmp.cram
  ./test_view  -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view  -b -D ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam
  ./test_view  ce#5.tmp.bam.cram.bam > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#5.sam > ce#5.tmp.cram
  ./test_view  -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view  -b -D ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam
  ./test_view  ce#5.tmp.bam.cram.bam > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#5.tmp.cram > ce#5.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#5.tmp.cram.cram > ce#5.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#5.tmp.cram.cram > ce#5.tmp.cram
  ./test_view  ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
.. ok

test_view testing ce#5b.sam, ref ce.fa:
  ./test_view  -S -b ce#5b.sam > ce#5b.tmp.bam
  ./test_view  ce#5b.tmp.bam > ce#5b.tmp.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#5b.sam > ce#5b.tmp.bam
  ./test_view  ce#5b.tmp.bam > ce#5b.tmp.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#5b.sam > ce#5b.tmp.cram
  ./test_view  -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view  -b -D ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam
  ./test_view  ce#5b.tmp.bam.cram.bam > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#5b.sam > ce#5b.tmp.cram
  ./test_view  -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view  -b -D ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam
  ./test_view  ce#5b.tmp.bam.cram.bam > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#5b.tmp.cram > ce#5b.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#5b.tmp.cram.cram > ce#5b.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#5b.tmp.cram.cram > ce#5b.tmp.cram
  ./test_view  ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view  -i reference=ce.fa ce#5b_java.cram > ce#5b_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd ce#5b.sam ce#5b_java.tmp.sam_
.. ok

test_view testing ce#large_seq.sam, ref ce.fa:
  ./test_view  -S -b ce#large_seq.sam > ce#large_seq.tmp.bam
  ./test_view  ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#large_seq.sam > ce#large_seq.tmp.bam
  ./test_view  ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#large_seq.sam > ce#large_seq.tmp.cram
  ./test_view  -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view  -b -D ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam
  ./test_view  ce#large_seq.tmp.bam.cram.bam > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#large_seq.sam > ce#large_seq.tmp.cram
  ./test_view  -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view  -b -D ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam
  ./test_view  ce#large_seq.tmp.bam.cram.bam > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#large_seq.tmp.cram.cram > ce#large_seq.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#large_seq.tmp.cram.cram > ce#large_seq.tmp.cram
  ./test_view  ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
.. ok

test_view testing ce#supp.sam, ref ce.fa:
  ./test_view  -S -b ce#supp.sam > ce#supp.tmp.bam
  ./test_view  ce#supp.tmp.bam > ce#supp.tmp.bam.sam_
  ./compare_sam.pl ce#supp.sam ce#supp.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#supp.sam > ce#supp.tmp.bam
  ./test_view  ce#supp.tmp.bam > ce#supp.tmp.bam.sam_
  ./compare_sam.pl ce#supp.sam ce#supp.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#supp.sam > ce#supp.tmp.cram
  ./test_view  -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#supp.tmp.bam > ce#supp.tmp.bam.cram
  ./test_view  -b -D ce#supp.tmp.bam.cram > ce#supp.tmp.bam.cram.bam
  ./test_view  ce#supp.tmp.bam.cram.bam > ce#supp.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#supp.sam > ce#supp.tmp.cram
  ./test_view  -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#supp.tmp.bam > ce#supp.tmp.bam.cram
  ./test_view  -b -D ce#supp.tmp.bam.cram > ce#supp.tmp.bam.cram.bam
  ./test_view  ce#supp.tmp.bam.cram.bam > ce#supp.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#supp.tmp.cram > ce#supp.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#supp.tmp.cram.cram > ce#supp.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#supp.tmp.cram.cram > ce#supp.tmp.cram
  ./test_view  ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
.. ok

test_view testing ce#tag_depadded.sam, ref ce.fa:
  ./test_view  -S -b ce#tag_depadded.sam > ce#tag_depadded.tmp.bam
  ./test_view  ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#tag_depadded.sam > ce#tag_depadded.tmp.bam
  ./test_view  ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#tag_depadded.sam > ce#tag_depadded.tmp.cram
  ./test_view  -D ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view  -b -D ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam
  ./test_view  ce#tag_depadded.tmp.bam.cram.bam > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#tag_depadded.sam > ce#tag_depadded.tmp.cram
  ./test_view  -D ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view  -b -D ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam
  ./test_view  ce#tag_depadded.tmp.bam.cram.bam > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#tag_depadded.tmp.cram.cram > ce#tag_depadded.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#tag_depadded.tmp.cram.cram > ce#tag_depadded.tmp.cram
  ./test_view  ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
.. ok

test_view testing ce#tag_padded.sam, ref ce.fa:
  ./test_view  -S -b ce#tag_padded.sam > ce#tag_padded.tmp.bam
  ./test_view  ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#tag_padded.sam > ce#tag_padded.tmp.bam
  ./test_view  ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#tag_padded.sam > ce#tag_padded.tmp.cram
  ./test_view  -D ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view  -b -D ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam
  ./test_view  ce#tag_padded.tmp.bam.cram.bam > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#tag_padded.sam > ce#tag_padded.tmp.cram
  ./test_view  -D ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view  -b -D ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam
  ./test_view  ce#tag_padded.tmp.bam.cram.bam > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#tag_padded.tmp.cram.cram > ce#tag_padded.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#tag_padded.tmp.cram.cram > ce#tag_padded.tmp.cram
  ./test_view  ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
.. ok

test_view testing ce#unmap.sam, ref ce.fa:
  ./test_view  -S -b ce#unmap.sam > ce#unmap.tmp.bam
  ./test_view  ce#unmap.tmp.bam > ce#unmap.tmp.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#unmap.sam > ce#unmap.tmp.bam
  ./test_view  ce#unmap.tmp.bam > ce#unmap.tmp.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view  -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view  -b -D ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam
  ./test_view  ce#unmap.tmp.bam.cram.bam > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view  -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view  -b -D ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam
  ./test_view  ce#unmap.tmp.bam.cram.bam > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#unmap.tmp.cram > ce#unmap.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap.tmp.cram.cram > ce#unmap.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap.tmp.cram.cram > ce#unmap.tmp.cram
  ./test_view  ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
.. ok

test_view testing ce#unmap1.sam, ref ce.fa:
  ./test_view  -S -b ce#unmap1.sam > ce#unmap1.tmp.bam
  ./test_view  ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#unmap1.sam > ce#unmap1.tmp.bam
  ./test_view  ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view  -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view  -b -D ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam
  ./test_view  ce#unmap1.tmp.bam.cram.bam > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view  -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view  -b -D ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam
  ./test_view  ce#unmap1.tmp.bam.cram.bam > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap1.tmp.cram.cram > ce#unmap1.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap1.tmp.cram.cram > ce#unmap1.tmp.cram
  ./test_view  ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
.. ok

test_view testing ce#unmap2.sam, ref ce.fa:
  ./test_view  -S -b ce#unmap2.sam > ce#unmap2.tmp.bam
  ./test_view  ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.sam_
  ./test_view  -S -l0 -b ce#unmap2.sam > ce#unmap2.tmp.bam
  ./test_view  ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.sam_
  ./test_view  -t ce.fa -S -C -o VERSION=2.1 ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view  -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view  -b -D ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam
  ./test_view  ce#unmap2.tmp.bam.cram.bam > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -S -l0 -C -o VERSION=3.0 ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view  -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view  -b -D ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam
  ./test_view  ce#unmap2.tmp.bam.cram.bam > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_
  ./test_view  -t ce.fa -C -o VERSION=2.1 ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 ce#unmap2.tmp.cram.cram > ce#unmap2.tmp.cram
  ./test_view  -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap2.tmp.cram.cram > ce#unmap2.tmp.cram
  ./test_view  ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
.. ok

test_view testing md#1.sam, ref md.fa:
  ./test_view  -S -b md#1.sam > md#1.tmp.bam
  ./test_view  md#1.tmp.bam > md#1.tmp.bam.sam_
  ./compare_sam.pl md#1.sam md#1.tmp.bam.sam_
  ./test_view  -S -l0 -b md#1.sam > md#1.tmp.bam
  ./test_view  md#1.tmp.bam > md#1.tmp.bam.sam_
  ./compare_sam.pl md#1.sam md#1.tmp.bam.sam_
  ./test_view  -t md.fa -S -C -o VERSION=2.1 md#1.sam > md#1.tmp.cram
  ./test_view  -D md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
  ./test_view  -t md.fa -C -o VERSION=2.1 md#1.tmp.bam > md#1.tmp.bam.cram
  ./test_view  -b -D md#1.tmp.bam.cram > md#1.tmp.bam.cram.bam
  ./test_view  md#1.tmp.bam.cram.bam > md#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.bam.cram.bam.sam_
  ./test_view  -t md.fa -S -l0 -C -o VERSION=3.0 md#1.sam > md#1.tmp.cram
  ./test_view  -D md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
  ./test_view  -t md.fa -C -o VERSION=3.0 md#1.tmp.bam > md#1.tmp.bam.cram
  ./test_view  -b -D md#1.tmp.bam.cram > md#1.tmp.bam.cram.bam
  ./test_view  md#1.tmp.bam.cram.bam > md#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.bam.cram.bam.sam_
  ./test_view  -t md.fa -C -o VERSION=2.1 md#1.tmp.cram > md#1.tmp.cram.cram
  ./test_view  -t md.fa -C -o VERSION=3.0 md#1.tmp.cram.cram > md#1.tmp.cram
  ./test_view  -t md.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 md#1.tmp.cram.cram > md#1.tmp.cram
  ./test_view  md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
.. ok

test_view testing xx#blank.sam, ref xx.fa:
  ./test_view  -S -b xx#blank.sam > xx#blank.tmp.bam
  ./test_view  xx#blank.tmp.bam > xx#blank.tmp.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#blank.sam > xx#blank.tmp.bam
  ./test_view  xx#blank.tmp.bam > xx#blank.tmp.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#blank.sam > xx#blank.tmp.cram
  ./test_view  -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view  -b -D xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam
  ./test_view  xx#blank.tmp.bam.cram.bam > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#blank.sam > xx#blank.tmp.cram
  ./test_view  -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view  -b -D xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam
  ./test_view  xx#blank.tmp.bam.cram.bam > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#blank.tmp.cram > xx#blank.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#blank.tmp.cram.cram > xx#blank.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#blank.tmp.cram.cram > xx#blank.tmp.cram
  ./test_view  xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
.. ok

test_view testing xx#large_aux.sam, ref xx.fa:
  ./test_view  -S -b xx#large_aux.sam > xx#large_aux.tmp.bam
  ./test_view  xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#large_aux.sam > xx#large_aux.tmp.bam
  ./test_view  xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#large_aux.sam > xx#large_aux.tmp.cram
  ./test_view  -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view  -b -D xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam
  ./test_view  xx#large_aux.tmp.bam.cram.bam > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#large_aux.sam > xx#large_aux.tmp.cram
  ./test_view  -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view  -b -D xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam
  ./test_view  xx#large_aux.tmp.bam.cram.bam > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#large_aux.tmp.cram.cram > xx#large_aux.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#large_aux.tmp.cram.cram > xx#large_aux.tmp.cram
  ./test_view  xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view  -i reference=xx.fa xx#large_aux_java.cram > xx#large_aux_java.tmp.sam_
[W::sanitise_SQ_lines] Header @SQ length mismatch for ref xx, 30 vs 20
  ./compare_sam.pl -Baux -nomd xx#large_aux.sam xx#large_aux_java.tmp.sam_
.. ok

test_view testing xx#large_aux2.sam, ref xx.fa:
  ./test_view  -S -b xx#large_aux2.sam > xx#large_aux2.tmp.bam
  ./test_view  xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#large_aux2.sam > xx#large_aux2.tmp.bam
  ./test_view  xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#large_aux2.sam > xx#large_aux2.tmp.cram
  ./test_view  -D xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view  -b -D xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam
  ./test_view  xx#large_aux2.tmp.bam.cram.bam > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#large_aux2.sam > xx#large_aux2.tmp.cram
  ./test_view  -D xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view  -b -D xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam
  ./test_view  xx#large_aux2.tmp.bam.cram.bam > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#large_aux2.tmp.cram.cram > xx#large_aux2.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#large_aux2.tmp.cram.cram > xx#large_aux2.tmp.cram
  ./test_view  xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
.. ok

test_view testing xx#MD.sam, ref xx.fa:
  ./test_view  -S -b xx#MD.sam > xx#MD.tmp.bam
  ./test_view  xx#MD.tmp.bam > xx#MD.tmp.bam.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#MD.sam > xx#MD.tmp.bam
  ./test_view  xx#MD.tmp.bam > xx#MD.tmp.bam.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#MD.sam > xx#MD.tmp.cram
  ./test_view  -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#MD.tmp.bam > xx#MD.tmp.bam.cram
  ./test_view  -b -D xx#MD.tmp.bam.cram > xx#MD.tmp.bam.cram.bam
  ./test_view  xx#MD.tmp.bam.cram.bam > xx#MD.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#MD.sam > xx#MD.tmp.cram
  ./test_view  -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#MD.tmp.bam > xx#MD.tmp.bam.cram
  ./test_view  -b -D xx#MD.tmp.bam.cram > xx#MD.tmp.bam.cram.bam
  ./test_view  xx#MD.tmp.bam.cram.bam > xx#MD.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#MD.tmp.cram > xx#MD.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#MD.tmp.cram.cram > xx#MD.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#MD.tmp.cram.cram > xx#MD.tmp.cram
  ./test_view  xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
.. ok

test_view testing xx#MD2.sam, ref xx.fa:
  ./test_view  -S -b xx#MD2.sam > xx#MD2.tmp.bam
  ./test_view  xx#MD2.tmp.bam > xx#MD2.tmp.bam.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#MD2.sam > xx#MD2.tmp.bam
  ./test_view  xx#MD2.tmp.bam > xx#MD2.tmp.bam.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view  -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#MD2.tmp.bam > xx#MD2.tmp.bam.cram
  ./test_view  -b -D xx#MD2.tmp.bam.cram > xx#MD2.tmp.bam.cram.bam
  ./test_view  xx#MD2.tmp.bam.cram.bam > xx#MD2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view  -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#MD2.tmp.bam > xx#MD2.tmp.bam.cram
  ./test_view  -b -D xx#MD2.tmp.bam.cram > xx#MD2.tmp.bam.cram.bam
  ./test_view  xx#MD2.tmp.bam.cram.bam > xx#MD2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#MD2.tmp.cram > xx#MD2.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#MD2.tmp.cram.cram > xx#MD2.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#MD2.tmp.cram.cram > xx#MD2.tmp.cram
  ./test_view  xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
.. ok

test_view testing xx#minimal.sam, ref xx.fa:
  ./test_view  -S -b xx#minimal.sam > xx#minimal.tmp.bam
  ./test_view  xx#minimal.tmp.bam > xx#minimal.tmp.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#minimal.sam > xx#minimal.tmp.bam
  ./test_view  xx#minimal.tmp.bam > xx#minimal.tmp.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view  -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view  -b -D xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam
  ./test_view  xx#minimal.tmp.bam.cram.bam > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view  -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view  -b -D xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam
  ./test_view  xx#minimal.tmp.bam.cram.bam > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#minimal.tmp.cram > xx#minimal.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#minimal.tmp.cram.cram > xx#minimal.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#minimal.tmp.cram.cram > xx#minimal.tmp.cram
  ./test_view  xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
.. ok

test_view testing xx#pair.sam, ref xx.fa:
  ./test_view  -S -b xx#pair.sam > xx#pair.tmp.bam
  ./test_view  xx#pair.tmp.bam > xx#pair.tmp.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#pair.sam > xx#pair.tmp.bam
  ./test_view  xx#pair.tmp.bam > xx#pair.tmp.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#pair.sam > xx#pair.tmp.cram
  ./test_view  -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view  -b -D xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam
  ./test_view  xx#pair.tmp.bam.cram.bam > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#pair.sam > xx#pair.tmp.cram
  ./test_view  -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view  -b -D xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam
  ./test_view  xx#pair.tmp.bam.cram.bam > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#pair.tmp.cram > xx#pair.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#pair.tmp.cram.cram > xx#pair.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#pair.tmp.cram.cram > xx#pair.tmp.cram
  ./test_view  xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
.. ok

test_view testing xx#repeated.sam, ref xx.fa:
  ./test_view  -S -b xx#repeated.sam > xx#repeated.tmp.bam
  ./test_view  xx#repeated.tmp.bam > xx#repeated.tmp.bam.sam_
  ./compare_sam.pl xx#repeated.sam xx#repeated.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#repeated.sam > xx#repeated.tmp.bam
  ./test_view  xx#repeated.tmp.bam > xx#repeated.tmp.bam.sam_
  ./compare_sam.pl xx#repeated.sam xx#repeated.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#repeated.sam > xx#repeated.tmp.cram
  ./test_view  -D xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#repeated.tmp.bam > xx#repeated.tmp.bam.cram
  ./test_view  -b -D xx#repeated.tmp.bam.cram > xx#repeated.tmp.bam.cram.bam
  ./test_view  xx#repeated.tmp.bam.cram.bam > xx#repeated.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#repeated.sam > xx#repeated.tmp.cram
  ./test_view  -D xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#repeated.tmp.bam > xx#repeated.tmp.bam.cram
  ./test_view  -b -D xx#repeated.tmp.bam.cram > xx#repeated.tmp.bam.cram.bam
  ./test_view  xx#repeated.tmp.bam.cram.bam > xx#repeated.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#repeated.tmp.cram > xx#repeated.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#repeated.tmp.cram.cram > xx#repeated.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#repeated.tmp.cram.cram > xx#repeated.tmp.cram
  ./test_view  xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
.. ok

test_view testing xx#rg.sam, ref xx.fa:
  ./test_view  -S -b xx#rg.sam > xx#rg.tmp.bam
  ./test_view  xx#rg.tmp.bam > xx#rg.tmp.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#rg.sam > xx#rg.tmp.bam
  ./test_view  xx#rg.tmp.bam > xx#rg.tmp.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#rg.sam > xx#rg.tmp.cram
  ./test_view  -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view  -b -D xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam
  ./test_view  xx#rg.tmp.bam.cram.bam > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#rg.sam > xx#rg.tmp.cram
  ./test_view  -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view  -b -D xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam
  ./test_view  xx#rg.tmp.bam.cram.bam > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#rg.tmp.cram > xx#rg.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#rg.tmp.cram.cram > xx#rg.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#rg.tmp.cram.cram > xx#rg.tmp.cram
  ./test_view  xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
.. ok

test_view testing xx#tlen.sam, ref xx.fa:
  ./test_view  -S -b xx#tlen.sam > xx#tlen.tmp.bam
  ./test_view  xx#tlen.tmp.bam > xx#tlen.tmp.bam.sam_
  ./compare_sam.pl xx#tlen.sam xx#tlen.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#tlen.sam > xx#tlen.tmp.bam
  ./test_view  xx#tlen.tmp.bam > xx#tlen.tmp.bam.sam_
  ./compare_sam.pl xx#tlen.sam xx#tlen.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#tlen.sam > xx#tlen.tmp.cram
  ./test_view  -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#tlen.tmp.bam > xx#tlen.tmp.bam.cram
  ./test_view  -b -D xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.bam
  ./test_view  xx#tlen.tmp.bam.cram.bam > xx#tlen.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#tlen.sam > xx#tlen.tmp.cram
  ./test_view  -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#tlen.tmp.bam > xx#tlen.tmp.bam.cram
  ./test_view  -b -D xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.bam
  ./test_view  xx#tlen.tmp.bam.cram.bam > xx#tlen.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#tlen.tmp.cram > xx#tlen.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#tlen.tmp.cram.cram > xx#tlen.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#tlen.tmp.cram.cram > xx#tlen.tmp.cram
  ./test_view  xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
.. ok

test_view testing xx#tlen2.sam, ref xx.fa:
  ./test_view  -S -b xx#tlen2.sam > xx#tlen2.tmp.bam
  ./test_view  xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.sam_
  ./compare_sam.pl xx#tlen2.sam xx#tlen2.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#tlen2.sam > xx#tlen2.tmp.bam
  ./test_view  xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.sam_
  ./compare_sam.pl xx#tlen2.sam xx#tlen2.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#tlen2.sam > xx#tlen2.tmp.cram
  ./test_view  -D xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.cram
  ./test_view  -b -D xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.bam
  ./test_view  xx#tlen2.tmp.bam.cram.bam > xx#tlen2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#tlen2.sam > xx#tlen2.tmp.cram
  ./test_view  -D xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.cram
  ./test_view  -b -D xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.bam
  ./test_view  xx#tlen2.tmp.bam.cram.bam > xx#tlen2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#tlen2.tmp.cram.cram > xx#tlen2.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#tlen2.tmp.cram.cram > xx#tlen2.tmp.cram
  ./test_view  xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
.. ok

test_view testing xx#triplet.sam, ref xx.fa:
  ./test_view  -S -b xx#triplet.sam > xx#triplet.tmp.bam
  ./test_view  xx#triplet.tmp.bam > xx#triplet.tmp.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#triplet.sam > xx#triplet.tmp.bam
  ./test_view  xx#triplet.tmp.bam > xx#triplet.tmp.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view  -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view  -b -D xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam
  ./test_view  xx#triplet.tmp.bam.cram.bam > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view  -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view  -b -D xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam
  ./test_view  xx#triplet.tmp.bam.cram.bam > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#triplet.tmp.cram > xx#triplet.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#triplet.tmp.cram.cram > xx#triplet.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#triplet.tmp.cram.cram > xx#triplet.tmp.cram
  ./test_view  xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
.. ok

test_view testing xx#unsorted.sam, ref xx.fa:
  ./test_view  -S -b xx#unsorted.sam > xx#unsorted.tmp.bam
  ./test_view  xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.sam_
  ./test_view  -S -l0 -b xx#unsorted.sam > xx#unsorted.tmp.bam
  ./test_view  xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.sam_
  ./test_view  -t xx.fa -S -C -o VERSION=2.1 xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view  -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view  -b -D xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam
  ./test_view  xx#unsorted.tmp.bam.cram.bam > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -S -l0 -C -o VERSION=3.0 xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view  -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view  -b -D xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam
  ./test_view  xx#unsorted.tmp.bam.cram.bam > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_
  ./test_view  -t xx.fa -C -o VERSION=2.1 xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 xx#unsorted.tmp.cram.cram > xx#unsorted.tmp.cram
  ./test_view  -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#unsorted.tmp.cram.cram > xx#unsorted.tmp.cram
  ./test_view  xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
.. ok

test_view testing region queries:
  ./test_view  -i reference=ce.fa range.cram CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
  ./test_view  range.bam CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
.. ok

test_view testing BAM files with absent @SQ lines:
  ./test_view  -p no_hdr_sq_1.tmp.sam no_hdr_sq_1.bam
  ./compare_sam.pl no_hdr_sq_1.tmp.sam no_hdr_sq_1.expected.sam
  ./test_view  -p no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.bam CHROMOSOME_I
  ./compare_sam.pl no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.expected.sam
.. ok

test_view testing large (> 2Gbases) positions:
  ./test_view  -z -p longrefs/longref.tmp.sam.gz -x longrefs/longref.tmp.sam.gz.csi.otf -m 14 longrefs/longref.sam
  ./test_view  -p longrefs/longref.tmp.sam_ longrefs/longref.tmp.sam.gz
  ./compare_sam.pl longrefs/longref.sam longrefs/longref.tmp.sam_
test_view:
	/<<PKGBUILDDIR>>/test/test_index -c longrefs/longref.tmp.sam.gz
.. ok

  ./test_view  -p longrefs/longref_itr.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003
  ./compare_sam.pl longrefs/longref_itr.expected.sam longrefs/longref_itr.tmp.sam
  ./test_view  -M -p longrefs/longref_multi.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003 CHROMOSOME_I:10000000100-10000000110
  ./compare_sam.pl longrefs/longref_multi.expected.sam longrefs/longref_multi.tmp.sam
.. ok

test_view testing auxf#values.sam, ref auxf.fa:
  ./test_view -@4 -S -b auxf#values.sam > auxf#values.tmp.bam
  ./test_view -@4 auxf#values.tmp.bam > auxf#values.tmp.bam.sam_
  ./compare_sam.pl auxf#values.sam auxf#values.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b auxf#values.sam > auxf#values.tmp.bam
  ./test_view -@4 auxf#values.tmp.bam > auxf#values.tmp.bam.sam_
  ./compare_sam.pl auxf#values.sam auxf#values.tmp.bam.sam_
  ./test_view -@4 -t auxf.fa -S -C -o VERSION=2.1 auxf#values.sam > auxf#values.tmp.cram
  ./test_view -@4 -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view -@4 -t auxf.fa -C -o VERSION=2.1 auxf#values.tmp.bam > auxf#values.tmp.bam.cram
  ./test_view -@4 -b -D auxf#values.tmp.bam.cram > auxf#values.tmp.bam.cram.bam
  ./test_view -@4 auxf#values.tmp.bam.cram.bam > auxf#values.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t auxf.fa -S -l0 -C -o VERSION=3.0 auxf#values.sam > auxf#values.tmp.cram
  ./test_view -@4 -D auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view -@4 -t auxf.fa -C -o VERSION=3.0 auxf#values.tmp.bam > auxf#values.tmp.bam.cram
  ./test_view -@4 -b -D auxf#values.tmp.bam.cram > auxf#values.tmp.bam.cram.bam
  ./test_view -@4 auxf#values.tmp.bam.cram.bam > auxf#values.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t auxf.fa -C -o VERSION=2.1 auxf#values.tmp.cram > auxf#values.tmp.cram.cram
  ./test_view -@4 -t auxf.fa -C -o VERSION=3.0 auxf#values.tmp.cram.cram > auxf#values.tmp.cram
  ./test_view -@4 -t auxf.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 auxf#values.tmp.cram.cram > auxf#values.tmp.cram
  ./test_view -@4 auxf#values.tmp.cram > auxf#values.tmp.cram.sam_
  ./compare_sam.pl -nomd auxf#values.sam auxf#values.tmp.cram.sam_
  ./test_view -@4 -i reference=auxf.fa auxf#values_java.cram > auxf#values_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd auxf#values.sam auxf#values_java.tmp.sam_
.. ok

test_view testing c1#bounds.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#bounds.sam > c1#bounds.tmp.bam
  ./test_view -@4 c1#bounds.tmp.bam > c1#bounds.tmp.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#bounds.sam > c1#bounds.tmp.bam
  ./test_view -@4 c1#bounds.tmp.bam > c1#bounds.tmp.bam.sam_
  ./compare_sam.pl c1#bounds.sam c1#bounds.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view -@4 -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view -@4 -b -D c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam
  ./test_view -@4 c1#bounds.tmp.bam.cram.bam > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#bounds.sam > c1#bounds.tmp.cram
  ./test_view -@4 -D c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#bounds.tmp.bam > c1#bounds.tmp.bam.cram
  ./test_view -@4 -b -D c1#bounds.tmp.bam.cram > c1#bounds.tmp.bam.cram.bam
  ./test_view -@4 c1#bounds.tmp.bam.cram.bam > c1#bounds.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#bounds.tmp.cram > c1#bounds.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#bounds.tmp.cram.cram > c1#bounds.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#bounds.tmp.cram.cram > c1#bounds.tmp.cram
  ./test_view -@4 c1#bounds.tmp.cram > c1#bounds.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#bounds.sam c1#bounds.tmp.cram.sam_
.. ok

test_view testing c1#clip.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#clip.sam > c1#clip.tmp.bam
  ./test_view -@4 c1#clip.tmp.bam > c1#clip.tmp.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#clip.sam > c1#clip.tmp.bam
  ./test_view -@4 c1#clip.tmp.bam > c1#clip.tmp.bam.sam_
  ./compare_sam.pl c1#clip.sam c1#clip.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#clip.sam > c1#clip.tmp.cram
  ./test_view -@4 -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view -@4 -b -D c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam
  ./test_view -@4 c1#clip.tmp.bam.cram.bam > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#clip.sam > c1#clip.tmp.cram
  ./test_view -@4 -D c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#clip.tmp.bam > c1#clip.tmp.bam.cram
  ./test_view -@4 -b -D c1#clip.tmp.bam.cram > c1#clip.tmp.bam.cram.bam
  ./test_view -@4 c1#clip.tmp.bam.cram.bam > c1#clip.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#clip.tmp.cram > c1#clip.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#clip.tmp.cram.cram > c1#clip.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#clip.tmp.cram.cram > c1#clip.tmp.cram
  ./test_view -@4 c1#clip.tmp.cram > c1#clip.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#clip.sam c1#clip.tmp.cram.sam_
.. ok

test_view testing c1#noseq.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#noseq.sam > c1#noseq.tmp.bam
  ./test_view -@4 c1#noseq.tmp.bam > c1#noseq.tmp.bam.sam_
  ./compare_sam.pl c1#noseq.sam c1#noseq.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#noseq.sam > c1#noseq.tmp.bam
  ./test_view -@4 c1#noseq.tmp.bam > c1#noseq.tmp.bam.sam_
  ./compare_sam.pl c1#noseq.sam c1#noseq.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#noseq.sam > c1#noseq.tmp.cram
  ./test_view -@4 -D c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#noseq.tmp.bam > c1#noseq.tmp.bam.cram
  ./test_view -@4 -b -D c1#noseq.tmp.bam.cram > c1#noseq.tmp.bam.cram.bam
  ./test_view -@4 c1#noseq.tmp.bam.cram.bam > c1#noseq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#noseq.sam > c1#noseq.tmp.cram
  ./test_view -@4 -D c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#noseq.tmp.bam > c1#noseq.tmp.bam.cram
  ./test_view -@4 -b -D c1#noseq.tmp.bam.cram > c1#noseq.tmp.bam.cram.bam
  ./test_view -@4 c1#noseq.tmp.bam.cram.bam > c1#noseq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#noseq.tmp.cram > c1#noseq.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#noseq.tmp.cram.cram > c1#noseq.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#noseq.tmp.cram.cram > c1#noseq.tmp.cram
  ./test_view -@4 c1#noseq.tmp.cram > c1#noseq.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#noseq.sam c1#noseq.tmp.cram.sam_
.. ok

test_view testing c1#pad1.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#pad1.sam > c1#pad1.tmp.bam
  ./test_view -@4 c1#pad1.tmp.bam > c1#pad1.tmp.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#pad1.sam > c1#pad1.tmp.bam
  ./test_view -@4 c1#pad1.tmp.bam > c1#pad1.tmp.bam.sam_
  ./compare_sam.pl c1#pad1.sam c1#pad1.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view -@4 -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view -@4 -b -D c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam
  ./test_view -@4 c1#pad1.tmp.bam.cram.bam > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#pad1.sam > c1#pad1.tmp.cram
  ./test_view -@4 -D c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad1.tmp.bam > c1#pad1.tmp.bam.cram
  ./test_view -@4 -b -D c1#pad1.tmp.bam.cram > c1#pad1.tmp.bam.cram.bam
  ./test_view -@4 c1#pad1.tmp.bam.cram.bam > c1#pad1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#pad1.tmp.cram > c1#pad1.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad1.tmp.cram.cram > c1#pad1.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#pad1.tmp.cram.cram > c1#pad1.tmp.cram
  ./test_view -@4 c1#pad1.tmp.cram > c1#pad1.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad1.sam c1#pad1.tmp.cram.sam_
.. ok

test_view testing c1#pad2.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#pad2.sam > c1#pad2.tmp.bam
  ./test_view -@4 c1#pad2.tmp.bam > c1#pad2.tmp.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#pad2.sam > c1#pad2.tmp.bam
  ./test_view -@4 c1#pad2.tmp.bam > c1#pad2.tmp.bam.sam_
  ./compare_sam.pl c1#pad2.sam c1#pad2.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view -@4 -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view -@4 -b -D c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam
  ./test_view -@4 c1#pad2.tmp.bam.cram.bam > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#pad2.sam > c1#pad2.tmp.cram
  ./test_view -@4 -D c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad2.tmp.bam > c1#pad2.tmp.bam.cram
  ./test_view -@4 -b -D c1#pad2.tmp.bam.cram > c1#pad2.tmp.bam.cram.bam
  ./test_view -@4 c1#pad2.tmp.bam.cram.bam > c1#pad2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#pad2.tmp.cram > c1#pad2.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad2.tmp.cram.cram > c1#pad2.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#pad2.tmp.cram.cram > c1#pad2.tmp.cram
  ./test_view -@4 c1#pad2.tmp.cram > c1#pad2.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad2.sam c1#pad2.tmp.cram.sam_
.. ok

test_view testing c1#pad3.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#pad3.sam > c1#pad3.tmp.bam
  ./test_view -@4 c1#pad3.tmp.bam > c1#pad3.tmp.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#pad3.sam > c1#pad3.tmp.bam
  ./test_view -@4 c1#pad3.tmp.bam > c1#pad3.tmp.bam.sam_
  ./compare_sam.pl c1#pad3.sam c1#pad3.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view -@4 -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view -@4 -b -D c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam
  ./test_view -@4 c1#pad3.tmp.bam.cram.bam > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#pad3.sam > c1#pad3.tmp.cram
  ./test_view -@4 -D c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad3.tmp.bam > c1#pad3.tmp.bam.cram
  ./test_view -@4 -b -D c1#pad3.tmp.bam.cram > c1#pad3.tmp.bam.cram.bam
  ./test_view -@4 c1#pad3.tmp.bam.cram.bam > c1#pad3.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#pad3.tmp.cram > c1#pad3.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#pad3.tmp.cram.cram > c1#pad3.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#pad3.tmp.cram.cram > c1#pad3.tmp.cram
  ./test_view -@4 c1#pad3.tmp.cram > c1#pad3.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#pad3.sam c1#pad3.tmp.cram.sam_
.. ok

test_view testing c1#unknown.sam, ref c1.fa:
  ./test_view -@4 -S -b c1#unknown.sam > c1#unknown.tmp.bam
  ./test_view -@4 c1#unknown.tmp.bam > c1#unknown.tmp.bam.sam_
  ./compare_sam.pl c1#unknown.sam c1#unknown.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c1#unknown.sam > c1#unknown.tmp.bam
  ./test_view -@4 c1#unknown.tmp.bam > c1#unknown.tmp.bam.sam_
  ./compare_sam.pl c1#unknown.sam c1#unknown.tmp.bam.sam_
  ./test_view -@4 -t c1.fa -S -C -o VERSION=2.1 c1#unknown.sam > c1#unknown.tmp.cram
  ./test_view -@4 -D c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#unknown.tmp.bam > c1#unknown.tmp.bam.cram
  ./test_view -@4 -b -D c1#unknown.tmp.bam.cram > c1#unknown.tmp.bam.cram.bam
  ./test_view -@4 c1#unknown.tmp.bam.cram.bam > c1#unknown.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -S -l0 -C -o VERSION=3.0 c1#unknown.sam > c1#unknown.tmp.cram
  ./test_view -@4 -D c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#unknown.tmp.bam > c1#unknown.tmp.bam.cram
  ./test_view -@4 -b -D c1#unknown.tmp.bam.cram > c1#unknown.tmp.bam.cram.bam
  ./test_view -@4 c1#unknown.tmp.bam.cram.bam > c1#unknown.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c1.fa -C -o VERSION=2.1 c1#unknown.tmp.cram > c1#unknown.tmp.cram.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 c1#unknown.tmp.cram.cram > c1#unknown.tmp.cram
  ./test_view -@4 -t c1.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c1#unknown.tmp.cram.cram > c1#unknown.tmp.cram
  ./test_view -@4 c1#unknown.tmp.cram > c1#unknown.tmp.cram.sam_
  ./compare_sam.pl -nomd c1#unknown.sam c1#unknown.tmp.cram.sam_
.. ok

test_view testing c2#pad.sam, ref c2.fa:
  ./test_view -@4 -S -b c2#pad.sam > c2#pad.tmp.bam
  ./test_view -@4 c2#pad.tmp.bam > c2#pad.tmp.bam.sam_
  ./compare_sam.pl c2#pad.sam c2#pad.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b c2#pad.sam > c2#pad.tmp.bam
  ./test_view -@4 c2#pad.tmp.bam > c2#pad.tmp.bam.sam_
  ./compare_sam.pl c2#pad.sam c2#pad.tmp.bam.sam_
  ./test_view -@4 -t c2.fa -S -C -o VERSION=2.1 c2#pad.sam > c2#pad.tmp.cram
  ./test_view -@4 -D c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
  ./test_view -@4 -t c2.fa -C -o VERSION=2.1 c2#pad.tmp.bam > c2#pad.tmp.bam.cram
  ./test_view -@4 -b -D c2#pad.tmp.bam.cram > c2#pad.tmp.bam.cram.bam
  ./test_view -@4 c2#pad.tmp.bam.cram.bam > c2#pad.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c2.fa -S -l0 -C -o VERSION=3.0 c2#pad.sam > c2#pad.tmp.cram
  ./test_view -@4 -D c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
  ./test_view -@4 -t c2.fa -C -o VERSION=3.0 c2#pad.tmp.bam > c2#pad.tmp.bam.cram
  ./test_view -@4 -b -D c2#pad.tmp.bam.cram > c2#pad.tmp.bam.cram.bam
  ./test_view -@4 c2#pad.tmp.bam.cram.bam > c2#pad.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t c2.fa -C -o VERSION=2.1 c2#pad.tmp.cram > c2#pad.tmp.cram.cram
  ./test_view -@4 -t c2.fa -C -o VERSION=3.0 c2#pad.tmp.cram.cram > c2#pad.tmp.cram
  ./test_view -@4 -t c2.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 c2#pad.tmp.cram.cram > c2#pad.tmp.cram
  ./test_view -@4 c2#pad.tmp.cram > c2#pad.tmp.cram.sam_
  ./compare_sam.pl -nomd c2#pad.sam c2#pad.tmp.cram.sam_
.. ok

test_view testing ce#1.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#1.sam > ce#1.tmp.bam
  ./test_view -@4 ce#1.tmp.bam > ce#1.tmp.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#1.sam > ce#1.tmp.bam
  ./test_view -@4 ce#1.tmp.bam > ce#1.tmp.bam.sam_
  ./compare_sam.pl ce#1.sam ce#1.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#1.sam > ce#1.tmp.cram
  ./test_view -@4 -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view -@4 -b -D ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam
  ./test_view -@4 ce#1.tmp.bam.cram.bam > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#1.sam > ce#1.tmp.cram
  ./test_view -@4 -D ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1.tmp.bam > ce#1.tmp.bam.cram
  ./test_view -@4 -b -D ce#1.tmp.bam.cram > ce#1.tmp.bam.cram.bam
  ./test_view -@4 ce#1.tmp.bam.cram.bam > ce#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#1.tmp.cram > ce#1.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1.tmp.cram.cram > ce#1.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#1.tmp.cram.cram > ce#1.tmp.cram
  ./test_view -@4 ce#1.tmp.cram > ce#1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1.sam ce#1.tmp.cram.sam_
.. ok

test_view testing ce#1000.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view -@4 ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#1000.sam > ce#1000.tmp.bam
  ./test_view -@4 ce#1000.tmp.bam > ce#1000.tmp.bam.sam_
  ./compare_sam.pl ce#1000.sam ce#1000.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#1000.sam > ce#1000.tmp.cram
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#1000.tmp.bam > ce#1000.tmp.bam.cram
  ./test_view -@4 -b -D ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.bam
  ./test_view -@4 ce#1000.tmp.bam.cram.bam > ce#1000.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#1000.sam > ce#1000.tmp.cram
  ./test_view -@4 -D ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1000.tmp.bam > ce#1000.tmp.bam.cram
  ./test_view -@4 -b -D ce#1000.tmp.bam.cram > ce#1000.tmp.bam.cram.bam
  ./test_view -@4 ce#1000.tmp.bam.cram.bam > ce#1000.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#1000.tmp.cram > ce#1000.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#1000.tmp.cram.cram > ce#1000.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#1000.tmp.cram.cram > ce#1000.tmp.cram
  ./test_view -@4 ce#1000.tmp.cram > ce#1000.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#1000.sam ce#1000.tmp.cram.sam_
.. ok

test_view testing ce#2.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#2.sam > ce#2.tmp.bam
  ./test_view -@4 ce#2.tmp.bam > ce#2.tmp.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#2.sam > ce#2.tmp.bam
  ./test_view -@4 ce#2.tmp.bam > ce#2.tmp.bam.sam_
  ./compare_sam.pl ce#2.sam ce#2.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#2.sam > ce#2.tmp.cram
  ./test_view -@4 -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view -@4 -b -D ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam
  ./test_view -@4 ce#2.tmp.bam.cram.bam > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#2.sam > ce#2.tmp.cram
  ./test_view -@4 -D ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#2.tmp.bam > ce#2.tmp.bam.cram
  ./test_view -@4 -b -D ce#2.tmp.bam.cram > ce#2.tmp.bam.cram.bam
  ./test_view -@4 ce#2.tmp.bam.cram.bam > ce#2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#2.tmp.cram > ce#2.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#2.tmp.cram.cram > ce#2.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#2.tmp.cram.cram > ce#2.tmp.cram
  ./test_view -@4 ce#2.tmp.cram > ce#2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#2.sam ce#2.tmp.cram.sam_
.. ok

test_view testing ce#5.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#5.sam > ce#5.tmp.bam
  ./test_view -@4 ce#5.tmp.bam > ce#5.tmp.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#5.sam > ce#5.tmp.bam
  ./test_view -@4 ce#5.tmp.bam > ce#5.tmp.bam.sam_
  ./compare_sam.pl ce#5.sam ce#5.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#5.sam > ce#5.tmp.cram
  ./test_view -@4 -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view -@4 -b -D ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam
  ./test_view -@4 ce#5.tmp.bam.cram.bam > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#5.sam > ce#5.tmp.cram
  ./test_view -@4 -D ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#5.tmp.bam > ce#5.tmp.bam.cram
  ./test_view -@4 -b -D ce#5.tmp.bam.cram > ce#5.tmp.bam.cram.bam
  ./test_view -@4 ce#5.tmp.bam.cram.bam > ce#5.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#5.tmp.cram > ce#5.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#5.tmp.cram.cram > ce#5.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#5.tmp.cram.cram > ce#5.tmp.cram
  ./test_view -@4 ce#5.tmp.cram > ce#5.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5.sam ce#5.tmp.cram.sam_
.. ok

test_view testing ce#5b.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#5b.sam > ce#5b.tmp.bam
  ./test_view -@4 ce#5b.tmp.bam > ce#5b.tmp.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#5b.sam > ce#5b.tmp.bam
  ./test_view -@4 ce#5b.tmp.bam > ce#5b.tmp.bam.sam_
  ./compare_sam.pl ce#5b.sam ce#5b.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#5b.sam > ce#5b.tmp.cram
  ./test_view -@4 -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view -@4 -b -D ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam
  ./test_view -@4 ce#5b.tmp.bam.cram.bam > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#5b.sam > ce#5b.tmp.cram
  ./test_view -@4 -D ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#5b.tmp.bam > ce#5b.tmp.bam.cram
  ./test_view -@4 -b -D ce#5b.tmp.bam.cram > ce#5b.tmp.bam.cram.bam
  ./test_view -@4 ce#5b.tmp.bam.cram.bam > ce#5b.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#5b.tmp.cram > ce#5b.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#5b.tmp.cram.cram > ce#5b.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#5b.tmp.cram.cram > ce#5b.tmp.cram
  ./test_view -@4 ce#5b.tmp.cram > ce#5b.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#5b.sam ce#5b.tmp.cram.sam_
  ./test_view -@4 -i reference=ce.fa ce#5b_java.cram > ce#5b_java.tmp.sam_
  ./compare_sam.pl -Baux -nomd ce#5b.sam ce#5b_java.tmp.sam_
.. ok

test_view testing ce#large_seq.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#large_seq.sam > ce#large_seq.tmp.bam
  ./test_view -@4 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#large_seq.sam > ce#large_seq.tmp.bam
  ./test_view -@4 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.sam_
  ./compare_sam.pl ce#large_seq.sam ce#large_seq.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#large_seq.sam > ce#large_seq.tmp.cram
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view -@4 -b -D ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam
  ./test_view -@4 ce#large_seq.tmp.bam.cram.bam > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#large_seq.sam > ce#large_seq.tmp.cram
  ./test_view -@4 -D ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#large_seq.tmp.bam > ce#large_seq.tmp.bam.cram
  ./test_view -@4 -b -D ce#large_seq.tmp.bam.cram > ce#large_seq.tmp.bam.cram.bam
  ./test_view -@4 ce#large_seq.tmp.bam.cram.bam > ce#large_seq.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#large_seq.tmp.cram.cram > ce#large_seq.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#large_seq.tmp.cram.cram > ce#large_seq.tmp.cram
  ./test_view -@4 ce#large_seq.tmp.cram > ce#large_seq.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#large_seq.sam ce#large_seq.tmp.cram.sam_
.. ok

test_view testing ce#supp.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#supp.sam > ce#supp.tmp.bam
  ./test_view -@4 ce#supp.tmp.bam > ce#supp.tmp.bam.sam_
  ./compare_sam.pl ce#supp.sam ce#supp.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#supp.sam > ce#supp.tmp.bam
  ./test_view -@4 ce#supp.tmp.bam > ce#supp.tmp.bam.sam_
  ./compare_sam.pl ce#supp.sam ce#supp.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#supp.sam > ce#supp.tmp.cram
  ./test_view -@4 -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#supp.tmp.bam > ce#supp.tmp.bam.cram
  ./test_view -@4 -b -D ce#supp.tmp.bam.cram > ce#supp.tmp.bam.cram.bam
  ./test_view -@4 ce#supp.tmp.bam.cram.bam > ce#supp.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#supp.sam > ce#supp.tmp.cram
  ./test_view -@4 -D ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#supp.tmp.bam > ce#supp.tmp.bam.cram
  ./test_view -@4 -b -D ce#supp.tmp.bam.cram > ce#supp.tmp.bam.cram.bam
  ./test_view -@4 ce#supp.tmp.bam.cram.bam > ce#supp.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#supp.tmp.cram > ce#supp.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#supp.tmp.cram.cram > ce#supp.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#supp.tmp.cram.cram > ce#supp.tmp.cram
  ./test_view -@4 ce#supp.tmp.cram > ce#supp.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#supp.sam ce#supp.tmp.cram.sam_
.. ok

test_view testing ce#tag_depadded.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#tag_depadded.sam > ce#tag_depadded.tmp.bam
  ./test_view -@4 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#tag_depadded.sam > ce#tag_depadded.tmp.bam
  ./test_view -@4 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_depadded.sam ce#tag_depadded.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#tag_depadded.sam > ce#tag_depadded.tmp.cram
  ./test_view -@4 -D ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view -@4 -b -D ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam
  ./test_view -@4 ce#tag_depadded.tmp.bam.cram.bam > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#tag_depadded.sam > ce#tag_depadded.tmp.cram
  ./test_view -@4 -D ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#tag_depadded.tmp.bam > ce#tag_depadded.tmp.bam.cram
  ./test_view -@4 -b -D ce#tag_depadded.tmp.bam.cram > ce#tag_depadded.tmp.bam.cram.bam
  ./test_view -@4 ce#tag_depadded.tmp.bam.cram.bam > ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#tag_depadded.tmp.cram.cram > ce#tag_depadded.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#tag_depadded.tmp.cram.cram > ce#tag_depadded.tmp.cram
  ./test_view -@4 ce#tag_depadded.tmp.cram > ce#tag_depadded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_depadded.sam ce#tag_depadded.tmp.cram.sam_
.. ok

test_view testing ce#tag_padded.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#tag_padded.sam > ce#tag_padded.tmp.bam
  ./test_view -@4 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#tag_padded.sam > ce#tag_padded.tmp.bam
  ./test_view -@4 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.sam_
  ./compare_sam.pl ce#tag_padded.sam ce#tag_padded.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#tag_padded.sam > ce#tag_padded.tmp.cram
  ./test_view -@4 -D ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view -@4 -b -D ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam
  ./test_view -@4 ce#tag_padded.tmp.bam.cram.bam > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#tag_padded.sam > ce#tag_padded.tmp.cram
  ./test_view -@4 -D ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#tag_padded.tmp.bam > ce#tag_padded.tmp.bam.cram
  ./test_view -@4 -b -D ce#tag_padded.tmp.bam.cram > ce#tag_padded.tmp.bam.cram.bam
  ./test_view -@4 ce#tag_padded.tmp.bam.cram.bam > ce#tag_padded.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#tag_padded.tmp.cram.cram > ce#tag_padded.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#tag_padded.tmp.cram.cram > ce#tag_padded.tmp.cram
  ./test_view -@4 ce#tag_padded.tmp.cram > ce#tag_padded.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#tag_padded.sam ce#tag_padded.tmp.cram.sam_
.. ok

test_view testing ce#unmap.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#unmap.sam > ce#unmap.tmp.bam
  ./test_view -@4 ce#unmap.tmp.bam > ce#unmap.tmp.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#unmap.sam > ce#unmap.tmp.bam
  ./test_view -@4 ce#unmap.tmp.bam > ce#unmap.tmp.bam.sam_
  ./compare_sam.pl ce#unmap.sam ce#unmap.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view -@4 -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view -@4 -b -D ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam
  ./test_view -@4 ce#unmap.tmp.bam.cram.bam > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#unmap.sam > ce#unmap.tmp.cram
  ./test_view -@4 -D ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap.tmp.bam > ce#unmap.tmp.bam.cram
  ./test_view -@4 -b -D ce#unmap.tmp.bam.cram > ce#unmap.tmp.bam.cram.bam
  ./test_view -@4 ce#unmap.tmp.bam.cram.bam > ce#unmap.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#unmap.tmp.cram > ce#unmap.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap.tmp.cram.cram > ce#unmap.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap.tmp.cram.cram > ce#unmap.tmp.cram
  ./test_view -@4 ce#unmap.tmp.cram > ce#unmap.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap.sam ce#unmap.tmp.cram.sam_
.. ok

test_view testing ce#unmap1.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#unmap1.sam > ce#unmap1.tmp.bam
  ./test_view -@4 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#unmap1.sam > ce#unmap1.tmp.bam
  ./test_view -@4 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.sam_
  ./compare_sam.pl ce#unmap1.sam ce#unmap1.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view -@4 -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view -@4 -b -D ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam
  ./test_view -@4 ce#unmap1.tmp.bam.cram.bam > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#unmap1.sam > ce#unmap1.tmp.cram
  ./test_view -@4 -D ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap1.tmp.bam > ce#unmap1.tmp.bam.cram
  ./test_view -@4 -b -D ce#unmap1.tmp.bam.cram > ce#unmap1.tmp.bam.cram.bam
  ./test_view -@4 ce#unmap1.tmp.bam.cram.bam > ce#unmap1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap1.tmp.cram.cram > ce#unmap1.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap1.tmp.cram.cram > ce#unmap1.tmp.cram
  ./test_view -@4 ce#unmap1.tmp.cram > ce#unmap1.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap1.sam ce#unmap1.tmp.cram.sam_
.. ok

test_view testing ce#unmap2.sam, ref ce.fa:
  ./test_view -@4 -S -b ce#unmap2.sam > ce#unmap2.tmp.bam
  ./test_view -@4 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b ce#unmap2.sam > ce#unmap2.tmp.bam
  ./test_view -@4 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.sam_
  ./compare_sam.pl ce#unmap2.sam ce#unmap2.tmp.bam.sam_
  ./test_view -@4 -t ce.fa -S -C -o VERSION=2.1 ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view -@4 -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view -@4 -b -D ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam
  ./test_view -@4 ce#unmap2.tmp.bam.cram.bam > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -S -l0 -C -o VERSION=3.0 ce#unmap2.sam > ce#unmap2.tmp.cram
  ./test_view -@4 -D ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap2.tmp.bam > ce#unmap2.tmp.bam.cram
  ./test_view -@4 -b -D ce#unmap2.tmp.bam.cram > ce#unmap2.tmp.bam.cram.bam
  ./test_view -@4 ce#unmap2.tmp.bam.cram.bam > ce#unmap2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t ce.fa -C -o VERSION=2.1 ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 ce#unmap2.tmp.cram.cram > ce#unmap2.tmp.cram
  ./test_view -@4 -t ce.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 ce#unmap2.tmp.cram.cram > ce#unmap2.tmp.cram
  ./test_view -@4 ce#unmap2.tmp.cram > ce#unmap2.tmp.cram.sam_
  ./compare_sam.pl -nomd ce#unmap2.sam ce#unmap2.tmp.cram.sam_
.. ok

test_view testing md#1.sam, ref md.fa:
  ./test_view -@4 -S -b md#1.sam > md#1.tmp.bam
  ./test_view -@4 md#1.tmp.bam > md#1.tmp.bam.sam_
  ./compare_sam.pl md#1.sam md#1.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b md#1.sam > md#1.tmp.bam
  ./test_view -@4 md#1.tmp.bam > md#1.tmp.bam.sam_
  ./compare_sam.pl md#1.sam md#1.tmp.bam.sam_
  ./test_view -@4 -t md.fa -S -C -o VERSION=2.1 md#1.sam > md#1.tmp.cram
  ./test_view -@4 -D md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
  ./test_view -@4 -t md.fa -C -o VERSION=2.1 md#1.tmp.bam > md#1.tmp.bam.cram
  ./test_view -@4 -b -D md#1.tmp.bam.cram > md#1.tmp.bam.cram.bam
  ./test_view -@4 md#1.tmp.bam.cram.bam > md#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t md.fa -S -l0 -C -o VERSION=3.0 md#1.sam > md#1.tmp.cram
  ./test_view -@4 -D md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
  ./test_view -@4 -t md.fa -C -o VERSION=3.0 md#1.tmp.bam > md#1.tmp.bam.cram
  ./test_view -@4 -b -D md#1.tmp.bam.cram > md#1.tmp.bam.cram.bam
  ./test_view -@4 md#1.tmp.bam.cram.bam > md#1.tmp.bam.cram.bam.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t md.fa -C -o VERSION=2.1 md#1.tmp.cram > md#1.tmp.cram.cram
  ./test_view -@4 -t md.fa -C -o VERSION=3.0 md#1.tmp.cram.cram > md#1.tmp.cram
  ./test_view -@4 -t md.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 md#1.tmp.cram.cram > md#1.tmp.cram
  ./test_view -@4 md#1.tmp.cram > md#1.tmp.cram.sam_
  ./compare_sam.pl  md#1.sam md#1.tmp.cram.sam_
.. ok

test_view testing xx#blank.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#blank.sam > xx#blank.tmp.bam
  ./test_view -@4 xx#blank.tmp.bam > xx#blank.tmp.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#blank.sam > xx#blank.tmp.bam
  ./test_view -@4 xx#blank.tmp.bam > xx#blank.tmp.bam.sam_
  ./compare_sam.pl xx#blank.sam xx#blank.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#blank.sam > xx#blank.tmp.cram
  ./test_view -@4 -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view -@4 -b -D xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam
  ./test_view -@4 xx#blank.tmp.bam.cram.bam > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#blank.sam > xx#blank.tmp.cram
  ./test_view -@4 -D xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#blank.tmp.bam > xx#blank.tmp.bam.cram
  ./test_view -@4 -b -D xx#blank.tmp.bam.cram > xx#blank.tmp.bam.cram.bam
  ./test_view -@4 xx#blank.tmp.bam.cram.bam > xx#blank.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#blank.tmp.cram > xx#blank.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#blank.tmp.cram.cram > xx#blank.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#blank.tmp.cram.cram > xx#blank.tmp.cram
  ./test_view -@4 xx#blank.tmp.cram > xx#blank.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#blank.sam xx#blank.tmp.cram.sam_
.. ok

test_view testing xx#large_aux.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#large_aux.sam > xx#large_aux.tmp.bam
  ./test_view -@4 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#large_aux.sam > xx#large_aux.tmp.bam
  ./test_view -@4 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux.sam xx#large_aux.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#large_aux.sam > xx#large_aux.tmp.cram
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view -@4 -b -D xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam
  ./test_view -@4 xx#large_aux.tmp.bam.cram.bam > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#large_aux.sam > xx#large_aux.tmp.cram
  ./test_view -@4 -D xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#large_aux.tmp.bam > xx#large_aux.tmp.bam.cram
  ./test_view -@4 -b -D xx#large_aux.tmp.bam.cram > xx#large_aux.tmp.bam.cram.bam
  ./test_view -@4 xx#large_aux.tmp.bam.cram.bam > xx#large_aux.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#large_aux.tmp.cram.cram > xx#large_aux.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#large_aux.tmp.cram.cram > xx#large_aux.tmp.cram
  ./test_view -@4 xx#large_aux.tmp.cram > xx#large_aux.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux.sam xx#large_aux.tmp.cram.sam_
  ./test_view -@4 -i reference=xx.fa xx#large_aux_java.cram > xx#large_aux_java.tmp.sam_
[W::sanitise_SQ_lines] Header @SQ length mismatch for ref xx, 30 vs 20
  ./compare_sam.pl -Baux -nomd xx#large_aux.sam xx#large_aux_java.tmp.sam_
.. ok

test_view testing xx#large_aux2.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#large_aux2.sam > xx#large_aux2.tmp.bam
  ./test_view -@4 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#large_aux2.sam > xx#large_aux2.tmp.bam
  ./test_view -@4 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.sam_
  ./compare_sam.pl xx#large_aux2.sam xx#large_aux2.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#large_aux2.sam > xx#large_aux2.tmp.cram
  ./test_view -@4 -D xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view -@4 -b -D xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam
  ./test_view -@4 xx#large_aux2.tmp.bam.cram.bam > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#large_aux2.sam > xx#large_aux2.tmp.cram
  ./test_view -@4 -D xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#large_aux2.tmp.bam > xx#large_aux2.tmp.bam.cram
  ./test_view -@4 -b -D xx#large_aux2.tmp.bam.cram > xx#large_aux2.tmp.bam.cram.bam
  ./test_view -@4 xx#large_aux2.tmp.bam.cram.bam > xx#large_aux2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#large_aux2.tmp.cram.cram > xx#large_aux2.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#large_aux2.tmp.cram.cram > xx#large_aux2.tmp.cram
  ./test_view -@4 xx#large_aux2.tmp.cram > xx#large_aux2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#large_aux2.sam xx#large_aux2.tmp.cram.sam_
.. ok

test_view testing xx#MD.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#MD.sam > xx#MD.tmp.bam
  ./test_view -@4 xx#MD.tmp.bam > xx#MD.tmp.bam.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#MD.sam > xx#MD.tmp.bam
  ./test_view -@4 xx#MD.tmp.bam > xx#MD.tmp.bam.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#MD.sam > xx#MD.tmp.cram
  ./test_view -@4 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#MD.tmp.bam > xx#MD.tmp.bam.cram
  ./test_view -@4 -b -D xx#MD.tmp.bam.cram > xx#MD.tmp.bam.cram.bam
  ./test_view -@4 xx#MD.tmp.bam.cram.bam > xx#MD.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#MD.sam > xx#MD.tmp.cram
  ./test_view -@4 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#MD.tmp.bam > xx#MD.tmp.bam.cram
  ./test_view -@4 -b -D xx#MD.tmp.bam.cram > xx#MD.tmp.bam.cram.bam
  ./test_view -@4 xx#MD.tmp.bam.cram.bam > xx#MD.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#MD.tmp.cram > xx#MD.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#MD.tmp.cram.cram > xx#MD.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#MD.tmp.cram.cram > xx#MD.tmp.cram
  ./test_view -@4 xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD.sam xx#MD.tmp.cram.sam_
.. ok

test_view testing xx#MD2.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#MD2.sam > xx#MD2.tmp.bam
  ./test_view -@4 xx#MD2.tmp.bam > xx#MD2.tmp.bam.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#MD2.sam > xx#MD2.tmp.bam
  ./test_view -@4 xx#MD2.tmp.bam > xx#MD2.tmp.bam.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -@4 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#MD2.tmp.bam > xx#MD2.tmp.bam.cram
  ./test_view -@4 -b -D xx#MD2.tmp.bam.cram > xx#MD2.tmp.bam.cram.bam
  ./test_view -@4 xx#MD2.tmp.bam.cram.bam > xx#MD2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -@4 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#MD2.tmp.bam > xx#MD2.tmp.bam.cram
  ./test_view -@4 -b -D xx#MD2.tmp.bam.cram > xx#MD2.tmp.bam.cram.bam
  ./test_view -@4 xx#MD2.tmp.bam.cram.bam > xx#MD2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#MD2.tmp.cram > xx#MD2.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#MD2.tmp.cram.cram > xx#MD2.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#MD2.tmp.cram.cram > xx#MD2.tmp.cram
  ./test_view -@4 xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#MD2.sam xx#MD2.tmp.cram.sam_
.. ok

test_view testing xx#minimal.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#minimal.sam > xx#minimal.tmp.bam
  ./test_view -@4 xx#minimal.tmp.bam > xx#minimal.tmp.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#minimal.sam > xx#minimal.tmp.bam
  ./test_view -@4 xx#minimal.tmp.bam > xx#minimal.tmp.bam.sam_
  ./compare_sam.pl xx#minimal.sam xx#minimal.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view -@4 -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view -@4 -b -D xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam
  ./test_view -@4 xx#minimal.tmp.bam.cram.bam > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#minimal.sam > xx#minimal.tmp.cram
  ./test_view -@4 -D xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#minimal.tmp.bam > xx#minimal.tmp.bam.cram
  ./test_view -@4 -b -D xx#minimal.tmp.bam.cram > xx#minimal.tmp.bam.cram.bam
  ./test_view -@4 xx#minimal.tmp.bam.cram.bam > xx#minimal.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#minimal.tmp.cram > xx#minimal.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#minimal.tmp.cram.cram > xx#minimal.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#minimal.tmp.cram.cram > xx#minimal.tmp.cram
  ./test_view -@4 xx#minimal.tmp.cram > xx#minimal.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#minimal.sam xx#minimal.tmp.cram.sam_
.. ok

test_view testing xx#pair.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#pair.sam > xx#pair.tmp.bam
  ./test_view -@4 xx#pair.tmp.bam > xx#pair.tmp.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#pair.sam > xx#pair.tmp.bam
  ./test_view -@4 xx#pair.tmp.bam > xx#pair.tmp.bam.sam_
  ./compare_sam.pl xx#pair.sam xx#pair.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#pair.sam > xx#pair.tmp.cram
  ./test_view -@4 -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view -@4 -b -D xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam
  ./test_view -@4 xx#pair.tmp.bam.cram.bam > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#pair.sam > xx#pair.tmp.cram
  ./test_view -@4 -D xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#pair.tmp.bam > xx#pair.tmp.bam.cram
  ./test_view -@4 -b -D xx#pair.tmp.bam.cram > xx#pair.tmp.bam.cram.bam
  ./test_view -@4 xx#pair.tmp.bam.cram.bam > xx#pair.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#pair.tmp.cram > xx#pair.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#pair.tmp.cram.cram > xx#pair.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#pair.tmp.cram.cram > xx#pair.tmp.cram
  ./test_view -@4 xx#pair.tmp.cram > xx#pair.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#pair.sam xx#pair.tmp.cram.sam_
.. ok

test_view testing xx#repeated.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#repeated.sam > xx#repeated.tmp.bam
  ./test_view -@4 xx#repeated.tmp.bam > xx#repeated.tmp.bam.sam_
  ./compare_sam.pl xx#repeated.sam xx#repeated.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#repeated.sam > xx#repeated.tmp.bam
  ./test_view -@4 xx#repeated.tmp.bam > xx#repeated.tmp.bam.sam_
  ./compare_sam.pl xx#repeated.sam xx#repeated.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#repeated.sam > xx#repeated.tmp.cram
  ./test_view -@4 -D xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#repeated.tmp.bam > xx#repeated.tmp.bam.cram
  ./test_view -@4 -b -D xx#repeated.tmp.bam.cram > xx#repeated.tmp.bam.cram.bam
  ./test_view -@4 xx#repeated.tmp.bam.cram.bam > xx#repeated.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#repeated.sam > xx#repeated.tmp.cram
  ./test_view -@4 -D xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#repeated.tmp.bam > xx#repeated.tmp.bam.cram
  ./test_view -@4 -b -D xx#repeated.tmp.bam.cram > xx#repeated.tmp.bam.cram.bam
  ./test_view -@4 xx#repeated.tmp.bam.cram.bam > xx#repeated.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#repeated.tmp.cram > xx#repeated.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#repeated.tmp.cram.cram > xx#repeated.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#repeated.tmp.cram.cram > xx#repeated.tmp.cram
  ./test_view -@4 xx#repeated.tmp.cram > xx#repeated.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#repeated.sam xx#repeated.tmp.cram.sam_
.. ok

test_view testing xx#rg.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#rg.sam > xx#rg.tmp.bam
  ./test_view -@4 xx#rg.tmp.bam > xx#rg.tmp.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#rg.sam > xx#rg.tmp.bam
  ./test_view -@4 xx#rg.tmp.bam > xx#rg.tmp.bam.sam_
  ./compare_sam.pl xx#rg.sam xx#rg.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#rg.sam > xx#rg.tmp.cram
  ./test_view -@4 -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view -@4 -b -D xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam
  ./test_view -@4 xx#rg.tmp.bam.cram.bam > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#rg.sam > xx#rg.tmp.cram
  ./test_view -@4 -D xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#rg.tmp.bam > xx#rg.tmp.bam.cram
  ./test_view -@4 -b -D xx#rg.tmp.bam.cram > xx#rg.tmp.bam.cram.bam
  ./test_view -@4 xx#rg.tmp.bam.cram.bam > xx#rg.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#rg.tmp.cram > xx#rg.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#rg.tmp.cram.cram > xx#rg.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#rg.tmp.cram.cram > xx#rg.tmp.cram
  ./test_view -@4 xx#rg.tmp.cram > xx#rg.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#rg.sam xx#rg.tmp.cram.sam_
.. ok

test_view testing xx#tlen.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#tlen.sam > xx#tlen.tmp.bam
  ./test_view -@4 xx#tlen.tmp.bam > xx#tlen.tmp.bam.sam_
  ./compare_sam.pl xx#tlen.sam xx#tlen.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#tlen.sam > xx#tlen.tmp.bam
  ./test_view -@4 xx#tlen.tmp.bam > xx#tlen.tmp.bam.sam_
  ./compare_sam.pl xx#tlen.sam xx#tlen.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#tlen.sam > xx#tlen.tmp.cram
  ./test_view -@4 -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#tlen.tmp.bam > xx#tlen.tmp.bam.cram
  ./test_view -@4 -b -D xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.bam
  ./test_view -@4 xx#tlen.tmp.bam.cram.bam > xx#tlen.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#tlen.sam > xx#tlen.tmp.cram
  ./test_view -@4 -D xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#tlen.tmp.bam > xx#tlen.tmp.bam.cram
  ./test_view -@4 -b -D xx#tlen.tmp.bam.cram > xx#tlen.tmp.bam.cram.bam
  ./test_view -@4 xx#tlen.tmp.bam.cram.bam > xx#tlen.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#tlen.tmp.cram > xx#tlen.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#tlen.tmp.cram.cram > xx#tlen.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#tlen.tmp.cram.cram > xx#tlen.tmp.cram
  ./test_view -@4 xx#tlen.tmp.cram > xx#tlen.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen.sam xx#tlen.tmp.cram.sam_
.. ok

test_view testing xx#tlen2.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#tlen2.sam > xx#tlen2.tmp.bam
  ./test_view -@4 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.sam_
  ./compare_sam.pl xx#tlen2.sam xx#tlen2.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#tlen2.sam > xx#tlen2.tmp.bam
  ./test_view -@4 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.sam_
  ./compare_sam.pl xx#tlen2.sam xx#tlen2.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#tlen2.sam > xx#tlen2.tmp.cram
  ./test_view -@4 -D xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.cram
  ./test_view -@4 -b -D xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.bam
  ./test_view -@4 xx#tlen2.tmp.bam.cram.bam > xx#tlen2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#tlen2.sam > xx#tlen2.tmp.cram
  ./test_view -@4 -D xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#tlen2.tmp.bam > xx#tlen2.tmp.bam.cram
  ./test_view -@4 -b -D xx#tlen2.tmp.bam.cram > xx#tlen2.tmp.bam.cram.bam
  ./test_view -@4 xx#tlen2.tmp.bam.cram.bam > xx#tlen2.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#tlen2.tmp.cram.cram > xx#tlen2.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#tlen2.tmp.cram.cram > xx#tlen2.tmp.cram
  ./test_view -@4 xx#tlen2.tmp.cram > xx#tlen2.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#tlen2.sam xx#tlen2.tmp.cram.sam_
.. ok

test_view testing xx#triplet.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#triplet.sam > xx#triplet.tmp.bam
  ./test_view -@4 xx#triplet.tmp.bam > xx#triplet.tmp.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#triplet.sam > xx#triplet.tmp.bam
  ./test_view -@4 xx#triplet.tmp.bam > xx#triplet.tmp.bam.sam_
  ./compare_sam.pl xx#triplet.sam xx#triplet.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view -@4 -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view -@4 -b -D xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam
  ./test_view -@4 xx#triplet.tmp.bam.cram.bam > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#triplet.sam > xx#triplet.tmp.cram
  ./test_view -@4 -D xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#triplet.tmp.bam > xx#triplet.tmp.bam.cram
  ./test_view -@4 -b -D xx#triplet.tmp.bam.cram > xx#triplet.tmp.bam.cram.bam
  ./test_view -@4 xx#triplet.tmp.bam.cram.bam > xx#triplet.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#triplet.tmp.cram > xx#triplet.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#triplet.tmp.cram.cram > xx#triplet.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#triplet.tmp.cram.cram > xx#triplet.tmp.cram
  ./test_view -@4 xx#triplet.tmp.cram > xx#triplet.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#triplet.sam xx#triplet.tmp.cram.sam_
.. ok

test_view testing xx#unsorted.sam, ref xx.fa:
  ./test_view -@4 -S -b xx#unsorted.sam > xx#unsorted.tmp.bam
  ./test_view -@4 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.sam_
  ./test_view -@4 -S -l0 -b xx#unsorted.sam > xx#unsorted.tmp.bam
  ./test_view -@4 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.sam_
  ./compare_sam.pl xx#unsorted.sam xx#unsorted.tmp.bam.sam_
  ./test_view -@4 -t xx.fa -S -C -o VERSION=2.1 xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view -@4 -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view -@4 -b -D xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam
  ./test_view -@4 xx#unsorted.tmp.bam.cram.bam > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -S -l0 -C -o VERSION=3.0 xx#unsorted.sam > xx#unsorted.tmp.cram
  ./test_view -@4 -D xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#unsorted.tmp.bam > xx#unsorted.tmp.bam.cram
  ./test_view -@4 -b -D xx#unsorted.tmp.bam.cram > xx#unsorted.tmp.bam.cram.bam
  ./test_view -@4 xx#unsorted.tmp.bam.cram.bam > xx#unsorted.tmp.bam.cram.bam.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.bam.cram.bam.sam_
  ./test_view -@4 -t xx.fa -C -o VERSION=2.1 xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 xx#unsorted.tmp.cram.cram > xx#unsorted.tmp.cram
  ./test_view -@4 -t xx.fa -C -o VERSION=3.0 -o seqs_per_slice=7 -o slices_per_container=5 xx#unsorted.tmp.cram.cram > xx#unsorted.tmp.cram
  ./test_view -@4 xx#unsorted.tmp.cram > xx#unsorted.tmp.cram.sam_
  ./compare_sam.pl -nomd xx#unsorted.sam xx#unsorted.tmp.cram.sam_
.. ok

test_view testing region queries:
  ./test_view -@4 -i reference=ce.fa range.cram CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
  ./test_view -@4 range.bam CHROMOSOME_II:2980-2980 CHROMOSOME_IV:1500-1500 CHROMOSOME_II:2980-2980 CHROMOSOME_I:1000-1100 > range.tmp
  ./compare_sam.pl range.tmp range.out
.. ok

test_view testing BAM files with absent @SQ lines:
  ./test_view -@4 -p no_hdr_sq_1.tmp.sam no_hdr_sq_1.bam
  ./compare_sam.pl no_hdr_sq_1.tmp.sam no_hdr_sq_1.expected.sam
  ./test_view -@4 -p no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.bam CHROMOSOME_I
  ./compare_sam.pl no_hdr_sq_1.chr1.tmp.sam no_hdr_sq_1.expected.sam
.. ok

test_view testing large (> 2Gbases) positions:
  ./test_view -@4 -z -p longrefs/longref.tmp.sam.gz -x longrefs/longref.tmp.sam.gz.csi.otf -m 14 longrefs/longref.sam
  ./test_view -@4 -p longrefs/longref.tmp.sam_ longrefs/longref.tmp.sam.gz
  ./compare_sam.pl longrefs/longref.sam longrefs/longref.tmp.sam_
test_view:
	/<<PKGBUILDDIR>>/test/test_index -c longrefs/longref.tmp.sam.gz
.. ok

  ./test_view -@4 -p longrefs/longref_itr.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003
  ./compare_sam.pl longrefs/longref_itr.expected.sam longrefs/longref_itr.tmp.sam
  ./test_view -@4 -M -p longrefs/longref_multi.tmp.sam longrefs/longref.tmp.sam.gz CHROMOSOME_I:10000000000-10000000003 CHROMOSOME_I:10000000100-10000000110
  ./compare_sam.pl longrefs/longref_multi.expected.sam longrefs/longref_multi.tmp.sam
.. ok


test_MD testing xx#MD.sam, ref xx.fa:
  ./test_view -o store_nm=1 -o store_md=1 -t xx.fa -C xx#MD.sam > xx#MD.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl xx#MD.sam xx#MD.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#MD.sam > xx#MD.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -partialmd=2 xx#MD.sam xx#MD.tmp.cram.sam_
  Checking for MD/NM in xx#MD.sam
  ./test_view -t xx.fa -C xx#MD.sam > xx#MD.tmp.cram
  ./test_view -i decode_md=1 -D xx#MD.tmp.cram > xx#MD.tmp.cram.sam_
  ./compare_sam.pl -partialmd=1 xx#MD.sam xx#MD.tmp.cram.sam_
.. ok


test_MD testing xx#MD2.sam, ref xx.fa:
  ./test_view -o store_nm=1 -o store_md=1 -t xx.fa -C xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -i decode_md=0 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -partialmd=2 xx#MD2.sam xx#MD2.tmp.cram.sam_
  ./test_view -t xx.fa -C xx#MD2.sam > xx#MD2.tmp.cram
  ./test_view -i decode_md=1 -D xx#MD2.tmp.cram > xx#MD2.tmp.cram.sam_
  ./compare_sam.pl -partialmd=1 xx#MD2.sam xx#MD2.tmp.cram.sam_
.. ok

test_vcf_api:
	/<<PKGBUILDDIR>>/test/test-vcf-api /tmp/xCvFois1qn/test-vcf-api.bcf
[E::bcf_index_build3] TBI indices for BCF files are not supported
[E::idx_find_and_load] Could not retrieve index file for '/tmp/xCvFois1qn/test-vcf-api.bcf'
.. ok

test_vcf_sweep:
	/<<PKGBUILDDIR>>/test/test-vcf-sweep /tmp/xCvFois1qn/test-vcf-api.bcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -ch /<<PKGBUILDDIR>>/test/test-vcf-hdr-in.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/formatcols.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/noroundtrip.vcf
.. ok

test_vcf_various:
	/<<PKGBUILDDIR>>/htsfile -c /<<PKGBUILDDIR>>/test/formatmissing.vcf
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 1325421271
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 681922616
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 1455094507
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 1025595209
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 303306790
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 1142146983
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 264912308
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 785006047
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 819236588
.. ok

test-bcf-sr:
	/<<PKGBUILDDIR>>/test/test-bcf-sr.pl -t /tmp/xCvFois1qn -s 1275835451
.. ok

test_command:
	/<<PKGBUILDDIR>>/test/test-bcf-translate -
.. ok

test_convert_padded_header:
	/<<PKGBUILDDIR>>/test/test_view -t ce.fa -C /tmp/xCvFois1qn/headernul0.bam
.. ok

test_convert_padded_header:
	/<<PKGBUILDDIR>>/test/test_view -t ce.fa -C /tmp/xCvFois1qn/headernul1.bam
.. ok

test_convert_padded_header:
	/<<PKGBUILDDIR>>/test/test_view -t ce.fa -C /tmp/xCvFois1qn/headernul678.bam
.. ok

test_rebgzip: Alternate zlib/deflate library detected
test_rebgzip:
	/<<PKGBUILDDIR>>/bgzip -I /<<PKGBUILDDIR>>/test/bgziptest.txt.tmp.gz.gzi -c -g /<<PKGBUILDDIR>>/test/bgziptest.txt
.. ok

test-logging:
	/<<PKGBUILDDIR>>/test/test-logging.pl
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -f /<<PKGBUILDDIR>>/test/realn01.fa -i /<<PKGBUILDDIR>>/test/realn01.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -a -f /<<PKGBUILDDIR>>/test/realn01.fa -i /<<PKGBUILDDIR>>/test/realn01.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -a -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -e -f /<<PKGBUILDDIR>>/test/realn01.fa -i /<<PKGBUILDDIR>>/test/realn01.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -e -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -r -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02-r.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -a -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02_exp.sam -o -
.. ok

test_realn:
	/<<PKGBUILDDIR>>/test/test_realn -f /<<PKGBUILDDIR>>/test/realn02.fa -i /<<PKGBUILDDIR>>/test/realn02_exp-a.sam -o -
.. ok


Number of tests:
    total   .. 153
    passed  .. 153
    failed  .. 0

make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-arch
dh binary-arch
   dh_testroot -a
   dh_prep -a
	rm -f -- debian/libhts3.substvars debian/libhts-dev.substvars debian/tabix.substvars
	rm -fr -- debian/.debhelper/generated/libhts3/ debian/libhts3/ debian/tmp/ debian/.debhelper/generated/libhts-dev/ debian/libhts-dev/ debian/.debhelper/generated/tabix/ debian/tabix/
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_auto_install-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for binary in sam test-regidx hts_endian test-bcf-sr test_bgzf ; do \
    rm /<<PKGBUILDDIR>>/test/${binary} ; \
done
dh_auto_install -- prefix=/usr
	install -d /<<PKGBUILDDIR>>/debian/tmp
	make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no prefix=/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin /<<PKGBUILDDIR>>/debian/tmp/usr/include /<<PKGBUILDDIR>>/debian/tmp/usr/include/htslib /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig
gcc -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -fvisibility=hidden -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c -o hts.pico hts.c
if test -n ""; then mkdir -p -m 755 /<<PKGBUILDDIR>>/debian/tmp; fi
sed -e 's#@-includedir@#/usr/include#g;s#@-libdir@#/usr/lib/arm-linux-gnueabihf#g;s#@-PACKAGE_VERSION@#1.10.2#g' htslib.pc.tmp > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc
chmod 644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc
gcc -shared -Wl,-soname,libhts.so.3 -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden  -o libhts.so kfunc.pico knetfile.pico kstring.pico bcf_sr_sort.pico bgzf.pico errmod.pico faidx.pico header.pico hfile.pico hfile_net.pico hts.pico hts_os.pico md5.pico multipart.pico probaln.pico realn.pico regidx.pico region.pico sam.pico synced_bcf_reader.pico vcf_sweep.pico tbx.pico textutils.pico thread_pool.pico vcf.pico vcfutils.pico cram/cram_codecs.pico cram/cram_decode.pico cram/cram_encode.pico cram/cram_external.pico cram/cram_index.pico cram/cram_io.pico cram/cram_samtools.pico cram/cram_stats.pico cram/mFILE.pico cram/open_trace_file.pico cram/pooled_alloc.pico cram/rANS_static.pico cram/string_alloc.pico hfile_libcurl.pico hfile_gcs.pico hfile_s3.pico hfile_s3_write.pico -ldeflate -llzma -lbz2 -lz -lm   -lcurl -lcrypto -lpthread
ln -sf libhts.so libhts.so.3
install -p -m 644 libhts.so /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
ln -sf libhts.so.1.10.2 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so
ln -sf libhts.so.1.10.2 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.3
install -p bgzip htsfile tabix /<<PKGBUILDDIR>>/debian/tmp/usr/bin
if test -n ""; then install -p  /<<PKGBUILDDIR>>/debian/tmp; fi
install -p -m 644 htslib/*.h /<<PKGBUILDDIR>>/debian/tmp/usr/include/htslib
install -p -m 644 libhts.a /<<PKGBUILDDIR>>/debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.a
install -p -m 644 bgzip.1 htsfile.1 tabix.1 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1
install -p -m 644 faidx.5 sam.5 vcf.5 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man5
install -p -m 644 htslib-s3-plugin.7 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# restore clean copy of test dir before dh_install is run
# This should not be done earlier since dh_auto_install contains some unconditional removals
rm -f -r test
mv test_backup test
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -a
	install -d debian/libhts3/usr/lib/arm-linux-gnueabihf
	cp --reflink=auto -a debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2 debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so.3 debian/libhts3/usr/lib/arm-linux-gnueabihf/
	install -d debian/.debhelper/generated/libhts3
	install -d debian/libhts-dev/usr/include
	cp --reflink=auto -a debian/tmp/usr/include/htslib debian/libhts-dev/usr/include/
	install -d debian/libhts-dev/usr/lib/arm-linux-gnueabihf
	cp --reflink=auto -a debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.a debian/tmp/usr/lib/arm-linux-gnueabihf/libhts.so debian/libhts-dev/usr/lib/arm-linux-gnueabihf/
	install -d debian/libhts-dev/usr/lib/arm-linux-gnueabihf/pkgconfig
	cp --reflink=auto -a debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc debian/libhts-dev/usr/lib/arm-linux-gnueabihf/pkgconfig/
	install -d debian/libhts-dev/usr/share/man/man5
	cp --reflink=auto -a debian/tmp/usr/share/man/man5/faidx.5 debian/tmp/usr/share/man/man5/sam.5 debian/tmp/usr/share/man/man5/vcf.5 debian/libhts-dev/usr/share/man/man5/
	install -d debian/.debhelper/generated/libhts-dev
	install -d debian/.debhelper/generated/htslib-test
	install -d debian/tabix/usr/bin
	cp --reflink=auto -a ./bgzip ./htsfile ./tabix debian/tabix/usr/bin/
	install -d debian/.debhelper/generated/tabix
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs
	install -d debian/libhts3/usr/share/doc/libhts3
	install -p -m0644 debian/copyright debian/libhts3/usr/share/doc/libhts3/copyright
	install -d debian/libhts-dev/usr/share/doc/libhts-dev
	cp --reflink=auto -a ./debian/README.test debian/libhts-dev/usr/share/doc/libhts-dev
	cp --reflink=auto -a ./README debian/libhts-dev/usr/share/doc/libhts-dev
	cp --reflink=auto -a ./README.large_positions.md debian/libhts-dev/usr/share/doc/libhts-dev
	chown -R 0:0 debian/libhts-dev/usr/share/doc
	chmod -R u\+rw,go=rX debian/libhts-dev/usr/share/doc
	install -p -m0644 debian/copyright debian/libhts-dev/usr/share/doc/libhts-dev/copyright
	install -d debian/tabix/usr/share/doc/tabix
	install -p -m0644 debian/copyright debian/tabix/usr/share/doc/tabix/copyright
# Fix Perl interpreter path
for pl in `grep -Rl '#!/usr/bin/env[[:space:]]\+perl' debian/*/usr/*` ; do \
    sed -i '1s?^#!/usr/bin/env[[:space:]]\+perl?#!/usr/bin/perl?' ${pl} ; \
done
grep: debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.so: No such file or directory
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_installchangelogs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installchangelogs NEWS
	install -p -m0644 debian/changelog debian/libhts-dev/usr/share/doc/libhts-dev/changelog.Debian
	install -p -m0644 NEWS debian/libhts-dev/usr/share/doc/libhts-dev/changelog
	install -p -m0644 debian/changelog debian/libhts3/usr/share/doc/libhts3/changelog.Debian
	install -p -m0644 NEWS debian/libhts3/usr/share/doc/libhts3/changelog
	install -p -m0644 debian/changelog debian/tabix/usr/share/doc/tabix/changelog.Debian
	install -p -m0644 NEWS debian/tabix/usr/share/doc/tabix/changelog
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installman -a
	install -d debian/tabix/usr/share/man/man1/
	install -p -m0644 ./htsfile.1 debian/tabix/usr/share/man/man1/htsfile.1
	install -p -m0644 ./tabix.1 debian/tabix/usr/share/man/man1/tabix.1
	man-recode --to-code UTF-8 --suffix .dh-new debian/libhts-dev/usr/share/man/man5/faidx.5 debian/libhts-dev/usr/share/man/man5/sam.5
	man-recode --to-code UTF-8 --suffix .dh-new debian/libhts-dev/usr/share/man/man5/vcf.5 debian/tabix/usr/share/man/man1/htsfile.1
	man-recode --to-code UTF-8 --suffix .dh-new debian/tabix/usr/share/man/man1/tabix.1
	mv debian/tabix/usr/share/man/man1/tabix.1.dh-new debian/tabix/usr/share/man/man1/tabix.1
	chmod 0644 -- debian/tabix/usr/share/man/man1/tabix.1
	mv debian/libhts-dev/usr/share/man/man5/faidx.5.dh-new debian/libhts-dev/usr/share/man/man5/faidx.5
	mv debian/libhts-dev/usr/share/man/man5/sam.5.dh-new debian/libhts-dev/usr/share/man/man5/sam.5
	chmod 0644 -- debian/libhts-dev/usr/share/man/man5/faidx.5 debian/libhts-dev/usr/share/man/man5/sam.5
	mv debian/libhts-dev/usr/share/man/man5/vcf.5.dh-new debian/libhts-dev/usr/share/man/man5/vcf.5
	mv debian/tabix/usr/share/man/man1/htsfile.1.dh-new debian/tabix/usr/share/man/man1/htsfile.1
	chmod 0644 -- debian/libhts-dev/usr/share/man/man5/vcf.5 debian/tabix/usr/share/man/man1/htsfile.1
   dh_perl -a
   dh_link -a
	rm -f debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.3
	ln -s libhts.so.1.10.2 debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.3
	rm -f debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.so
	ln -s libhts.so.1.10.2 debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.so
	rm -f debian/tabix/usr/share/man/man1/bgzip.1.gz
	ln -s tabix.1.gz debian/tabix/usr/share/man/man1/bgzip.1.gz
   dh_strip_nondeterminism -a
   dh_compress -a
	cd debian/libhts3
	cd debian/libhts-dev
	cd debian/tabix
	chmod a-x usr/share/doc/libhts3/changelog usr/share/doc/libhts3/changelog.Debian
	chmod a-x usr/share/doc/tabix/changelog usr/share/doc/tabix/changelog.Debian usr/share/man/man1/htsfile.1 usr/share/man/man1/tabix.1
	chmod a-x usr/share/doc/libhts-dev/README.large_positions.md usr/share/doc/libhts-dev/changelog usr/share/doc/libhts-dev/changelog.Debian usr/share/man/man5/faidx.5 usr/share/man/man5/sam.5 usr/share/man/man5/vcf.5
	gzip -9nf usr/share/doc/libhts3/changelog usr/share/doc/libhts3/changelog.Debian
	gzip -9nf usr/share/doc/tabix/changelog usr/share/doc/tabix/changelog.Debian usr/share/man/man1/htsfile.1 usr/share/man/man1/tabix.1
	gzip -9nf usr/share/doc/libhts-dev/README.large_positions.md usr/share/doc/libhts-dev/changelog usr/share/doc/libhts-dev/changelog.Debian usr/share/man/man5/faidx.5 usr/share/man/man5/sam.5 usr/share/man/man5/vcf.5
	cd '/<<PKGBUILDDIR>>'
	cd '/<<PKGBUILDDIR>>'
	cd '/<<PKGBUILDDIR>>'
	rm -f debian/libhts-dev.debhelper.log debian/libhts3.debhelper.log debian/tabix.debhelper.log
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_fixperms
	find debian/libhts3 -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/libhts-dev -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/tabix -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/libhts-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/tabix ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/libhts3 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/tabix/usr/share/doc -type f -a -true -a ! -regex 'debian/tabix/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts3/usr/share/doc -type f -a -true -a ! -regex 'debian/libhts3/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts-dev/usr/share/doc -type f -a -true -a ! -regex 'debian/libhts-dev/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libhts3/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libhts-dev/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/tabix/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts3 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts-dev/usr/share/man debian/libhts-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libhts3/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
	find debian/libhts-dev -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/tabix/usr/bin -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod a+x
	find debian/libhts-dev/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
find debian -name simple_test_driver.sh -exec chmod +x \{\} \;
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_missing -a
dh_missing: usr/bin/bgzip exists in debian/tmp but is not installed to anywhere
dh_missing: usr/bin/htsfile exists in debian/tmp but is not installed to anywhere
dh_missing: usr/bin/tabix exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/man/man1/bgzip.1 exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/man/man1/htsfile.1 exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/man/man1/tabix.1 exists in debian/tmp but is not installed to anywhere
dh_missing: usr/share/man/man7/htslib-s3-plugin.7 exists in debian/tmp but is not installed to anywhere
	The following debhelper tools have reported what they installed (with files per package)
	 * dh_install: htslib-test (219), libhts-dev (7), libhts3 (2), tabix (3)
	 * dh_installdocs: htslib-test (0), libhts-dev (3), libhts3 (0), tabix (0)
	 * dh_installman: htslib-test (0), libhts-dev (0), libhts3 (0), tabix (2)
	If the missing files are installed by another tool, please file a bug against it.
	When filing the report, if the tool is not part of debhelper itself, please reference the
	"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
	  (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
	Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
	For a short-term work-around: Add the files to debian/not-installed
   dh_dwz -a
	dwz -- debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
	install -d debian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf
	dwz -mdebian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug -M/usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug -- debian/tabix/usr/bin/bgzip debian/tabix/usr/bin/htsfile debian/tabix/usr/bin/tabix
	objcopy --compress-debug-sections debian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug
   dh_strip -a
	strip --strip-debug --remove-section=.comment --remove-section=.note --enable-deterministic-archives debian/libhts-dev/usr/lib/arm-linux-gnueabihf/libhts.a
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/53
	objcopy --only-keep-debug --compress-debug-sections debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2 debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/53/6aeda80417e8fc8d07f6c98b79b367bfd7c084.debug
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/09
	objcopy --only-keep-debug --compress-debug-sections debian/tabix/usr/bin/bgzip debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/09/a2b3bca277196c86531aadae69f0e564f32404.debug
strip: debian/libhts-dev/usr/lib/arm-linux-gnueabihf/stO12egv/kfunc.o: plugin needed to handle lto object
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/09/a2b3bca277196c86531aadae69f0e564f32404.debug
	chown 0:0 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/09/a2b3bca277196c86531aadae69f0e564f32404.debug
	strip --remove-section=.comment --remove-section=.note debian/tabix/usr/bin/bgzip
	objcopy --add-gnu-debuglink debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/09/a2b3bca277196c86531aadae69f0e564f32404.debug debian/tabix/usr/bin/bgzip
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/dd
	objcopy --only-keep-debug --compress-debug-sections debian/tabix/usr/bin/htsfile debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/dd/342dacff2745562fee0ddc8e2dbbbb185268e1.debug
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/dd/342dacff2745562fee0ddc8e2dbbbb185268e1.debug
	chown 0:0 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/dd/342dacff2745562fee0ddc8e2dbbbb185268e1.debug
	strip --remove-section=.comment --remove-section=.note debian/tabix/usr/bin/htsfile
	objcopy --add-gnu-debuglink debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/dd/342dacff2745562fee0ddc8e2dbbbb185268e1.debug debian/tabix/usr/bin/htsfile
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/d7
	objcopy --only-keep-debug --compress-debug-sections debian/tabix/usr/bin/tabix debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/d7/ef086598ce0bcc7bb6e9fbef4acba29439740e.debug
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/53/6aeda80417e8fc8d07f6c98b79b367bfd7c084.debug
	chown 0:0 -- debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/53/6aeda80417e8fc8d07f6c98b79b367bfd7c084.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
	objcopy --add-gnu-debuglink debian/.debhelper/libhts3/dbgsym-root/usr/lib/debug/.build-id/53/6aeda80417e8fc8d07f6c98b79b367bfd7c084.debug debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
	install -d debian/.debhelper/libhts3/dbgsym-root/usr/share/doc
	ln -s libhts3 debian/.debhelper/libhts3/dbgsym-root/usr/share/doc/libhts3-dbgsym
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/d7/ef086598ce0bcc7bb6e9fbef4acba29439740e.debug
	chown 0:0 -- debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/d7/ef086598ce0bcc7bb6e9fbef4acba29439740e.debug
	strip --remove-section=.comment --remove-section=.note debian/tabix/usr/bin/tabix
	objcopy --add-gnu-debuglink debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.build-id/d7/ef086598ce0bcc7bb6e9fbef4acba29439740e.debug debian/tabix/usr/bin/tabix
	install -d debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.dwz
	cp --reflink=auto -a debian/tabix/usr/lib/debug/.dwz/arm-linux-gnueabihf debian/.debhelper/tabix/dbgsym-root/usr/lib/debug/.dwz
	rm -fr debian/tabix/usr/lib/debug/.dwz
	rmdir -p --ignore-fail-on-non-empty debian/tabix/usr/lib/debug
	install -d debian/.debhelper/tabix/dbgsym-root/usr/share/doc
	ln -s tabix debian/.debhelper/tabix/dbgsym-root/usr/share/doc/tabix-dbgsym
   dh_makeshlibs -a
	rm -f debian/libhts3/DEBIAN/shlibs
	install -d debian/libhts3/DEBIAN
	echo "libhts 3 libhts3 (>= 1.10.2)" >> debian/libhts3/DEBIAN/shlibs
	chmod 0644 -- debian/libhts3/DEBIAN/shlibs
	chown 0:0 -- debian/libhts3/DEBIAN/shlibs
	dpkg-gensymbols -plibhts3 -Idebian/libhts3.symbols -Pdebian/libhts3 -edebian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
	mv debian/.debhelper/generated/libhts3/triggers.new debian/.debhelper/generated/libhts3/triggers
	rm -f debian/libhts-dev/DEBIAN/shlibs
	rm -f debian/tabix/DEBIAN/shlibs
   dh_shlibdeps -a
	dpkg-shlibdeps -Tdebian/libhts3.substvars debian/libhts3/usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
	install -d debian/tabix/DEBIAN
	dpkg-shlibdeps -Tdebian/tabix.substvars debian/tabix/usr/bin/bgzip debian/tabix/usr/bin/htsfile debian/tabix/usr/bin/tabix
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/tabix/usr/bin/tabix debian/tabix/usr/bin/htsfile debian/tabix/usr/bin/bgzip were not linked against ld-linux-armhf.so.3 (they use none of the library's symbols)
   dh_installdeb -a
	install -p -m0644 debian/.debhelper/generated/libhts3/triggers debian/libhts3/DEBIAN/triggers
	install -d debian/libhts-dev/DEBIAN
   dh_gencontrol -a
	echo misc:Depends= >> debian/libhts-dev.substvars
	echo misc:Pre-Depends= >> debian/libhts-dev.substvars
	dpkg-gencontrol -plibhts-dev -ldebian/changelog -Tdebian/libhts-dev.substvars -Pdebian/libhts-dev
	echo misc:Depends= >> debian/libhts3.substvars
	echo misc:Pre-Depends= >> debian/libhts3.substvars
	install -d debian/.debhelper/libhts3/dbgsym-root/DEBIAN
	dpkg-gencontrol -plibhts3 -ldebian/changelog -Tdebian/libhts3.substvars -Pdebian/.debhelper/libhts3/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -DPackage=libhts3-dbgsym "-DDepends=libhts3 (= \${binary:Version})" "-DDescription=debug symbols for libhts3" -DBuild-Ids=536aeda80417e8fc8d07f6c98b79b367bfd7c084 -DSection=debug -UReplaces -UBreaks
	echo misc:Depends= >> debian/tabix.substvars
	echo misc:Pre-Depends= >> debian/tabix.substvars
	install -d debian/.debhelper/tabix/dbgsym-root/DEBIAN
	dpkg-gencontrol -ptabix -ldebian/changelog -Tdebian/tabix.substvars -Pdebian/.debhelper/tabix/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -DPackage=tabix-dbgsym "-DDepends=tabix (= \${binary:Version})" "-DDescription=debug symbols for tabix" "-DBuild-Ids=09a2b3bca277196c86531aadae69f0e564f32404 d7ef086598ce0bcc7bb6e9fbef4acba29439740e dd342dacff2745562fee0ddc8e2dbbbb185268e1" -DSection=debug -UReplaces -UBreaks
	chmod 0644 -- debian/libhts-dev/DEBIAN/control
	chown 0:0 -- debian/libhts-dev/DEBIAN/control
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/DEBIAN/control
	chown 0:0 -- debian/.debhelper/libhts3/dbgsym-root/DEBIAN/control
	dpkg-gencontrol -plibhts3 -ldebian/changelog -Tdebian/libhts3.substvars -Pdebian/libhts3
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/DEBIAN/control
	chown 0:0 -- debian/.debhelper/tabix/dbgsym-root/DEBIAN/control
	dpkg-gencontrol -ptabix -ldebian/changelog -Tdebian/tabix.substvars -Pdebian/tabix
	chmod 0644 -- debian/libhts3/DEBIAN/control
	chown 0:0 -- debian/libhts3/DEBIAN/control
	chmod 0644 -- debian/tabix/DEBIAN/control
	chown 0:0 -- debian/tabix/DEBIAN/control
   dh_md5sums -a
	cd debian/libhts3 >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	cd debian/tabix >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	cd debian/libhts-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/libhts3/DEBIAN/md5sums
	chown 0:0 -- debian/libhts3/DEBIAN/md5sums
	chmod 0644 -- debian/tabix/DEBIAN/md5sums
	chown 0:0 -- debian/tabix/DEBIAN/md5sums
	cd debian/.debhelper/libhts3/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	cd debian/.debhelper/tabix/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
	chmod 0644 -- debian/.debhelper/libhts3/dbgsym-root/DEBIAN/md5sums
	chown 0:0 -- debian/.debhelper/libhts3/dbgsym-root/DEBIAN/md5sums
	chmod 0644 -- debian/libhts-dev/DEBIAN/md5sums
	chown 0:0 -- debian/libhts-dev/DEBIAN/md5sums
	chmod 0644 -- debian/.debhelper/tabix/dbgsym-root/DEBIAN/md5sums
	chown 0:0 -- debian/.debhelper/tabix/dbgsym-root/DEBIAN/md5sums
   dh_builddeb -a
	dpkg-deb --build debian/libhts3 ..
	dpkg-deb --build debian/libhts-dev ..
	dpkg-deb --build debian/.debhelper/tabix/dbgsym-root ..
dpkg-deb: building package 'libhts-dev' in '../libhts-dev_1.10.2-2_armhf.deb'.
dpkg-deb: building package 'libhts3' in '../libhts3_1.10.2-2_armhf.deb'.
dpkg-deb: building package 'tabix-dbgsym' in '../tabix-dbgsym_1.10.2-2_armhf.deb'.
	dpkg-deb --build debian/.debhelper/libhts3/dbgsym-root ..
dpkg-deb: building package 'libhts3-dbgsym' in '../libhts3-dbgsym_1.10.2-2_armhf.deb'.
	dpkg-deb --build debian/tabix ..
dpkg-deb: building package 'tabix' in '../tabix_1.10.2-2_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../htslib_1.10.2-2_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build .
dpkg-source: info: using options from htslib-1.10.2/debian/source/options: --single-debian-patch --extend-diff-ignore=^(\.travis\.yml|README.md|aclocal.m4|config.h.in|configure)$
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2020-01-10T00:44:51Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


htslib_1.10.2-2_armhf.changes:
------------------------------

Format: 1.8
Date: Sat, 21 Dec 2019 14:15:05 -0700
Source: htslib
Binary: libhts-dev libhts3 libhts3-dbgsym tabix tabix-dbgsym
Architecture: armhf
Version: 1.10.2-2
Distribution: bullseye-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Michael R. Crusoe <michael.crusoe@gmail.com>
Description:
 libhts-dev - development files for the HTSlib
 libhts3    - C library for high-throughput sequencing data formats
 tabix      - generic indexer for TAB-delimited genome position files
Changes:
 htslib (1.10.2-2) unstable; urgency=medium
 .
   * htslib-test: breaks+replaces libhts-private-dev
   * libhts3: breaks libtabixpp << 1.0.0-5
Checksums-Sha1:
 88bc1f9134d8ea695f17ca102d2229cee1a140ca 6262 htslib_1.10.2-2_armhf.buildinfo
 eae44786fa487e214b1b68d0e24dc138476e3a87 4784324 libhts-dev_1.10.2-2_armhf.deb
 397058128b2534fb4968edffa09d6bcc2e7cc011 1062040 libhts3-dbgsym_1.10.2-2_armhf.deb
 f077b83899863b75d16e3a858348e35ad3b029b5 326888 libhts3_1.10.2-2_armhf.deb
 4b6d2283e12ac1383f0969179f720b73cf0cf5f5 1578596 tabix-dbgsym_1.10.2-2_armhf.deb
 dff1abadcab94dc010d7cbc295146959e156b3ed 317236 tabix_1.10.2-2_armhf.deb
Checksums-Sha256:
 6a01d562226486c3852d4bd637ac4415d99f62fb18df72187d410eb7c010122c 6262 htslib_1.10.2-2_armhf.buildinfo
 ff58b188ebf0fe16088527e73e8617732409b404fa2e84ca5ccde14655d18d5b 4784324 libhts-dev_1.10.2-2_armhf.deb
 911a2f0314fa84381a0655654cf8f05000288e795996a6c17cc812e6717358ad 1062040 libhts3-dbgsym_1.10.2-2_armhf.deb
 2e3fb05f4beb012491f2f2dbca98837bfdcbe42af677dc859ddc932d11a31bfb 326888 libhts3_1.10.2-2_armhf.deb
 5b1d7c11565ed3e35877b3e870fff35a2073e92f9d1537181ede0e9601791c10 1578596 tabix-dbgsym_1.10.2-2_armhf.deb
 c0026a3c5847ef42b90ae61fff2bffcbfbc803802ab3552f8a4110f5c861ae8d 317236 tabix_1.10.2-2_armhf.deb
Files:
 53d8634679efdb4cc3856b216d3e4dea 6262 science optional htslib_1.10.2-2_armhf.buildinfo
 8610af895bf6337df126184af59c1244 4784324 libdevel optional libhts-dev_1.10.2-2_armhf.deb
 695375ccbd0611a51cba5ec86a5b7b98 1062040 debug optional libhts3-dbgsym_1.10.2-2_armhf.deb
 0dcc481f97c80c2cad4ee108487b731e 326888 libs optional libhts3_1.10.2-2_armhf.deb
 fe8d30493ed4d740da1a3ded25d12553 1578596 debug optional tabix-dbgsym_1.10.2-2_armhf.deb
 4ada874e4a2134fe43210448270799b3 317236 science optional tabix_1.10.2-2_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


libhts-dev_1.10.2-2_armhf.deb
-----------------------------

 new Debian package, version 2.0.
 size 4784324 bytes: control archive=1928 bytes.
    1050 bytes,    24 lines      control              
    2413 bytes,    37 lines      md5sums              
 Package: libhts-dev
 Source: htslib
 Version: 1.10.2-2
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 5787
 Depends: libhts3 (= 1.10.2-2), liblzma-dev, zlib1g-dev
 Section: libdevel
 Priority: optional
 Multi-Arch: same
 Homepage: https://github.com/samtools/htslib
 Description: development files for the HTSlib
  HTSlib is an implementation of a unified C library for accessing common file
  formats, such as SAM (Sequence Alignment/Map), CRAM and VCF (Variant Call
  Format), used for high-throughput sequencing data, and is the core library
  used by samtools and bcftools. HTSlib only depends on zlib. It is known to be
  compatible with gcc, g++ and clang.
  .
  HTSlib implements a generalized BAM (binary SAM) index, with file extension
  ‘csi’ (coordinate-sorted index). The HTSlib file reader first looks for the
  new index and then for the old if the new index is absent.
  .
  This package contains development files for the HTSlib: headers, static
  library, manual pages, etc.

drwxr-xr-x root/root         0 2019-12-21 21:15 ./
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/include/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/include/htslib/
-rw-r--r-- root/root     16101 2019-11-19 11:20 ./usr/include/htslib/bgzf.h
-rw-r--r-- root/root     15928 2019-11-26 21:07 ./usr/include/htslib/cram.h
-rw-r--r-- root/root     12245 2019-11-26 21:07 ./usr/include/htslib/faidx.h
-rw-r--r-- root/root     10979 2019-11-19 11:20 ./usr/include/htslib/hfile.h
-rw-r--r-- root/root     48171 2019-12-19 09:52 ./usr/include/htslib/hts.h
-rw-r--r-- root/root      3889 2019-11-19 11:20 ./usr/include/htslib/hts_defs.h
-rw-r--r-- root/root     11446 2017-09-27 15:40 ./usr/include/htslib/hts_endian.h
-rw-r--r-- root/root      3944 2019-10-01 22:06 ./usr/include/htslib/hts_log.h
-rw-r--r-- root/root      2124 2019-11-19 11:20 ./usr/include/htslib/hts_os.h
-rw-r--r-- root/root      5603 2019-11-19 11:20 ./usr/include/htslib/kbitset.h
-rw-r--r-- root/root      2828 2019-11-19 11:20 ./usr/include/htslib/kfunc.h
-rw-r--r-- root/root     22882 2019-11-19 11:20 ./usr/include/htslib/khash.h
-rw-r--r-- root/root      3995 2019-11-19 11:20 ./usr/include/htslib/khash_str2int.h
-rw-r--r-- root/root      5135 2019-11-19 11:20 ./usr/include/htslib/klist.h
-rw-r--r-- root/root      2972 2019-11-19 11:20 ./usr/include/htslib/knetfile.h
-rw-r--r-- root/root      9186 2019-11-19 11:20 ./usr/include/htslib/kseq.h
-rw-r--r-- root/root     11480 2019-11-19 11:20 ./usr/include/htslib/ksort.h
-rw-r--r-- root/root     11416 2019-12-06 12:42 ./usr/include/htslib/kstring.h
-rw-r--r-- root/root      8913 2019-11-26 21:07 ./usr/include/htslib/regidx.h
-rw-r--r-- root/root     67260 2019-11-26 21:07 ./usr/include/htslib/sam.h
-rw-r--r-- root/root     15605 2019-11-26 21:07 ./usr/include/htslib/synced_bcf_reader.h
-rw-r--r-- root/root      4925 2019-11-26 21:07 ./usr/include/htslib/tbx.h
-rw-r--r-- root/root     12492 2019-11-26 21:07 ./usr/include/htslib/thread_pool.h
-rw-r--r-- root/root     59743 2019-12-13 20:01 ./usr/include/htslib/vcf.h
-rw-r--r-- root/root      1681 2019-11-19 11:20 ./usr/include/htslib/vcf_sweep.h
-rw-r--r-- root/root      4925 2019-10-01 22:06 ./usr/include/htslib/vcfutils.h
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/
-rw-r--r-- root/root   5482482 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/libhts.a
lrwxrwxrwx root/root         0 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/libhts.so -> libhts.so.1.10.2
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/pkgconfig/
-rw-r--r-- root/root       586 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/pkgconfig/htslib.pc
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/libhts-dev/
-rw-r--r-- root/root       273 2014-08-15 09:12 ./usr/share/doc/libhts-dev/README
-rw-r--r-- root/root      2961 2019-12-10 17:59 ./usr/share/doc/libhts-dev/README.large_positions.md.gz
-rw-r--r-- root/root       401 2019-09-04 08:27 ./usr/share/doc/libhts-dev/README.test
-rw-r--r-- root/root      4896 2019-12-21 21:15 ./usr/share/doc/libhts-dev/changelog.Debian.gz
-rw-r--r-- root/root     15663 2019-12-19 09:52 ./usr/share/doc/libhts-dev/changelog.gz
-rw-r--r-- root/root      5762 2019-09-04 08:27 ./usr/share/doc/libhts-dev/copyright
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/man/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/man/man5/
-rw-r--r-- root/root      2452 2019-12-21 21:15 ./usr/share/man/man5/faidx.5.gz
-rw-r--r-- root/root      1539 2019-12-21 21:15 ./usr/share/man/man5/sam.5.gz
-rw-r--r-- root/root      1857 2019-12-21 21:15 ./usr/share/man/man5/vcf.5.gz


libhts3-dbgsym_1.10.2-2_armhf.deb
---------------------------------

 new Debian package, version 2.0.
 size 1062040 bytes: control archive=556 bytes.
     389 bytes,    13 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: libhts3-dbgsym
 Source: htslib
 Version: 1.10.2-2
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1140
 Depends: libhts3 (= 1.10.2-2)
 Section: debug
 Priority: optional
 Multi-Arch: same
 Description: debug symbols for libhts3
 Build-Ids: 536aeda80417e8fc8d07f6c98b79b367bfd7c084

drwxr-xr-x root/root         0 2019-12-21 21:15 ./
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.build-id/53/
-rw-r--r-- root/root   1156848 2019-12-21 21:15 ./usr/lib/debug/.build-id/53/6aeda80417e8fc8d07f6c98b79b367bfd7c084.debug
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-12-21 21:15 ./usr/share/doc/libhts3-dbgsym -> libhts3


libhts3_1.10.2-2_armhf.deb
--------------------------

 new Debian package, version 2.0.
 size 326888 bytes: control archive=4584 bytes.
    1153 bytes,    22 lines      control              
     290 bytes,     4 lines      md5sums              
      29 bytes,     1 lines      shlibs               
   21077 bytes,   758 lines      symbols              
      67 bytes,     2 lines      triggers             
 Package: libhts3
 Source: htslib
 Version: 1.10.2-2
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 805
 Depends: libbz2-1.0, libc6 (>= 2.29), libcurl3-gnutls (>= 7.18.0), libdeflate0 (>= 1.0), liblzma5 (>= 5.1.1alpha+20120614), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.0)
 Breaks: libtabixpp (<< 1.0.0-5~), python-pysam (<< 0.15~), python3-pysam (<< 0.15~)
 Section: libs
 Priority: optional
 Multi-Arch: same
 Homepage: https://github.com/samtools/htslib
 Description: C library for high-throughput sequencing data formats
  HTSlib is an implementation of a unified C library for accessing common file
  formats, such as SAM (Sequence Alignment/Map), CRAM and VCF (Variant Call
  Format), used for high-throughput sequencing data, and is the core library
  used by samtools and bcftools. HTSlib only depends on zlib. It is known to be
  compatible with gcc, g++ and clang.
  .
  HTSlib implements a generalized BAM (binary SAM) index, with file extension
  ‘csi’ (coordinate-sorted index). The HTSlib file reader first looks for the
  new index and then for the old if the new index is absent.

drwxr-xr-x root/root         0 2019-12-21 21:15 ./
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/
-rw-r--r-- root/root    763308 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/libhts.so.1.10.2
lrwxrwxrwx root/root         0 2019-12-21 21:15 ./usr/lib/arm-linux-gnueabihf/libhts.so.3 -> libhts.so.1.10.2
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/libhts3/
-rw-r--r-- root/root      4896 2019-12-21 21:15 ./usr/share/doc/libhts3/changelog.Debian.gz
-rw-r--r-- root/root     15663 2019-12-19 09:52 ./usr/share/doc/libhts3/changelog.gz
-rw-r--r-- root/root      5762 2019-09-04 08:27 ./usr/share/doc/libhts3/copyright


tabix-dbgsym_1.10.2-2_armhf.deb
-------------------------------

 new Debian package, version 2.0.
 size 1578596 bytes: control archive=700 bytes.
     448 bytes,    12 lines      control              
     403 bytes,     4 lines      md5sums              
 Package: tabix-dbgsym
 Source: htslib
 Version: 1.10.2-2
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1744
 Depends: tabix (= 1.10.2-2)
 Section: debug
 Priority: optional
 Description: debug symbols for tabix
 Build-Ids: 09a2b3bca277196c86531aadae69f0e564f32404 d7ef086598ce0bcc7bb6e9fbef4acba29439740e dd342dacff2745562fee0ddc8e2dbbbb185268e1

drwxr-xr-x root/root         0 2019-12-21 21:15 ./
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.build-id/09/
-rw-r--r-- root/root    208884 2019-12-21 21:15 ./usr/lib/debug/.build-id/09/a2b3bca277196c86531aadae69f0e564f32404.debug
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.build-id/d7/
-rw-r--r-- root/root    737564 2019-12-21 21:15 ./usr/lib/debug/.build-id/d7/ef086598ce0bcc7bb6e9fbef4acba29439740e.debug
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.build-id/dd/
-rw-r--r-- root/root    712884 2019-12-21 21:15 ./usr/lib/debug/.build-id/dd/342dacff2745562fee0ddc8e2dbbbb185268e1.debug
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.dwz/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/
-rw-r--r-- root/root    109656 2019-12-21 21:15 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/tabix.debug
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/
lrwxrwxrwx root/root         0 2019-12-21 21:15 ./usr/share/doc/tabix-dbgsym -> tabix


tabix_1.10.2-2_armhf.deb
------------------------

 new Debian package, version 2.0.
 size 317236 bytes: control archive=1108 bytes.
     967 bytes,    19 lines      control              
     481 bytes,     8 lines      md5sums              
 Package: tabix
 Source: htslib
 Version: 1.10.2-2
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1112
 Depends: libbz2-1.0, libc6 (>= 2.15), libcurl3-gnutls (>= 7.18.0), libdeflate0 (>= 1.0), liblzma5 (>= 5.1.1alpha+20120614), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.0)
 Section: science
 Priority: optional
 Homepage: https://github.com/samtools/htslib
 Description: generic indexer for TAB-delimited genome position files
  Tabix indexes files where some columns indicate sequence coordinates: name
  (usually a chromosome), start and stop. The input data file must be position
  sorted and compressed by bgzip (provided in this package), which has a gzip
  like interface. After indexing, tabix is able to quickly retrieve data lines by
  chromosomal coordinates. Fast data retrieval also works over network if an URI
  is given as a file name.
  .
  This version of tabix is built from the HTSlib source.

drwxr-xr-x root/root         0 2019-12-21 21:15 ./
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/bin/
-rwxr-xr-x root/root    116328 2019-12-21 21:15 ./usr/bin/bgzip
-rwxr-xr-x root/root    480864 2019-12-21 21:15 ./usr/bin/htsfile
-rwxr-xr-x root/root    497240 2019-12-21 21:15 ./usr/bin/tabix
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/doc/tabix/
-rw-r--r-- root/root      4896 2019-12-21 21:15 ./usr/share/doc/tabix/changelog.Debian.gz
-rw-r--r-- root/root     15663 2019-12-19 09:52 ./usr/share/doc/tabix/changelog.gz
-rw-r--r-- root/root      5762 2019-09-04 08:27 ./usr/share/doc/tabix/copyright
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/man/
drwxr-xr-x root/root         0 2019-12-21 21:15 ./usr/share/man/man1/
lrwxrwxrwx root/root         0 2019-12-21 21:15 ./usr/share/man/man1/bgzip.1.gz -> tabix.1.gz
-rw-r--r-- root/root      1919 2019-12-21 21:15 ./usr/share/man/man1/htsfile.1.gz
-rw-r--r-- root/root      2831 2019-12-21 21:15 ./usr/share/man/man1/tabix.1.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 70036
Build-Time: 2615
Distribution: bullseye-staging
Host Architecture: armhf
Install-Time: 417
Job: htslib_1.10.2-2
Machine Architecture: armhf
Package: htslib
Package-Time: 3086
Source-Version: 1.10.2-2
Space: 70036
Status: successful
Version: 1.10.2-2
--------------------------------------------------------------------------------
Finished at 2020-01-10T00:44:51Z
Build needed 00:51:26, 70036k disc space