Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177016519
D13328.1793732570.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
D13328.1793732570.diff
View Options
Index: biology/kallisto/Makefile
===================================================================
--- /dev/null
+++ biology/kallisto/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= kallisto
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.43.1
+CATEGORIES= wip biology
+
+MAINTAINER= jwb@FreeBSD.org
+COMMENT= Quantify abundances of transcripts from RNA-Seq data
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/license.txt
+
+LIB_DEPENDS= libhdf5.so:science/hdf5 \
+ libsz.so:science/szip
+
+USES= cmake
+USE_GITHUB= yes
+GH_ACCOUNT= pachterlab
+
+SUB_FILES= kallisto-test
+
+OPTIONS_DEFINE= EXAMPLES
+
+post-install-EXAMPLES-on:
+ ${INSTALL_SCRIPT} ${WRKDIR}/kallisto-test ${STAGEDIR}${PREFIX}/bin
+ cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Index: biology/kallisto/distinfo
===================================================================
--- /dev/null
+++ biology/kallisto/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1512166931
+SHA256 (pachterlab-kallisto-v0.43.1_GH0.tar.gz) = 2164938c2c61c04e338c4c132cf749f56d39e6f0b4c517121bca1fbc218e430e
+SIZE (pachterlab-kallisto-v0.43.1_GH0.tar.gz) = 1067076
Index: biology/kallisto/files/kallisto-test.in
===================================================================
--- /dev/null
+++ biology/kallisto/files/kallisto-test.in
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+##########################################################################
+# Script description:
+#
+# Arguments:
+#
+# Returns:
+#
+# History:
+# Date Name Modification
+# 2016-03-21 Charlie & Begin
+##########################################################################
+
+usage()
+{
+ printf "Usage: $0 test-directory\n"
+ exit 1
+}
+
+
+##########################################################################
+# Main
+##########################################################################
+
+if [ $# != 1 ]; then
+ usage
+fi
+
+dir="$1"
+if [ -e "$dir" ]; then
+ printf "$dir already exists. Remove it first or choose a different name.\n"
+ exit 1
+fi
+
+cp -iR %%EXAMPLESDIR%% "$dir"
+cd "$dir"
+kallisto index -i transcripts.idx transcripts.fasta.gz
+kallisto quant -i transcripts.idx -o output -b 100 reads_1.fastq.gz reads_2.fastq.gz
+ls -l output
+more output/abundance.tsv
+
+cat << EOM
+
+See https://pachterlab.github.io/kallisto/starting.html for instructions
+on interpreting the output above.
+
+EOM
Index: biology/kallisto/pkg-descr
===================================================================
--- /dev/null
+++ biology/kallisto/pkg-descr
@@ -0,0 +1,6 @@
+Kallisto is a program for quantifying abundances of transcripts from RNA-Seq
+data, or more generally of target sequences using high-throughput sequencing
+reads. It is based on the novel idea of pseudoalignment for rapidly determining
+the compatibility of reads with targets, without the need for alignment.
+
+WWW: https://pachterlab.github.io/kallisto/about.html
Index: biology/kallisto/pkg-plist
===================================================================
--- /dev/null
+++ biology/kallisto/pkg-plist
@@ -0,0 +1,7 @@
+bin/kallisto
+%%PORTEXAMPLES%%bin/kallisto-test
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Snakefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reads_1.fastq.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reads_2.fastq.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transcripts.fasta.gz
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 3, 7:02 PM (7 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41381014
Default Alt Text
D13328.1793732570.diff (3 KB)
Attached To
Mode
D13328: [new port] biology/kallisto: Quantify abundances of transcripts from RNA-Seq data
Attached
Detach File
Event Timeline