Imported Debian patch 0.1.5c-1
authorCharles Plessy <plessy@debian.org>
Sun, 16 Aug 2009 05:38:20 +0000 (14:38 +0900)
committerCharles Plessy <plessy@debian.org>
Tue, 8 Sep 2009 10:38:07 +0000 (19:38 +0900)
14 files changed:
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/libbam-dev.install [new file with mode: 0644]
debian/reference [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/samtools.docs [new file with mode: 0644]
debian/samtools.examples [new file with mode: 0644]
debian/samtools.install [new file with mode: 0644]
debian/samtools.manpages [new file with mode: 0644]
debian/upstream-metadata.yaml [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..f852118
--- /dev/null
@@ -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 <plessy@debian.org>  Sat, 08 Aug 2009 11:50:09 +0900
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..c858785
--- /dev/null
@@ -0,0 +1,5 @@
+samtools (0.1.5c-1) unstable; urgency=low
+
+  * Initial release (Closes: #540453)
+
+ -- Charles Plessy <plessy@debian.org>  Sun, 16 Aug 2009 14:38:20 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..0020fc5
--- /dev/null
@@ -0,0 +1,32 @@
+Source: samtools
+Section: science
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Charles Plessy <plessy@debian.org>
+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 (file)
index 0000000..b0101dd
--- /dev/null
@@ -0,0 +1,88 @@
+Machine-readable license summary, see ‘http://dep.debian.net/deps/dep5/’.
+
+Name      :  SAMtools
+Contact   :  SAMtools mailing list <samtools-help@lists.sourceforge.net>
+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 <ruanjue@gmail.com>, Heng Li <lh3@sanger.ac.uk>
+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 (file)
index 0000000..07ff691
--- /dev/null
@@ -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 (file)
index 0000000..a6bf486
--- /dev/null
@@ -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 (executable)
index 0000000..451ca81
--- /dev/null
@@ -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 (file)
index 0000000..14d5ce6
--- /dev/null
@@ -0,0 +1,3 @@
+AUTHORS
+debian/reference
+NEWS
diff --git a/debian/samtools.examples b/debian/samtools.examples
new file mode 100644 (file)
index 0000000..92114a2
--- /dev/null
@@ -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 (file)
index 0000000..17c8a41
--- /dev/null
@@ -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 (file)
index 0000000..8c4cbfe
--- /dev/null
@@ -0,0 +1 @@
+samtools.1
diff --git a/debian/upstream-metadata.yaml b/debian/upstream-metadata.yaml
new file mode 100644 (file)
index 0000000..849bb5c
--- /dev/null
@@ -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 (file)
index 0000000..32994ea
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/samtools/samtools-([\d\.]*)\.tar\.bz2