Skip to content

Commit

Permalink
fix for conda
Browse files Browse the repository at this point in the history
  • Loading branch information
cutpatel committed Sep 26, 2018
1 parent 89e6dcf commit 4b90af5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ MTBseq can then be installed with:

Due to license restrictions, even bioconda cannot install the dependency GenomeAnalysisTK 3.8 directly. After installation of MTBseq to fully install the GATK, you must download a licensed copy of the GenomeAnalysisTK 3.8 from the Broad Institute ([GATK Version 3.8](https://software.broadinstitute.org/gatk/download/auth?package=GATK-archive&version=3.8-0-ge9d806836)), and call

`gatk3-register /path/to/GenomeAnalysisTK[-$PKG_VERSION.tar.bz2|.jar]`
`gatk-register /path/to/GenomeAnalysisTK[-$PKG_VERSION.tar.bz2|.jar]`

which will copy GATK into your conda environment.

Expand Down
2 changes: 1 addition & 1 deletion MTBseq
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ warn "<WARN>\t",timer(),"\tFor this execution of MTBseq samtools 1.6 from the MT
$SAMTOOLS_call="$BIN_dir\/samtools";}

open (my $java_ver, '-|', 'java -version 2>&1') or die "<ERROR>\t",timer(),"\tCould not test java version\n"; my $java_ver_out = <$java_ver>; close $java_ver;
$java_ver_out =~ qr/openjdk\sversion\s\"(\d+\.\d+)\.\d+_\d+\"/ms;
$java_ver_out =~ qr/openjdk\sversion\s\"(\d+\.\d+)\.\d+_\S+\"/ms;
my $java_version = defined $1 ? $1 : 0;
unless ($java_version == 1.8) {
die "<ERROR>\t",timer(),"\tNeed exatly java 1.8 for GATK execution. You have java $java_version!\n";}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ After installation of MTBseq to fully install the GATK, you must download a lice
from the Broad Institute (https://software.broadinstitute.org/gatk/download/auth?package=GATK-archive&version=3.8-0-ge9d806836),
and call
```
gatk3-register /path/to/GenomeAnalysisTK[-$PKG_VERSION.tar.bz2|.jar]
gatk-register /path/to/GenomeAnalysisTK[-$PKG_VERSION.tar.bz2|.jar]
```
, which will copy GATK into your conda environment.

Expand Down

0 comments on commit 4b90af5

Please sign in to comment.