[med-svn] [kmer] 02/02: (WIP) new binary package - estmapper
Afif Elghraoui
afif at moszumanska.debian.org
Wed Nov 30 10:22:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch topic/atac-and-est
in repository kmer.
commit 9c785c4d68910fd676d153c23640acf4219b40bd
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Wed Nov 30 02:17:09 2016 -0800
(WIP) new binary package - estmapper
Testing using the steps at
<http://kmer.sourceforge.net/wiki/index.php/Getting_Started_with_ESTmapper>,
there is a memory error when calling seagen. I attempted
compiling with -std=c+=98, but this did not help.
---
debian/control | 19 ++++++
debian/estmapper.install | 16 +++++
debian/patches/estmapper-helper-script-paths.patch | 75 ++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 1 +
5 files changed, 112 insertions(+)
diff --git a/debian/control b/debian/control
index 1c17ee8..f8b72f4 100644
--- a/debian/control
+++ b/debian/control
@@ -114,6 +114,25 @@ Description: batch spliced alignment of cDNA sequences to a target genome
.
This package is part of the Kmer suite.
+Package: estmapper
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${perl:Depends},
+ libfile-which-perl,
+ meryl,
+ leaff,
+ sim4db,
+Suggests: gridengine-client
+Description: biological sequence library utilities and applications
+ ESTmapper is a software package for the high-throughput alignment of large
+ cDNA (EST, mRNA) sequence sets to a large eukaryotic genome of the same
+ species. It can also be used to map relatively short DNA segments, such as
+ sequencing reads or SNP flanking sequences, to the genome.
+ .
+ This package is part of the Kmer suite.
+
Package: atac
Architecture: any
Depends:
diff --git a/debian/estmapper.install b/debian/estmapper.install
new file mode 100644
index 0000000..329d7f9
--- /dev/null
+++ b/debian/estmapper.install
@@ -0,0 +1,16 @@
+installdir/bin/ESTmapper.pl /usr/bin
+installdir/bin/configureESTmapper.pl /usr/bin
+installdir/bin/runConcurrently.pl /usr/lib/estmapper/bin
+installdir/bin/mergeCounts /usr/lib/estmapper/bin
+installdir/bin/terminate /usr/lib/estmapper/bin
+installdir/lib/scheduler.pm /usr/lib/estmapper/lib
+
+# From seagen/
+installdir/bin/seagen /usr/lib/estmapper/bin
+installdir/bin/hitConverter /usr/lib/estmapper/bin
+installdir/bin/filterEST /usr/lib/estmapper/bin
+installdir/bin/filterMRNA /usr/lib/estmapper/bin
+installdir/bin/filterNULL /usr/lib/estmapper/bin
+installdir/bin/filtertest /usr/lib/estmapper/bin
+installdir/bin/sortHits /usr/lib/estmapper/bin
+installdir/bin/filterESTsimple /usr/lib/estmapper/bin
diff --git a/debian/patches/estmapper-helper-script-paths.patch b/debian/patches/estmapper-helper-script-paths.patch
new file mode 100644
index 0000000..87ac86e
--- /dev/null
+++ b/debian/patches/estmapper-helper-script-paths.patch
@@ -0,0 +1,75 @@
+Description: Adjust paths to private executables for estmapper
+Author: Afif Elghraoui <afif at debian.org>
+Forwarded: not-needed
+Last-Update: 2016-11-30
+--- kmer-tools.orig/ESTmapper/ESTmapper.pl
++++ kmer-tools/ESTmapper/ESTmapper.pl
+@@ -9,9 +9,10 @@
+ # Perl version 5.005_03 is too old, it requires two args to mkdir.
+
+ use strict;
++use File::Which;
+ use FindBin;
+ use Config; # for @signame
+-use lib "$FindBin::Bin/../lib";
++use lib "$FindBin::Bin/../lib/estmapper/lib";
+
+ use scheduler;
+
+@@ -82,24 +83,24 @@
+
+
+ sub setExecutables {
+- my $exechome = "$FindBin::Bin";
++ my $exechome = "$FindBin::Bin/../lib/estmapper/bin";
+
+- $prog{'ESTmapper'} = "$exechome/ESTmapper.pl";
++ $prog{'ESTmapper'} = which("ESTmapper.pl");
+ $prog{'seagen'} = "$exechome/seagen";
+ $prog{'mergeCounts'} = "$exechome/mergeCounts";
+ $prog{'filterEST'} = "$exechome/filterEST";
+ $prog{'filterMRNA'} = "$exechome/filterMRNA";
+ $prog{'filterNULL'} = "$exechome/filterNULL";
+- $prog{'sim4db'} = "$exechome/sim4db";
+- $prog{'leaff'} = "$exechome/leaff";
+- $prog{'meryl'} = "$exechome/meryl";
+- $prog{'cleanPolishes'} = "$exechome/cleanPolishes";
+- $prog{'toFILTER'} = "$exechome/filterPolishes";
++ $prog{'sim4db'} = which("sim4db");
++ $prog{'leaff'} = which("leaff");
++ $prog{'meryl'} = which("meryl");
++ $prog{'cleanPolishes'} = which("cleanPolishes");
++ $prog{'toFILTER'} = which("filterPolishes");
+ $prog{'sortHits'} = "$exechome/sortHits";
+- $prog{'sortPolishes'} = "$exechome/sortPolishes";
+- $prog{'parseSNPs'} = "$exechome/parseSNP";
+- $prog{'pickBest'} = "$exechome/pickBestPolish";
+- $prog{'positionDB'} = "$exechome/positionDB";
++ $prog{'sortPolishes'} = which("sortPolishes");
++ $prog{'parseSNPs'} = which("parseSNP");
++ $prog{'pickBest'} = which("pickBestPolish");
++ $prog{'positionDB'} = which("positionDB");
+ $prog{'terminate'} = "$exechome/terminate";
+
+ foreach my $e (keys %prog) {
+--- kmer-tools.orig/ESTmapper/configureESTmapper.pl
++++ kmer-tools/ESTmapper/configureESTmapper.pl
+@@ -1,14 +1,14 @@
+ #!/usr/bin/perl
+
+ use strict;
++use File::Which;
+ use FindBin;
+ use Config; # for @signame
+ use lib "$FindBin::Bin/util";
+
+-my $exechome = "$FindBin::Bin";
+-my $leaff = "$exechome/leaff";
+-my $posdb = "$exechome/positionDB";
+-my $meryl = "$exechome/meryl";
++my $leaff = which("leaff");
++my $posdb = which("positionDB");
++my $meryl = which("meryl");
+
+ my $genome = undef;
+ my $genomedir = undef;
diff --git a/debian/patches/series b/debian/patches/series
index 9c7dadf..589b17c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
allow-freebsd-build.patch
atac-helper-script-paths.patch
+estmapper-helper-script-paths.patch
diff --git a/debian/rules b/debian/rules
index b4940d0..25670f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CXXFLAGS_MAINT_APPEND = -std=c++98
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/kmer.git
More information about the debian-med-commit
mailing list