Skip to content

Commit

Permalink
Upgrade to samtools 1.14. (#1583)
Browse files Browse the repository at this point in the history
* Upgrade to samtools 1.14.
* Update old CRAM files that samtools no longer accepts.
  • Loading branch information
cmnbroad authored Dec 8, 2021
1 parent e927064 commit c0b61a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/install-samtools.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
set -ex
wget https://github.com/samtools/samtools/releases/download/1.10/samtools-1.10.tar.bz2
tar -xjvf samtools-1.10.tar.bz2
cd samtools-1.10 && ./configure --prefix=/usr && make && sudo make install
wget https://github.com/samtools/samtools/releases/download/1.14/samtools-1.14.tar.bz2
tar -xjvf samtools-1.14.tar.bz2
cd samtools-1.14 && ./configure --prefix=/usr && make && sudo make install
2 changes: 1 addition & 1 deletion src/test/java/htsjdk/utils/SamtoolsTestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
public class SamtoolsTestUtils {
private static final String SAMTOOLS_BINARY_ENV_VARIABLE = "HTSJDK_SAMTOOLS_BIN";
public final static String expectedSamtoolsVersion = "1.10";
public final static String expectedSamtoolsVersion = "1.14";

/**
* @return true if samtools is available, otherwise false
Expand Down
Binary file modified src/test/resources/htsjdk/samtools/cram/cramQueryWithBAI.cram
Binary file not shown.
Binary file not shown.

0 comments on commit c0b61a2

Please sign in to comment.