[med-svn] r453 - in trunk/packages/proda/trunk/debian: . patches
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Sat Sep 29 14:32:30 UTC 2007
Author: hanska-guest
Date: 2007-09-29 14:32:30 +0000 (Sat, 29 Sep 2007)
New Revision: 453
Added:
trunk/packages/proda/trunk/debian/patches/02-disable_debug_flags.dpatch
trunk/packages/proda/trunk/debian/proda.1
Removed:
trunk/packages/proda/trunk/debian/manpage.xml
Modified:
trunk/packages/proda/trunk/debian/changelog
trunk/packages/proda/trunk/debian/control
trunk/packages/proda/trunk/debian/patches/00list
trunk/packages/proda/trunk/debian/rules
Log:
* Debug flags removed from Makefile - now the binary is much more
lightweight ;) (debian/patches/02-disable_debug_flags.dpatch added)
* debian/control: removing dependencies for manpage generation - it is
static now (there's no point in building always the same manpage on
different archs)
* debian/proda.1 added
* debian/manpage.xml removed
* debian/rules edited to reflect the changes above
Modified: trunk/packages/proda/trunk/debian/changelog
===================================================================
--- trunk/packages/proda/trunk/debian/changelog 2007-09-24 14:22:50 UTC (rev 452)
+++ trunk/packages/proda/trunk/debian/changelog 2007-09-29 14:32:30 UTC (rev 453)
@@ -1,9 +1,20 @@
-proda (1.0-3) unreleased; urgency=low
+proda (1.0-3) UNRELEASED; urgency=low
+ [ Charles Plessy ]
* Moved the Homepage: field out from the package's description.
- -- Charles Plessy <charles-debian-nospam at plessy.org> Fri, 21 Sep 2007 23:23:05 +0900
+ [ David Paleino ]
+ * Debug flags removed from Makefile - now the binary is much more
+ lightweight ;) (debian/patches/02-disable_debug_flags.dpatch added)
+ * debian/control: removing dependencies for manpage generation - it is
+ static now (there's no point in building always the same manpage on
+ different archs)
+ * debian/proda.1 added
+ * debian/manpage.xml removed
+ * debian/rules edited to reflect the changes above
+ -- David Paleino <d.paleino at gmail.com> Sat, 29 Sep 2007 16:24:53 +0200
+
proda (1.0-2) unstable; urgency=low
* Fixed gcc4.3 warnings
Modified: trunk/packages/proda/trunk/debian/control
===================================================================
--- trunk/packages/proda/trunk/debian/control 2007-09-24 14:22:50 UTC (rev 452)
+++ trunk/packages/proda/trunk/debian/control 2007-09-29 14:32:30 UTC (rev 453)
@@ -3,7 +3,7 @@
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
+Build-Depends: debhelper (>= 5), 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
Deleted: trunk/packages/proda/trunk/debian/manpage.xml
===================================================================
--- trunk/packages/proda/trunk/debian/manpage.xml 2007-09-24 14:22:50 UTC (rev 452)
+++ trunk/packages/proda/trunk/debian/manpage.xml 2007-09-29 14:32:30 UTC (rev 453)
@@ -1,194 +0,0 @@
-<?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>> <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> (<http://probcons.stanford.edu>), 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 (">") 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 (">") 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 (">") 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>
-
Modified: trunk/packages/proda/trunk/debian/patches/00list
===================================================================
--- trunk/packages/proda/trunk/debian/patches/00list 2007-09-24 14:22:50 UTC (rev 452)
+++ trunk/packages/proda/trunk/debian/patches/00list 2007-09-29 14:32:30 UTC (rev 453)
@@ -1 +1,2 @@
01-fix_gcc4.3_warnings.dpatch
+02-disable_debug_flags.dpatch
Added: trunk/packages/proda/trunk/debian/patches/02-disable_debug_flags.dpatch
===================================================================
--- trunk/packages/proda/trunk/debian/patches/02-disable_debug_flags.dpatch (rev 0)
+++ trunk/packages/proda/trunk/debian/patches/02-disable_debug_flags.dpatch 2007-09-29 14:32:30 UTC (rev 453)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02-disable_debug_flags.dpatch by David Paleino <d.paleino at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad proda-1.0~/Makefile proda-1.0/Makefile
+--- proda-1.0~/Makefile 2007-09-29 16:13:18.000000000 +0200
++++ proda-1.0/Makefile 2007-09-29 16:17:37.000000000 +0200
+@@ -18,14 +18,14 @@
+ OTHERFLAGS = -DVERSION="\"1.00\""
+
+ # debug mode
+-CXXFLAGS = -g -W -Wall -pedantic $(OTHERFLAGS)
++#CXXFLAGS = -g -W -Wall -pedantic $(OTHERFLAGS)
+
+ # profile mode
+ #CXXFLAGS = -pg -W -Wall -pedantic $(OTHERFLAGS)
+
+ # release mode
+ #CXXFLAGS = -O3 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -mmmx -msse -msse2 -mfpmath=sse -march=pentium4 -mcpu=pentium4 -funroll-loops -fomit-frame-pointer
+-#CXXFLAGS = -O3 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -funroll-loops
++CXXFLAGS = -O2 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -funroll-loops
+
+ ################################################################################
+ # 3) Dependencies
Property changes on: trunk/packages/proda/trunk/debian/patches/02-disable_debug_flags.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/proda/trunk/debian/proda.1
===================================================================
--- trunk/packages/proda/trunk/debian/proda.1 (rev 0)
+++ trunk/packages/proda/trunk/debian/proda.1 2007-09-29 14:32:30 UTC (rev 453)
@@ -0,0 +1,170 @@
+.\" Title: proda
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
+.\" Date: april 25, 2007
+.\" Manual:
+.\" Source:
+.\"
+.TH "PRODA" "1" "april 25, 2007" "" ""
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH "NAME"
+proda - multiple alignment of protein sequences with repeats and rearrangements
+.SH "SYNOPSIS"
+.HP 6
+\fBproda\fR [\fB\fIoption\fR\fR] [\fImfafile\fR] [>\ \fIoutput\fR]
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBproda\fR
+command\.
+.PP
+\fBproda\fR
+(Protein Domain Aligner) is public domain software for generating multiple alignments of protein sequences with repeats and rearrangements, e\.g\. proteins with multiple domains\.
+.PP
+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
+\fBprobcons\fR
+(<http://probcons\.stanford\.edu>), a recent multiple aligner that shows high accuracy in a number of popular benchmarks\.
+.SH "INPUT FORMAT"
+.PP
+Proda accepts input files in the MFA format\. The MFA format is specified below:
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'the MFA format consists of multiple sequences;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'each sequence in the MFA format begins with a single\-line description, followed by lines of sequence data;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'the description line is distinguished from the sequence data by a greater\-than (">") symbol in the first column\.
+.RE
+.SH "OUTPUT FORMAT"
+.PP
+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\.
+.PP
+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\.
+.PP
+Proda produces block alignments in the ClustalW (ALN) format described below:
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'the ClustalW format consists of a single header line followed by sequence data in blocks of 50 alignment positions;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'each block consists of:
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'one line of data for each of the sequences in the alignment \- in particular, the name of the sequence;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'50 characters of the alignment;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'one annotation line indicating fully conserved (*), strongly\-conserved (:), or weakly\-conserved columns (\.);
+.RE
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'the description line is distinguished from the sequence data by a greater\-than (">") symbol in the first column\.
+.RE
+.SS "FASTA format for output"
+.PP
+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 \'#\'\.
+.PP
+The FASTA format is described below:
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'the FASTA format consists of all the sequences given in the input files;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'each sequence in the FASTA format begins with a single\-line description, followed by lines of sequence data;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'the description line is distinguished from the sequence data by a greater\-than (">") symbol in the first column;
+.RE
+.sp
+.RS 4
+\h'-04'\(bu\h'+03'aligned residues are in upper case, unaligned residues are in lower case\.
+.RE
+.PP
+Since a final alignment contains each sequence only once, this option should be used only if input sequences do not contain repeats\.
+.SH "OPTIONS"
+.PP
+\fB\-L\fR [min_length]
+.RS 4
+.PP
+.RS 4
+.PP
+Set minimal alignment length equal to [min_length]\.
+.PP
+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]\.
+.RE
+.RE
+.PP
+\fB\-posterior\fR
+.RS 4
+.PP
+.RS 4
+.PP
+Use posterior decoding when computing local pairwise alignments\.
+.PP
+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\.
+.RE
+.RE
+.PP
+\fB\-silent\fR
+.RS 4
+.PP
+.RS 4
+.PP
+Do not report progress while aligning\.
+.PP
+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\.
+.RE
+.RE
+.PP
+\fB\-tran\fR
+.RS 4
+.PP
+.RS 4
+.PP
+Use transitivity when forming blocks of alignable sequence fragments\.
+.PP
+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\.
+.RE
+.RE
+.PP
+\fB\-fasta\fR
+.RS 4
+.PP
+.RS 4
+.PP
+Use FASTA output format in addition to the ClustalW format\.
+.PP
+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\.
+.RE
+.RE
+.SH "SEE ALSO"
+.PP
+\fBprobcons\fR
+(1)
+.SH "AUTHOR"
+.PP
+This manual page was written by David Paleino
+<d\.paleino at gmail\.com>
+for the
+Debian(TM)
+system (but may be used by others)\. This man page is released under the same conditions as the software, that is Public Domain\.
+.PP
+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
+.SH "COPYRIGHT"
+Copyright \(co 2007 David Paleino
+.br
Modified: trunk/packages/proda/trunk/debian/rules
===================================================================
--- trunk/packages/proda/trunk/debian/rules 2007-09-24 14:22:50 UTC (rev 452)
+++ trunk/packages/proda/trunk/debian/rules 2007-09-29 14:32:30 UTC (rev 453)
@@ -21,21 +21,16 @@
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:
+clean: unpatch
dh_testdir
dh_testroot
+ dh_clean build-stamp proda
[ ! -f Makefile ] || $(MAKE) clean
- dpatch deapply-all
- dh_clean build-stamp patch-stamp proda proda.1
- rm -rf debian/patched
install: build
dh_testdir
@@ -43,16 +38,14 @@
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_installman ./debian/proda.1
dh_install ./proda usr/bin
- dh_link
dh_strip
dh_compress
dh_fixperms
More information about the debian-med-commit
mailing list