Skip to content

Commit

Permalink
Igv fix (#13414)
Browse files Browse the repository at this point in the history
* [*] I have read the [guidelines for bioconda recipes](https://bioconda.github.io/guidelines.html).
* [ ] This PR adds a new recipe.
* [*] AFAIK, this recipe **is directly relevant to the biological sciences** (otherwise, please submit to the more general purpose [conda-forge channel](https://conda-forge.org/docs/)).
* [*] This PR updates an existing recipe.
* [*] This PR does something else (explain below).
Updated igv to newest version, fixed broken linkt to jar file, added test
  • Loading branch information
jfallmann authored and bgruening committed Jan 30, 2019
1 parent 75757c8 commit f5983db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions recipes/igv/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

cp lib/*.jar $PREFIX/bin
cp igv.sh $PREFIX/bin/igv
chmod +x $PREFIX/bin/igv
mkdir -p ${PREFIX}/lib
mkdir -p ${PREFIX}/lib/igv
cp lib/*.jar $PREFIX/lib/igv
sed -i.bak 's|"$prefix"/lib/igv.jar|'"${PREFIX}"'/lib/igv/igv.jar|g' igv.sh
cp igv.sh ${PREFIX}/bin/igv
chmod +x ${PREFIX}/bin/igv
6 changes: 3 additions & 3 deletions recipes/igv/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set version = "2.4.16" %}
{% set sha256 = "c1d6bc149876cc3e89dbde5ed8c2f2329a661ead30c0a6ba09fce9c33f10542f" %}
{% set version = "2.4.17" %}
{% set sha256 = "d99600ed09bf71e4347df3cb02a8a91db008a6bca629060080947ae84306f40b" %}

package:
name: igv
Expand All @@ -19,7 +19,7 @@ requirements:

test:
commands:
# - "igv > log.txt 2>&1 & PID=$! && sleep 2 && kill $PID && grep 'IGV Version {{ version }}' log.txt"
- igv --version| grep {{ version }}

about:
home: "http://www.broadinstitute.org/software/igv/home"
Expand Down

0 comments on commit f5983db

Please sign in to comment.