Skip to content

Commit

Permalink
Sspupdate (#11614)
Browse files Browse the repository at this point in the history
* New version with bugfix and different progressiveMauve version.

* Keeping old version as folder.

* Push build number.
  • Loading branch information
cjandrasits authored and karel-brinda committed Oct 31, 2018
1 parent 4504938 commit 4eacee0
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
16 changes: 16 additions & 0 deletions recipes/seq-seq-pan/1.0.0/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

mkdir -p $PREFIX/bin
mkdir -p $PREFIX/opt/seq-seq-pan/


sed -i "s|\${BASH_SOURCE%/\*}|$PREFIX/opt/seq-seq-pan|g" seq-seq-pan
sed -i "s|\${BASH_SOURCE%/\*}|$PREFIX/opt/seq-seq-pan|g" seq-seq-pan-consensus
sed -i "s|\${BASH_SOURCE%/\*}|$PREFIX/opt/seq-seq-pan|g" seq-seq-pan-wga
sed -i "s|\${BASH_SOURCE%/\*}|$PREFIX/opt/seq-seq-pan|g" seq-seq-pan-genomedescription

cp -r * $PREFIX/opt/seq-seq-pan/
ln -s $PREFIX/opt/seq-seq-pan/seq-seq-pan $PREFIX/bin
ln -s $PREFIX/opt/seq-seq-pan/seq-seq-pan-consensus $PREFIX/bin
ln -s $PREFIX/opt/seq-seq-pan/seq-seq-pan-wga $PREFIX/bin
ln -s $PREFIX/opt/seq-seq-pan/seq-seq-pan-genomedescription $PREFIX/bin
36 changes: 36 additions & 0 deletions recipes/seq-seq-pan/1.0.0/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% set version = "1.0.0" %}

package:
name: seq-seq-pan
version: {{ version }}

source:
url: https://gitlab.com/chrjan/seq-seq-pan/repository/v{{ version }}/archive.tar.gz
md5: 7a0c00d8de984f7129c7bcbe4fa26892

build:
number: 2
skip: True # [osx or py27]

requirements:
run:
- python
- biopython ==1.69
- blat ==35
- snakemake ==4.3
- openjdk
- argparse
- progressivemauve ==snapshot-2015-02-13

test:
commands:
- seq-seq-pan -h > /dev/null
- seq-seq-pan-wga --no-hooks --config workdir=$PREFIX/opt/seq-seq-pan/example/minimal genomefile=genome_list.txt outfilename=ssp_example -n > /dev/null
- java -jar $PREFIX/opt/seq-seq-pan/java/XMFAConsensus/XMFAconsensus_majorityvote.jar -h > /dev/null
- seq-seq-pan-consensus -h > /dev/null
- seq-seq-pan-genomedescription -h >/dev/null

about:
home: https://gitlab.com/chrjan/seq-seq-pan
license: FreeBSDLicense
summary: seq-seq-pan is a workflow for the SEQuential alignment of SEQuences to build a PAN-genome data structure and a whole-genome-alignment.

0 comments on commit 4eacee0

Please sign in to comment.