Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523644 - sci-biology/samtools-1.0 should install bam headers
Summary: sci-biology/samtools-1.0 should install bam headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-24 20:24 UTC by Michael Schubert
Modified: 2014-09-25 15:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
include bam headers (samtools.patch,768 bytes, patch)
2014-09-24 20:24 UTC, Michael Schubert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schubert 2014-09-24 20:24:31 UTC
Created attachment 385414 [details, diff]
include bam headers

With the upgrade to samtools=1.0, the package no longer includes the bam headers in /usr/include/bam/*.

I added a patch to install the headers with the package, as they are required to build e.g. cufflinks-1.3.1 or tophat-2.0.9::science.

cufflinks builds with problems including this patch, tophat still requires compatibility patches for the new versions from upstream [announced to be fixed within 2 weeks, https://groups.google.com/forum/#!topic/tuxedo-tools-users/BVNDDmInU0A].

This also partially solves incompatibility between dev-perl/Bio-SamTools and samtools-1.0 as brought up in https://bugs.gentoo.org/show_bug.cgi?id=523568.

However, there may be further issues when packages look for htslib headers in /usr/include/bam instead of /usr/include/htslib, as is the case in #523568.

You may want to consider to put htslib headers in include/bam/* to avoid similar issues, but I'm not entirely sure what is the best approach here.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-09-25 15:21:00 UTC
+*samtools-1.0-r1 (25 Sep 2014)
+
+  25 Sep 2014; Justin Lecher <jlec@gentoo.org> +samtools-1.0-r1.ebuild,
+  +files/samtools-1.0-buildsystem.patch:
+  Install bam headers and create libbam.so, #523644
+