[med-svn] r274 - in trunk/packages/proda/trunk: . debian debian/patches

David Paleino hanska-guest at alioth.debian.org
Thu Apr 26 10:59:15 UTC 2007


Author: hanska-guest
Date: 2007-04-26 10:59:15 +0000 (Thu, 26 Apr 2007)
New Revision: 274

Added:
   trunk/packages/proda/trunk/debian/
   trunk/packages/proda/trunk/debian/changelog
   trunk/packages/proda/trunk/debian/compat
   trunk/packages/proda/trunk/debian/control
   trunk/packages/proda/trunk/debian/copyright
   trunk/packages/proda/trunk/debian/manpage.xml
   trunk/packages/proda/trunk/debian/patches/
   trunk/packages/proda/trunk/debian/patches/00list
   trunk/packages/proda/trunk/debian/patches/01-fix_gcc4.3_warnings.dpatch
   trunk/packages/proda/trunk/debian/rules
   trunk/packages/proda/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/packages/proda/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/packages/proda/trunk/debian/changelog
===================================================================
--- trunk/packages/proda/trunk/debian/changelog	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/changelog	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,12 @@
+proda (1.0-2) unstable; urgency=low
+
+  * Fixed gcc4.3 warnings
+
+ -- David Paleino <d.paleino at gmail.com>  Wed, 25 Apr 2007 20:59:04 +0200
+
+proda (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #408347)
+
+ -- David Paleino <d.paleino at gmail.com>  Tue, 24 Apr 2007 12:47:45 +0200
+

Added: trunk/packages/proda/trunk/debian/compat
===================================================================
--- trunk/packages/proda/trunk/debian/compat	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/compat	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1 @@
+5

Added: trunk/packages/proda/trunk/debian/control
===================================================================
--- trunk/packages/proda/trunk/debian/control	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/control	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,25 @@
+Source: proda
+Section: science
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: David Paleino <d.paleino at gmail.com>
+Build-Depends: debhelper (>= 5), xsltproc, docbook-xsl, docbook-xml, dpatch
+Standards-Version: 3.7.2
+XS-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/proda/trunk/
+XS-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/proda
+
+Package: proda
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: multiple alignment of protein sequences
+ ProDA is a system for automated detection and alignment of homologous
+ regions in collections of proteins with arbitrary domain architectures.
+ Given an input set of unaligned sequences, ProDA identifies all
+ homologous regions appearing in one or more sequences, and returns a
+ collection of local multiple alignments for these regions.
+ .
+ ProDA is published in: Phuong T.M., Do C.B., Edgar R.C., and Batzoglou
+ S. Multiple alignment of protein sequences with repeats and
+ rearrangements. Nucleic Acids Research 2006 34(20), 5932-5942.
+ .
+  Homepage: http://proda.stanford.edu/

Added: trunk/packages/proda/trunk/debian/copyright
===================================================================
--- trunk/packages/proda/trunk/debian/copyright	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/copyright	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,23 @@
+This package was debianized by David Paleino <d.paleino at gmail.com> on
+Tue, 24 Apr 2007 12:47:45 +0200.
+
+It was downloaded from http://proda.stanford.edu/
+
+Upstream Authors:
+    Phuong Tu Minh <phuongtm at fpt.com.vn>
+    Do Chuong B. <chuongdo at cs.stanford.edu>
+    Edgar Robert C. <bob at drive5.com>
+    Batzoglou Serafim <serafim at cs.stanford.edu>
+	
+Copyright: 
+    (c) 2006 - Phuong T.M., Do C.B., Edgar R.C., Batzoglou S.
+
+License:
+
+    ProDA is released under public domain, it has been published in:
+    Multiple alignment of protein sequences with repeats and rearrangements.
+    Nucleic Acids Research 2006 34(20), 5932-5942 - by Phuong T.M., Do C.B.,
+    Edgar R.C. and Batzoglou S.
+    
+The Debian packaging is (C) 2007, David Paleino <d.paleino at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/packages/proda/trunk/debian/manpage.xml
===================================================================
--- trunk/packages/proda/trunk/debian/manpage.xml	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/manpage.xml	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,194 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>David</firstname>">
+  <!ENTITY dhsurname   "<surname>Paleino</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>april 25, 2007</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>d.paleino at gmail.com</email>">
+  <!ENTITY dhusername  "David Paleino">
+  <!ENTITY dhucpackage "<refentrytitle>proda</refentrytitle>">
+  <!ENTITY dhpackage   "proda">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <copyright>
+      <year>2007</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+    <refpurpose>multiple alignment of protein sequences with repeats and rearrangements</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg><option><replaceable>option</replaceable></option></arg>
+      <arg><replaceable>mfafile</replaceable></arg>
+      <arg>&gt; <replaceable>output</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>This manual page documents briefly the <command>proda</command> command.</para>
+    <para><command>proda</command> (Protein Domain Aligner) is public domain software for generating multiple alignments of protein sequences with repeats and rearrangements, e.g. proteins with multiple domains.</para>
+    <para>Given a set of protein sequences as input, ProDA first finds local pairwise alignments between all pairs of sequences, then forms blocks of alignable sequence fragments, and finally generates multiple alignments of the blocks. ProDA relies on many techniques used in <command>probcons</command> (&lt;http://probcons.stanford.edu&gt;), a recent multiple aligner that shows high accuracy in a number of popular benchmarks.</para>
+  </refsect1>
+  <refsect1>
+    <title>INPUT FORMAT</title>
+    <para>Proda accepts input files in the MFA format. The MFA format is specified below:</para>
+    <itemizedlist>
+      <listitem>
+        <para>the MFA format consists of multiple sequences;</para>
+      </listitem>
+      <listitem>
+        <para>each sequence in the MFA format begins with a single-line description, followed by lines of sequence data;</para>
+      </listitem>
+      <listitem>
+        <para>the description line is distinguished from the sequence data by a greater-than ("&gt;") symbol in the first column.</para>
+      </listitem>
+    </itemizedlist>
+  </refsect1>
+  <refsect1>
+    <title>OUTPUT FORMAT</title>
+    <para>For a set of input sequences, Proda usually outputs several blocks in turn, each consists of alignable sequence fragments. Each block is followed by its multiple alignment.</para>
+    <para>A block is specified by listing its sequence fragments. Each fragment is output as sequence_name(start-end), where sequence_name is the name of the original sequence and start and end are positions at which the fragment begins and ends respectively.</para>
+    <para>Proda produces block alignments in the ClustalW (ALN) format described below:</para>
+    <itemizedlist>
+      <listitem>
+        <para>the ClustalW format consists of a single header line followed by sequence data in blocks of 50 alignment positions;</para>
+      </listitem>
+      <listitem>
+        <para>each block consists of:</para>
+        <itemizedlist>
+          <listitem>
+            <para>one line of data for each of the sequences in the alignment - in particular, the name of the sequence;</para>
+          </listitem>
+          <listitem>
+            <para>50 characters of the alignment;</para>
+          </listitem>
+          <listitem>
+            <para>one annotation line indicating fully conserved (*), strongly-conserved (:), or weakly-conserved columns (.);</para>
+          </listitem>
+        </itemizedlist>
+      </listitem>
+      <listitem>
+        <para>the description line is distinguished from the sequence data by a greater-than ("&gt;") symbol in the first column.</para>
+      </listitem>
+    </itemizedlist>
+    <refsect2>
+      <title>FASTA format for output</title>
+      <para>If the -fasta option is specified, then, in addition to regular output, ProDA produces a file containing block alignments in the FASTA format. The output file has the same name as the first input file and extension ".fasta". Two consecutive block alignments are separated by a line containing character '#'.</para>
+      <para>The FASTA format is described below:</para>
+      <itemizedlist>
+        <listitem>
+          <para>the FASTA format consists of all the sequences given in the input files;</para>
+        </listitem>
+        <listitem>
+          <para>each sequence in the FASTA format begins with a single-line description, followed by lines of sequence data;</para>
+        </listitem>
+        <listitem>
+          <para>the description line is distinguished from the sequence data by a greater-than ("&gt;") symbol in the first column;</para>
+        </listitem>
+        <listitem>
+          <para>aligned residues are in upper case, unaligned residues are in lower case.</para>
+        </listitem>
+      </itemizedlist>
+      <para>Since a final alignment contains each sequence only once, this option should be used only if input sequences do not contain repeats.</para>
+    </refsect2>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <variablelist>
+      <varlistentry>
+        <term><option>-L</option> [min_length]</term>
+        <varlistentry>
+          <para>Set minimal alignment length equal to [min_length].</para>
+          <para>ProDA finds alignments of length greater than or equal to a threshold L. By default, L = 30. This option sets the threshold to [min_length].</para>
+        </varlistentry>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-posterior</option></term>
+        <varlistentry>
+          <para>Use posterior decoding when computing local pairwise alignments.</para>
+          <para>ProDA computes local pairwise alignments between two sequences using a pair-HMM and either Viterbi decoding or posterior decoding. The default option is using Viterbi decoding which is faster than posterior decoding but may be less accurate. Turning on this option instructs the aligner to use posterior decoding instead. In the example above, the output was generated with -posterior option turned on.</para>
+        </varlistentry>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-silent</option></term>
+        <varlistentry>
+          <para>Do not report progress while aligning.</para>
+          <para>Turning on this option instructs the aligner not to report the progress while aligning. By default, ProDA reports the progress on all pairwise alignments, block generation, and on block alignment. Since some stages of the algorithm, especially pairwise alignment, may take long time, reporting progress makes the program look alive while running.</para>
+        </varlistentry>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-tran</option></term>
+        <varlistentry>
+          <para>Use transitivity when forming blocks of alignable sequence fragments.</para>
+          <para>Two sequence fragments are directly alignable if they are parts of a local pairwise alignment. By default, two fragments are considered alignable if and only if they are directly alignable. Turning on this option instructs the aligner to consider two fragments alignable when they are directly alignable or when both of them are directly alignable to a third fragment.</para>
+        </varlistentry>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-fasta</option></term>
+        <varlistentry>
+          <para>Use FASTA output format in addition to the ClustalW format.</para>
+          <para>When this option is turned on, the aligner generates output in the FASTA format and stores in a file with the same name as the first input file and extension ".fasta", in addition to the normal output to stdout. This option should be used only if input sequences do not contain repeats.</para>
+        </varlistentry>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+    <para><command>probcons</command> (1)</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+    <para>This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). This man page is released under the same conditions as the software, that is Public Domain.</para>
+    <para>This software has been released in Public Domain by Phuong T.M., Do C.B., Edgar R.C. and Batzoglou S. in "Multiple alignment of protein sequences with repeats and rearrangements", Nucleic Acids Research 2006 - 34(20), 5932-5942</para>
+  </refsect1>
+</refentry>
+

Added: trunk/packages/proda/trunk/debian/patches/00list
===================================================================
--- trunk/packages/proda/trunk/debian/patches/00list	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/patches/00list	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1 @@
+01-fix_gcc4.3_warnings.dpatch

Added: trunk/packages/proda/trunk/debian/patches/01-fix_gcc4.3_warnings.dpatch
===================================================================
--- trunk/packages/proda/trunk/debian/patches/01-fix_gcc4.3_warnings.dpatch	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/patches/01-fix_gcc4.3_warnings.dpatch	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,55 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-fix_gcc4.3_warnings.dpatch by David Paleino <d.paleino at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fixing gcc4.3 warnings
+
+ at DPATCH@
+diff -urNad proda-1.0~/Assert.cc proda-1.0/Assert.cc
+--- proda-1.0~/Assert.cc	2007-04-25 19:56:31.000000000 +0200
++++ proda-1.0/Assert.cc	2007-04-25 19:59:52.000000000 +0200
+@@ -10,7 +10,7 @@
+ // Write out assertion error message
+ //////////////////////////////////////////////////////////////////////
+ 
+-int _ASSERT_FAILED (char *filename, int line_number, const char *error_msg){
++int _ASSERT_FAILED (const char *filename, int line_number, const char *error_msg){
+   fprintf (stderr, "Assertion failed in file \"%s\", line %d: %s\n",
+ 	   filename, line_number, error_msg);
+   abort();
+diff -urNad proda-1.0~/Assert.h proda-1.0/Assert.h
+--- proda-1.0~/Assert.h	2007-04-25 19:56:31.000000000 +0200
++++ proda-1.0/Assert.h	2007-04-25 20:00:00.000000000 +0200
+@@ -7,7 +7,7 @@
+ #ifndef ASSERT_H
+ #define ASSERT_H
+ 
+-int _ASSERT_FAILED (char *filename, int line_number, const char *error_msg);
++int _ASSERT_FAILED (const char *filename, int line_number, const char *error_msg);
+ 
+ #ifdef NDEBUG
+ #define ASSERT(test,error_msg)
+diff -urNad proda-1.0~/MultiSequence.cc proda-1.0/MultiSequence.cc
+--- proda-1.0~/MultiSequence.cc	2007-04-25 19:56:31.000000000 +0200
++++ proda-1.0/MultiSequence.cc	2007-04-25 20:00:13.000000000 +0200
+@@ -386,7 +386,7 @@
+ //////////////////////////////////////////////////////////////////////
+ 
+ const char MultiSequence::ComputeAnnotation (const char *data, const int size) const {
+-  static char *groups[47] = {
++  static const char *groups[47] = {
+     
+     // Identities
+     "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", 
+diff -urNad proda-1.0~/ProbModel.cc proda-1.0/ProbModel.cc
+--- proda-1.0~/ProbModel.cc	2007-04-25 19:56:31.000000000 +0200
++++ proda-1.0/ProbModel.cc	2007-04-25 20:00:22.000000000 +0200
+@@ -30,7 +30,7 @@
+   { 0, 0, 0, 0, 0, 0, 1 }
+ };
+ 
+-char *ALPHABET = "ARNDCQEGHILKMFPSTWYV";
++const char *ALPHABET = "ARNDCQEGHILKMFPSTWYV";
+ 
+ 
+ float INIT_A = 0.9860202074;


Property changes on: trunk/packages/proda/trunk/debian/patches/01-fix_gcc4.3_warnings.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/proda/trunk/debian/rules
===================================================================
--- trunk/packages/proda/trunk/debian/rules	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/rules	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	touch $@
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+build: patch build-stamp
+
+build-stamp:
+	dh_testdir
+	$(MAKE)
+	xsltproc -''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl \
+		debian/manpage.xml
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) clean
+	dpatch deapply-all
+	dh_clean build-stamp patch-stamp proda proda.1
+	rm -rf debian/patched
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs usr/bin
+
+
+binary-indep: build install
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installman ./proda.1
+	dh_install ./proda usr/bin
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: trunk/packages/proda/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/proda/trunk/debian/watch
===================================================================
--- trunk/packages/proda/trunk/debian/watch	2007-04-26 10:58:45 UTC (rev 273)
+++ trunk/packages/proda/trunk/debian/watch	2007-04-26 10:59:15 UTC (rev 274)
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/_/\./" \
+http://proda.stanford.edu/proda_(.*)\.tar\.gz




More information about the debian-med-commit mailing list