Skip to content

Commit

Permalink
stacks: Enable OpenMP
Browse files Browse the repository at this point in the history
  • Loading branch information
outpaddling committed Aug 31, 2018
1 parent c42e314 commit 39fb939
Show file tree
Hide file tree
Showing 6 changed files with 136 additions and 0 deletions.
21 changes: 21 additions & 0 deletions stacks/Makefile
@@ -0,0 +1,21 @@
# $FreeBSD: head/biology/stacks/Makefile 475857 2018-07-29 22:18:44Z gerald $

PORTNAME= stacks
DISTVERSION= 1.48
PORTREVISION= 1
CATEGORIES= wip biology
MASTER_SITES= http://catchenlab.life.illinois.edu/stacks/source/

MAINTAINER= jwb@FreeBSD.org
COMMENT= Software pipeline for building loci from short-read sequences

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= compiler:openmp gmake python shebangfix
SHEBANG_FILES= scripts/*.pl scripts/*.py
GNU_CONFIGURE= yes

LDFLAGS+= -lpthread

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions stacks/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1520376299
SHA256 (stacks-1.48.tar.gz) = e9f6251f5f609f9dd0bb1de17a51f69ce1a9af531548c4d2456a89783b1dcd1e
SIZE (stacks-1.48.tar.gz) = 895195
20 changes: 20 additions & 0 deletions stacks/files/patch-htslib_Makefile
@@ -0,0 +1,20 @@
--- htslib/Makefile.orig 2016-09-16 15:40:03 UTC
+++ htslib/Makefile
@@ -22,13 +22,13 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

-CC = gcc
-AR = ar
-RANLIB = ranlib
+CC ?= gcc
+AR ?= ar
+RANLIB ?= ranlib

CPPFLAGS =
# TODO: probably update cram code to make it compile cleanly with -Wc++-compat
-CFLAGS = -g -Wall -O2
+CFLAGS ?= -g -Wall -O2
EXTRA_CFLAGS_PIC = -fpic
LDFLAGS =
LIBS =
6 changes: 6 additions & 0 deletions stacks/pkg-descr
@@ -0,0 +1,6 @@
Stacks is a software pipeline for building loci from short-read sequences, such
as those generated on the Illumina platform. Stacks was developed to work with
restriction enzyme-based data, such as RAD-seq, for the purpose of building
genetic maps and conducting population genomics and phylogeography.

WWW: http://catchenlab.life.illinois.edu/stacks/
16 changes: 16 additions & 0 deletions stacks/pkg-message
@@ -0,0 +1,16 @@
===

If you would like to use the stacks web interface, follow the instructions at:

http://catchenlab.life.illinois.edu/stacks/manual-v1/#install

You will need to install databases/p5-DBD-mysql to allow the optional
wrapper scripts to interact with the database server.

To set up the web server, you will need an apache server such as www/apache24,
MySQL server and client packages such as databases/mysql56-client and
databases/mysql56-server, and PHP interface modules such as
databases/php56-mysql (php56 will be automatically installed as a dependency),
and lastly textproc/p5-Spreadsheet-WriteExcel.

===
70 changes: 70 additions & 0 deletions stacks/pkg-plist
@@ -0,0 +1,70 @@
bin/clone_filter
bin/count_fixed_catalog_snps.py
bin/cstacks
bin/denovo_map.pl
bin/exec_velvet.pl
bin/export_sql.pl
bin/genotypes
bin/index_radtags.pl
bin/integrate_alignments.py
bin/kmer_filter
bin/load_radtags.pl
bin/load_sequences.pl
bin/phasedstacks
bin/populations
bin/process_radtags
bin/process_shortreads
bin/pstacks
bin/ref_map.pl
bin/rxstacks
bin/sort_read_pairs.pl
bin/sstacks
bin/stacks_export_notify.pl
bin/ustacks
%%DATADIR%%/php/CatalogClass.php
%%DATADIR%%/php/Locus.php
%%DATADIR%%/php/ajax.js
%%DATADIR%%/php/annotate.js
%%DATADIR%%/php/annotate_marker.php
%%DATADIR%%/php/catalog.php
%%DATADIR%%/php/catalog_genotypes.php
%%DATADIR%%/php/constants.php.dist
%%DATADIR%%/php/correct_genotype.php
%%DATADIR%%/php/correct_genotypes.php
%%DATADIR%%/php/db_functions.php
%%DATADIR%%/php/export.js
%%DATADIR%%/php/export_batch.php
%%DATADIR%%/php/fst_view.php
%%DATADIR%%/php/hapstat_view.php
%%DATADIR%%/php/header.php
%%DATADIR%%/php/images/caret-d.png
%%DATADIR%%/php/images/caret-u.png
%%DATADIR%%/php/images/excel_icon.png
%%DATADIR%%/php/images/l-arrow-disabled.png
%%DATADIR%%/php/images/l-arrow.png
%%DATADIR%%/php/images/r-arrow-disabled.png
%%DATADIR%%/php/images/r-arrow.png
%%DATADIR%%/php/images/stacks_bg.png
%%DATADIR%%/php/images/stacks_logo_rev_small.png
%%DATADIR%%/php/index.php
%%DATADIR%%/php/last_modified.php
%%DATADIR%%/php/phist_view.php
%%DATADIR%%/php/pop_view.php
%%DATADIR%%/php/population_view.js
%%DATADIR%%/php/samples.php
%%DATADIR%%/php/sequence_blast.php
%%DATADIR%%/php/stack_view.php
%%DATADIR%%/php/stacks.css
%%DATADIR%%/php/stacks.js
%%DATADIR%%/php/stacks_functions.php
%%DATADIR%%/php/sumstat_view.php
%%DATADIR%%/php/tag.php
%%DATADIR%%/php/tags.php
%%DATADIR%%/php/version.php
%%DATADIR%%/php/view_sequence.php
%%DATADIR%%/sql/catalog_index.sql
%%DATADIR%%/sql/chr_index.sql
%%DATADIR%%/sql/mysql.cnf.dist
%%DATADIR%%/sql/stacks.sql
%%DATADIR%%/sql/tag_index.sql
@dir %%DATADIR%%/php/export

0 comments on commit 39fb939

Please sign in to comment.