From b78a63d3c38fa688edd00d7b506512989c5e92cf Mon Sep 17 00:00:00 2001 From: Charles Plessy Date: Sun, 16 Aug 2009 14:38:20 +0900 Subject: [PATCH] Imported Debian patch 0.1.5c-1 --- debian/README.Debian | 10 ++++ debian/changelog | 5 ++ debian/compat | 1 + debian/control | 32 +++++++++++++ debian/copyright | 88 +++++++++++++++++++++++++++++++++++ debian/libbam-dev.install | 5 ++ debian/reference | 12 +++++ debian/rules | 7 +++ debian/samtools.docs | 3 ++ debian/samtools.examples | 4 ++ debian/samtools.install | 9 ++++ debian/samtools.manpages | 1 + debian/upstream-metadata.yaml | 17 +++++++ debian/watch | 2 + 14 files changed, 196 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libbam-dev.install create mode 100644 debian/reference create mode 100755 debian/rules create mode 100644 debian/samtools.docs create mode 100644 debian/samtools.examples create mode 100644 debian/samtools.install create mode 100644 debian/samtools.manpages create mode 100644 debian/upstream-metadata.yaml create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..f852118 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,10 @@ +SAMtools for Debian +------------------- + +The extra utilities found in the ‘misc’ directory of the upstream archive are +placed in ‘/usr/share/samtools’ and ‘/usr/lib/samtools’ for Perl scripts and +binary executables respectively. + +Currently, the BAM library only exists in static version. + + -- Charles Plessy Sat, 08 Aug 2009 11:50:09 +0900 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c858785 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +samtools (0.1.5c-1) unstable; urgency=low + + * Initial release (Closes: #540453) + + -- Charles Plessy Sun, 16 Aug 2009 14:38:20 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0020fc5 --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: samtools +Section: science +Priority: optional +Maintainer: Debian-Med Packaging Team +DM-Upload-Allowed: yes +Uploaders: Charles Plessy +Build-Depends: debhelper (>= 7), cdbs, libncurses5-dev, zlib1g-dev +Standards-Version: 3.8.2 +Homepage: http://samtools.sourceforge.net +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/samtools/trunk/?rev=0&sc=0 +Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/samtools/trunk/ + +Package: samtools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: processing sequence alignments in SAM and BAM formats + Samtools is a set of utilities that manipulate nucleotide sequence alignments + in the BAM format. It imports from and exports to the SAM (Sequence + Alignment/Map) format, does sorting, merging and indexing, and allows to + retrieve reads in any regions swiftly. It is designed to work on a stream, and + is able to open a BAM (not SAM) file on a remote FTP server. + +Package: libbam-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: manipulates nucleotide sequence alignments in BAM or SAM format + The BAM library provides I/O and various operations on manipulating nucleotide + sequence alignments in the BAM (Binary Alignment/Mapping) or SAM (Sequence + Alignment/Map) format. It now supports importing from or exporting to TAM, + sorting, merging, generating pileup, and quickly retrieval of reads overlapped + with a specified region. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b0101dd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,88 @@ +Machine-readable license summary, see ‘http://dep.debian.net/deps/dep5/’. + +Name : SAMtools +Contact : SAMtools mailing list +Source : http://downloads.sourceforge.net/sourceforge/samtools/samtools-0.1.5c.tar.bz2 + +Copyright : © 2008–2009, Genome Research Ltd. +License : MIT + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Files : bgzf.*, bgzip.c +Copyright : © 2008 Broad Institute / Massachusetts Institute of Technology +License : MIT + +The license of the above files have been confirmed upstream and their headers +will be corrected in the next release. See: +http://samtools.svn.sourceforge.net/viewvc/samtools?view=rev&revision=441 + + +Files : razf.* +Name : RAZF : Random Access compressed(Z) File +Copyright : 2008, Jue Ruan , Heng Li +License : Similar to NetBSD license. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + +Files : misc/md5.* +Name : MD5 Message Digest Algorithm +Copyright : © 1990, RSA Data Security, Inc. +License : + + License to copy and use this software is granted provided that + it is identified as the "RSA Data Security, Inc. MD5 Message + Digest Algorithm" in all material mentioning or referencing this + software or this function. + + License is also granted to make and use derivative works + provided that such works are identified as "derived from the RSA + Data Security, Inc. MD5 Message Digest Algorithm" in all + material mentioning or referencing the derived work. + + RSA Data Security, Inc. makes no representations concerning + either the merchantability of this software or the suitability + of this software for any particular purpose. It is provided "as + is" without express or implied warranty of any kind. + + These notices must be retained in any copies of any part of this + documentation and/or software. + +The above source files for MD5 support will be replaced in the next SAMtools +release by the public domain implementation of ‘http://www.fourmilab.ch/md5/’. diff --git a/debian/libbam-dev.install b/debian/libbam-dev.install new file mode 100644 index 0000000..07ff691 --- /dev/null +++ b/debian/libbam-dev.install @@ -0,0 +1,5 @@ +libbam.a usr/lib +bam.h usr/include +bgzf.h usr/include +khash.h usr/include +faidx.h usr/include diff --git a/debian/reference b/debian/reference new file mode 100644 index 0000000..a6bf486 --- /dev/null +++ b/debian/reference @@ -0,0 +1,12 @@ +@article{HengLi06082009, +author = {Li, Heng and Handsaker, Bob and Wysoker, Alec and Fennell, Tim and Ruan, Jue and Homer, Nils and Marth, Gabor and Abecasis, Goncalo and Durbin, Richard and 1000 Genome Project Data Processing Subgroup, }, +title = {{The Sequence Alignment/Map (SAM) Format and SAMtools}}, +journal = {Bioinformatics}, +volume = {}, +number = {}, +pages = {btp352}, +doi = {10.1093/bioinformatics/btp352}, +year = {2009}, +URL = {http://bioinformatics.oxfordjournals.org/cgi/content/abstract/btp352v1}, +eprint = {http://bioinformatics.oxfordjournals.org/cgi/reprint/btp352v1.pdf} +} diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..451ca81 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_MAKE_BUILD_TARGET = all all-recur razip lib +DEB_MAKE_CHECK_TARGET = -C examples all diff --git a/debian/samtools.docs b/debian/samtools.docs new file mode 100644 index 0000000..14d5ce6 --- /dev/null +++ b/debian/samtools.docs @@ -0,0 +1,3 @@ +AUTHORS +debian/reference +NEWS diff --git a/debian/samtools.examples b/debian/samtools.examples new file mode 100644 index 0000000..92114a2 --- /dev/null +++ b/debian/samtools.examples @@ -0,0 +1,4 @@ +examples/ex1.bam +examples/ex1.fa +examples/ex1.sam.gz +examples/00README.txt diff --git a/debian/samtools.install b/debian/samtools.install new file mode 100644 index 0000000..17c8a41 --- /dev/null +++ b/debian/samtools.install @@ -0,0 +1,9 @@ +#bgzip usr/bin +razip usr/bin +samtools usr/bin +misc/*.pl usr/share/samtools +misc/wgsim usr/lib/samtools +misc/maq2sam-long usr/lib/samtools +misc/maq2sam-short usr/lib/samtools +misc/md5fa usr/lib/samtools +misc/md5sum-lite usr/lib/samtools diff --git a/debian/samtools.manpages b/debian/samtools.manpages new file mode 100644 index 0000000..8c4cbfe --- /dev/null +++ b/debian/samtools.manpages @@ -0,0 +1 @@ +samtools.1 diff --git a/debian/upstream-metadata.yaml b/debian/upstream-metadata.yaml new file mode 100644 index 0000000..849bb5c --- /dev/null +++ b/debian/upstream-metadata.yaml @@ -0,0 +1,17 @@ +DOI: 10.1093/bioinformatics/btp352 +Homepage: http://samtools.sourceforge.net +PMID: 19505943 +Reference: | + @article{HengLi06082009, + author = {Li, Heng and Handsaker, Bob and Wysoker, Alec and Fennell, Tim and Ruan, Jue and Homer, Nils and Marth, Gabor and Abecasis, Goncalo and Durbin, Richard and 1000 Genome Project Data Processing Subgroup, }, + title = {{The Sequence Alignment/Map (SAM) Format and SAMtools}}, + journal = {Bioinformatics}, + volume = {}, + number = {}, + pages = {btp352}, + doi = {10.1093/bioinformatics/btp352}, + year = {2009}, + URL = {http://bioinformatics.oxfordjournals.org/cgi/content/abstract/btp352v1}, + eprint = {http://bioinformatics.oxfordjournals.org/cgi/reprint/btp352v1.pdf} + } +Repository: https://samtools.svn.sourceforge.net/svnroot/samtools diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..32994ea --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/samtools/samtools-([\d\.]*)\.tar\.bz2 -- 2.30.2