[med-svn] [Git][med-team/easel][master] 3 commits: Install m4 files needed for hmmer building and rmanprocess.py to create hmmer manpages
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Nov 16 08:27:31 GMT 2026
Andreas Tille pushed to branch master at Debian Med / easel
Commits:
f46d215f by Andreas Tille at 2026-11-14T16:50:04+01:00
Install m4 files needed for hmmer building and rmanprocess.py to create hmmer manpages
- - - - -
d3931f63 by Andreas Tille at 2026-11-16T09:25:43+01:00
Also declare the sequence file parser functions that the pyhmmer patch exports in esl_sqio_ascii.h, so that pyhmmer can compile against the installed headers.
- - - - -
b2e2d89a by Andreas Tille at 2026-11-16T09:26:34+01:00
Add manpage for /usr/bin/easel
- - - - -
7 changed files:
- debian/changelog
- debian/control
- + debian/easel-apps.manpages
- + debian/easel.1
- + debian/libeasel-dev.install
- debian/patches/docs.patch
- debian/patches/export-internal-symbols-for-pyhmmer.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,12 @@
easel (0.49+dfsg-2) UNRELEASED; urgency=medium
* Cleanup manpage installation
+ * Also declare the sequence file parser functions that the pyhmmer patch
+ exports in esl_sqio_ascii.h, so that pyhmmer can compile against the
+ installed headers.
+ * Install m4 files needed for hmmer building and rmanprocess.py to
+ create hmmer manpages
+ * Add manpage for /usr/bin/easel
-- Andreas Tille <tille at debian.org> Thu, 12 Nov 2026 16:34:12 +0100
=====================================
debian/control
=====================================
@@ -43,6 +43,8 @@ Depends:
libeasel0 (= ${binary:Version}),
${devlibs:Depends},
${misc:Depends},
+Recommends:
+ python3
Description: library of C functions for biological sequence analysis
Easel is an ANSI C code library for computational analysis of
biological sequences using probabilistic models. Easel is used by
=====================================
debian/easel-apps.manpages
=====================================
@@ -0,0 +1 @@
+debian/easel.1
=====================================
debian/easel.1
=====================================
@@ -0,0 +1,63 @@
+.TH "easel" 1 "2026-11-15" "Easel 0.49.0" "Easel Manual"
+
+.SH NAME
+easel \- little utilities for biological sequence analysis
+
+.SH SYNOPSIS
+
+.nf
+\fBeasel\fR \fIcmd\fR [\fIoptions\fR] [\fIargs\fR]
+\fBeasel\fR \-h
+\fBeasel\fR \-\-version
+.fi
+
+.SH DESCRIPTION
+
+.PP
+.B easel
+is a single program with many subcommands, subsuming the former Easel
+miniapps. The first non-option argument selects the subcommand; the
+remaining arguments are passed to it.
+
+.PP
+Use
+.B easel \fIcmd\fR \-h
+to get a short help summary for an individual command.
+
+.SH COMMANDS
+
+.TP
+.B alistat
+summary statistics for a multiple sequence alignment file; see
+.BR esl\-alistat (1).
+.TP
+.B downsample
+downsample \fIm\fR things from a larger \fIinfile\fR of \fIn\fR things.
+.TP
+.B filter
+remove sequences at or above a given fractional identity from a
+multiple sequence alignment.
+.TP
+.B index
+create an SSI fast lookup index for a sequence or alignment file; see
+.BR esl\-sfetch (1).
+
+.SH OPTIONS
+
+.TP
+.B \-h
+Show an overall brief help summary, including the available commands.
+.TP
+.B \-\-version
+Show the version number.
+
+.SH SEE ALSO
+
+.BR esl\-alistat (1),
+.BR esl\-sfetch (1),
+.BR esl\-reformat (1),
+.BR esl\-seqstat (1).
+
+.PP
+The Easel library documentation is shipped in
+.IR /usr/share/doc/easel-doc/ .
=====================================
debian/libeasel-dev.install
=====================================
@@ -0,0 +1,5 @@
+devkit/rmanprocess.py usr/share/easel/devkit
+m4/esl_neon.m4 usr/share/easel/m4
+m4/esl_pic_flags.m4 usr/share/easel/m4
+m4/esl_vmx.m4 usr/share/easel/m4
+m4/esl_sse.m4 usr/share/easel/m4
=====================================
debian/patches/docs.patch
=====================================
@@ -9,7 +9,7 @@ Assisted-By: aim2balance/a2b-code
--- a/documentation/Makefile.in
+++ b/documentation/Makefile.in
-@@ -55,6 +55,7 @@
+@@ -55,6 +55,7 @@ MODULES = easel\
esl_hyperexp\
esl_keyhash\
esl_minimizer\
@@ -17,7 +17,7 @@ Assisted-By: aim2balance/a2b-code
esl_mpi\
esl_msa\
esl_msacluster\
-@@ -111,10 +112,15 @@
+@@ -111,10 +112,15 @@ current.pdf: symlinks.stamp autodoc.stam
command -v $$prog >/dev/null 2>&1 || { echo >&2 "The $$prog program is required to build the Userguide, but it's not installed. Aborting."; exit 1; } \
done
@echo " LATEX current.pdf (see latex.log for output)"
@@ -37,7 +37,6 @@ Assisted-By: aim2balance/a2b-code
@mv main.pdf current.pdf
# symlinks.stamp: if we're in a build tree, symlink the tex files.
-
--- a/documentation/main.tex
+++ b/documentation/main.tex
@@ -260,7 +260,7 @@
@@ -58,10 +57,9 @@ Assisted-By: aim2balance/a2b-code
\subsection{Functions in the getopts module}
\input{autotext/esl_getopts_functions}
}{}
-
--- a/esl_dirichlet.tex
+++ b/esl_dirichlet.tex
-@@ -37,13 +37,13 @@
+@@ -37,13 +37,13 @@ The API consists of the following functi
\subsection{Example of using the dirichlet API}
@@ -81,10 +79,9 @@ Assisted-By: aim2balance/a2b-code
\subsection{Accessing information in the ESL\_MIXDCHLET object}
-
--- a/esl_msaweight.tex
+++ b/esl_msaweight.tex
-@@ -35,11 +35,12 @@
+@@ -35,11 +35,12 @@ and phylogeny modules.}
An example of reading in a multiple alignment and calculating weights
for its sequences using the GSC algorithm:
=====================================
debian/patches/export-internal-symbols-for-pyhmmer.patch
=====================================
@@ -5,10 +5,12 @@ Description: Export internal sequence file parser functions used by pyhmmer
esl_sqio_ascii.c (the format-specific callbacks and the parser helpers shared
between the text formats) that upstream keeps private to that translation
unit. Remove the `static` storage class from them so that they become part
- of the shared library ABI and can be resolved at link time.
+ of the shared library ABI and can be resolved at link time, and declare them
+ in esl_sqio_ascii.h so that consumers (pyhmmer includes the installed header)
+ see prototypes instead of implicit declarations.
Author: Andreas Tille <tille at debian.org>
Forwarded: not-needed
-Last-Update: 2026-11-12
+Last-Update: 2026-11-13
Assisted-By: DeepSeek V4.1 Flash Free
--- a/esl_sqio_ascii.c
@@ -128,7 +130,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
/*****************************************************************
-@@ -369,7 +369,7 @@
+@@ -369,7 +369,7 @@ esl_sqascii_Open(char *filename, int for
*
* Throws: <eslEMEM> on allocation failure.
*/
@@ -137,7 +139,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_GuessFileFormat(ESL_SQFILE *sqfp, int *ret_fmt)
{
int n = strlen(sqfp->filename);
-@@ -471,7 +471,7 @@
+@@ -471,7 +471,7 @@ sqascii_GuessFileFormat(ESL_SQFILE *sqfp
* On errors, the state of <sqfp> is indeterminate, and
* it should not be used again.
*/
@@ -146,7 +148,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_Position(ESL_SQFILE *sqfp, off_t offset)
{
int status;
-@@ -527,7 +527,7 @@
+@@ -527,7 +527,7 @@ sqascii_Position(ESL_SQFILE *sqfp, off_t
*
* Returns: (void).
*/
@@ -155,7 +157,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_Close(ESL_SQFILE *sqfp)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -587,7 +587,7 @@
+@@ -587,7 +587,7 @@ sqascii_Close(ESL_SQFILE *sqfp)
*
* Returns: <eslOK> on success.
*/
@@ -164,7 +166,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_SetDigital(ESL_SQFILE *sqfp, const ESL_ALPHABET *abc)
{
int status = eslOK;
-@@ -642,7 +642,7 @@
+@@ -642,7 +642,7 @@ sqascii_SetDigital(ESL_SQFILE *sqfp, con
* Throws: <eslEMEM> on allocation error;
* <eslEINCONCEIVABLE> on unimaginable internal errors.
*/
@@ -173,7 +175,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_GuessAlphabet(ESL_SQFILE *sqfp, int *ret_type)
{
ESL_SQ *sq = NULL;
-@@ -693,7 +693,7 @@
+@@ -693,7 +693,7 @@ sqascii_GuessAlphabet(ESL_SQFILE *sqfp,
* to an offset of zero), in order to read it a second
* time.
*/
@@ -182,7 +184,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_IsRewindable(const ESL_SQFILE *sqfp)
{
if (sqfp->data.ascii.do_gzip == TRUE) return FALSE;
-@@ -708,7 +708,7 @@
+@@ -708,7 +708,7 @@ sqascii_IsRewindable(const ESL_SQFILE *s
* to an offset of zero), in order to read it a second
* time.
*/
@@ -191,7 +193,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_GetError(const ESL_SQFILE *sqfp)
{
return sqfp->data.ascii.errbuf;
-@@ -739,7 +739,7 @@
+@@ -739,7 +739,7 @@ sqascii_GetError(const ESL_SQFILE *sqfp)
* Throws: <eslEMEM> on allocation failure;
* <eslEINCONCEIVABLE> on internal error.
*/
@@ -200,7 +202,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_Read(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
int status;
-@@ -834,7 +834,7 @@
+@@ -834,7 +834,7 @@ sqascii_Read(ESL_SQFILE *sqfp, ESL_SQ *s
*
* Throws: <eslEMEM> on allocation error.
*/
@@ -209,7 +211,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_ReadInfo(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
int status;
-@@ -938,7 +938,7 @@
+@@ -938,7 +938,7 @@ sqascii_ReadInfo(ESL_SQFILE *sqfp, ESL_S
* Throws: <eslEMEM> on allocation failure;
* <eslEINCONCEIVABLE> on internal error.
*/
@@ -218,7 +220,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_ReadSequence(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -1111,7 +1111,7 @@
+@@ -1111,7 +1111,7 @@ sqascii_ReadSequence(ESL_SQFILE *sqfp, E
*
* <eslEMEM> on allocation error.
*/
@@ -227,7 +229,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_ReadWindow(ESL_SQFILE *sqfp, int C, int W, ESL_SQ *sq)
{
int actual_start;
-@@ -1452,7 +1452,7 @@
+@@ -1452,7 +1452,7 @@ sqascii_ReadWindow(ESL_SQFILE *sqfp, int
* Throws: <eslEMEM> on allocation failure;
* <eslEINCONCEIVABLE> on internal error.
*/
@@ -236,7 +238,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_ReadBlock(ESL_SQFILE *sqfp, ESL_SQ_BLOCK *sqBlock, int max_residues, int max_sequences, int max_init_window, int long_target)
{
int i = 0;
-@@ -1635,7 +1635,7 @@
+@@ -1635,7 +1635,7 @@ sqascii_ReadBlock(ESL_SQFILE *sqfp, ESL_
*
*
*/
@@ -245,7 +247,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_Echo(ESL_SQFILE *sqfp, const ESL_SQ *sq, FILE *ofp)
{
int status;
-@@ -1733,7 +1733,7 @@
+@@ -1733,7 +1733,7 @@ sqascii_Echo(ESL_SQFILE *sqfp, const ESL
*
* Throws <eslEMEM> on allocation error.
*/
@@ -254,7 +256,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_OpenSSI(ESL_SQFILE *sqfp, const char *ssifile_hint)
{
int status;
-@@ -1790,7 +1790,7 @@
+@@ -1790,7 +1790,7 @@ sqascii_OpenSSI(ESL_SQFILE *sqfp, const
* In all these cases, the state of <sqfp> becomes
* undefined, and the caller should not use it again.
*/
@@ -263,7 +265,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_PositionByKey(ESL_SQFILE *sqfp, const char *key)
{
uint16_t fh;
-@@ -1838,7 +1838,7 @@
+@@ -1838,7 +1838,7 @@ sqascii_PositionByKey(ESL_SQFILE *sqfp,
* In all these cases, the state of <sqfp> becomes
* undefined, and the caller should not use it again.
*/
@@ -272,7 +274,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_PositionByNumber(ESL_SQFILE *sqfp, int which)
{
uint16_t fh;
-@@ -1870,7 +1870,7 @@
+@@ -1870,7 +1870,7 @@ sqascii_PositionByNumber(ESL_SQFILE *sqf
*
* Throws: <eslEMEM> on allocation error.
*/
@@ -281,7 +283,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_Fetch(ESL_SQFILE *sqfp, const char *key, ESL_SQ *sq)
{
int status;
-@@ -1901,7 +1901,7 @@
+@@ -1901,7 +1901,7 @@ sqascii_Fetch(ESL_SQFILE *sqfp, const ch
*
* Throws: <eslEMEM> on allocation error.
*/
@@ -290,7 +292,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_FetchInfo(ESL_SQFILE *sqfp, const char *key, ESL_SQ *sq)
{
int status;
-@@ -1945,7 +1945,7 @@
+@@ -1945,7 +1945,7 @@ sqascii_FetchInfo(ESL_SQFILE *sqfp, cons
*
* Throws: <eslEMEM> on allocation errors.
*/
@@ -299,7 +301,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
sqascii_FetchSubseq(ESL_SQFILE *sqfp, const char *source, int64_t start, int64_t end, ESL_SQ *sq)
{
uint16_t fh;/* SSI file handle */
-@@ -2038,7 +2038,7 @@
+@@ -2038,7 +2038,7 @@ sqascii_FetchSubseq(ESL_SQFILE *sqfp, co
* Returns <eslOK> (and mpos < mn) if new data is read.
* Throws <eslEMEM> on allocation error.
*/
@@ -308,7 +310,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
loadmem(ESL_SQFILE *sqfp)
{
void *tmp;
-@@ -2113,7 +2113,7 @@
+@@ -2113,7 +2113,7 @@ loadmem(ESL_SQFILE *sqfp)
* (sqfp->nc == 0 is the same as eslEOF: no data in the new buffer.)
* Can throw an <eslEMEM> error.
*/
@@ -317,7 +319,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
loadbuf(ESL_SQFILE *sqfp)
{
void *tmp;
-@@ -2188,7 +2188,7 @@
+@@ -2188,7 +2188,7 @@ ERROR:
* Return <eslEOF> if we ran out of data in <sqfp>.
* May throw an <eslEMEM> error.
*/
@@ -326,7 +328,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
nextchar(ESL_SQFILE *sqfp, char *ret_c)
{
int status;
-@@ -2246,7 +2246,7 @@
+@@ -2246,7 +2246,7 @@ nextchar(ESL_SQFILE *sqfp, char *ret_c)
* to make sure that <seebuf()> never counts the same byte twice (hence
* the need for the <maxn> limit, which ReadWindow() uses.)
*/
@@ -335,7 +337,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
seebuf(ESL_SQFILE *sqfp, int64_t maxn, int64_t *opt_nres, int64_t *opt_endpos)
{
int bpos;
-@@ -2332,7 +2332,7 @@
+@@ -2332,7 +2332,7 @@ seebuf(ESL_SQFILE *sqfp, int64_t maxn, i
* sq->seq/dsq now holds <nres> new residues
* sq->n is incremented by <nres>
*/
@@ -344,7 +346,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
addbuf(ESL_SQFILE *sqfp, ESL_SQ *sq, int64_t nres)
{
ESL_DSQ x;
-@@ -2358,7 +2358,7 @@
+@@ -2358,7 +2358,7 @@ addbuf(ESL_SQFILE *sqfp, ESL_SQ *sq, int
* Like addbuf(), but we skip <nskip> residues instead of
* reading them.
*/
@@ -353,7 +355,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
skipbuf(ESL_SQFILE *sqfp, int64_t nskip)
{
ESL_DSQ x;
-@@ -2385,7 +2385,7 @@
+@@ -2385,7 +2385,7 @@ skipbuf(ESL_SQFILE *sqfp, int64_t nskip)
* (3) end of file; return eslEOF.
*
*/
@@ -362,7 +364,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
skip_whitespace(ESL_SQFILE *sqfp)
{
int status;
-@@ -2455,7 +2455,7 @@
+@@ -2455,7 +2455,7 @@ skip_whitespace(ESL_SQFILE *sqfp)
* ReadWindow() in reverse complement acts like a subseq fetch.
*
*/
@@ -371,7 +373,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
read_nres(ESL_SQFILE *sqfp, ESL_SQ *sq, int64_t nskip, int64_t nres, int64_t *opt_actual_nres)
{
int64_t n;
-@@ -2527,7 +2527,7 @@
+@@ -2527,7 +2527,7 @@ read_nres(ESL_SQFILE *sqfp, ESL_SQ *sq,
* careful to only parse the conserved intersection of these two
* very similar formats.
*/
@@ -380,7 +382,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
config_embl(ESL_SQFILE *sqfp)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -2539,7 +2539,7 @@
+@@ -2539,7 +2539,7 @@ config_embl(ESL_SQFILE *sqfp)
ascii->parse_end = &end_embl;
}
@@ -389,7 +391,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
inmap_embl(ESL_SQFILE *sqfp, const ESL_DSQ *abc_inmap)
{
int x;
-@@ -2586,7 +2586,7 @@
+@@ -2586,7 +2586,7 @@ inmap_embl(ESL_SQFILE *sqfp, const ESL_D
*
* May also throw <eslEMEM> on allocation errors.
*/
@@ -398,7 +400,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
header_embl(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
char *s;
-@@ -2710,7 +2710,7 @@
+@@ -2710,7 +2710,7 @@ header_embl(ESL_SQFILE *sqfp, ESL_SQ *sq
*
* May also throw <eslEMEM> on allocation errors.
*/
@@ -407,7 +409,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
skip_embl(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
int status;
-@@ -2749,7 +2749,7 @@
+@@ -2749,7 +2749,7 @@ skip_embl(ESL_SQFILE *sqfp, ESL_SQ *sq)
return eslOK;
}
@@ -416,7 +418,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
end_embl(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
int status;
-@@ -2776,7 +2776,7 @@
+@@ -2776,7 +2776,7 @@ end_embl(ESL_SQFILE *sqfp, ESL_SQ *sq)
* ftp://ftp.ncbi.nih.gov/genbank/gbrel.txt
*/
@@ -425,7 +427,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
config_genbank(ESL_SQFILE *sqfp)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -2788,7 +2788,7 @@
+@@ -2788,7 +2788,7 @@ config_genbank(ESL_SQFILE *sqfp)
ascii->parse_end = &end_genbank;
}
@@ -434,7 +436,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
inmap_genbank(ESL_SQFILE *sqfp, const ESL_DSQ *abc_inmap)
{
int x;
-@@ -2831,7 +2831,7 @@
+@@ -2831,7 +2831,7 @@ inmap_genbank(ESL_SQFILE *sqfp, const ES
*
* May also throw <eslEMEM> on allocation errors.
*/
@@ -443,7 +445,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
header_genbank(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
char *s;
-@@ -2896,7 +2896,7 @@
+@@ -2896,7 +2896,7 @@ header_genbank(ESL_SQFILE *sqfp, ESL_SQ
*
* May also throw <eslEMEM> on allocation errors.
*/
@@ -452,7 +454,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
skip_genbank(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
int status;
-@@ -2928,7 +2928,7 @@
+@@ -2928,7 +2928,7 @@ skip_genbank(ESL_SQFILE *sqfp, ESL_SQ *s
return eslOK;
}
@@ -461,7 +463,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
end_genbank(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
int status;
-@@ -2950,7 +2950,7 @@
+@@ -2950,7 +2950,7 @@ end_genbank(ESL_SQFILE *sqfp, ESL_SQ *sq
*# 9. Internal routines for FASTA format
*****************************************************************/
@@ -470,7 +472,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
config_fasta(ESL_SQFILE *sqfp)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -2962,7 +2962,7 @@
+@@ -2962,7 +2962,7 @@ config_fasta(ESL_SQFILE *sqfp)
ascii->parse_end = &end_fasta;
}
@@ -479,7 +481,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
inmap_fasta(ESL_SQFILE *sqfp, const ESL_DSQ *abc_inmap)
{
int x;
-@@ -3005,7 +3005,7 @@
+@@ -3005,7 +3005,7 @@ inmap_fasta(ESL_SQFILE *sqfp, const ESL_
*
* May also throw <eslEMEM> on allocation errors.
*/
@@ -488,7 +490,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
header_fasta(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
char c;
-@@ -3090,7 +3090,7 @@
+@@ -3090,7 +3090,7 @@ header_fasta(ESL_SQFILE *sqfp, ESL_SQ *s
*
* May also throw <eslEMEM> on allocation errors.
*/
@@ -497,7 +499,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
skip_fasta(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
char c;
-@@ -3129,7 +3129,7 @@
+@@ -3129,7 +3129,7 @@ skip_fasta(ESL_SQFILE *sqfp, ESL_SQ *sq)
}
@@ -506,7 +508,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
end_fasta(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -3194,7 +3194,7 @@
+@@ -3194,7 +3194,7 @@ esl_sqascii_WriteFasta(FILE *fp, ESL_SQ
* an option, since the daemon might run continuously.
*/
@@ -515,7 +517,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
config_daemon(ESL_SQFILE *sqfp)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
-@@ -3206,7 +3206,7 @@
+@@ -3206,7 +3206,7 @@ config_daemon(ESL_SQFILE *sqfp)
ascii->parse_end = &end_daemon;
}
@@ -524,7 +526,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
inmap_daemon(ESL_SQFILE *sqfp, const ESL_DSQ *abc_inmap)
{
int x;
-@@ -3236,7 +3236,7 @@
+@@ -3236,7 +3236,7 @@ inmap_daemon(ESL_SQFILE *sqfp, const ESL
* The use case is were the sequences are being read from a pipe and a
* way is needed to signal the end of the sequence so it can be processed.
*/
@@ -533,7 +535,7 @@ Assisted-By: DeepSeek V4.1 Flash Free
end_daemon(ESL_SQFILE *sqfp, ESL_SQ *sq)
{
char c;
-@@ -3375,7 +3375,7 @@
+@@ -3375,7 +3375,7 @@ esl_sqascii_Parse(char *buf, int size, E
*# 11. Internal routines for HMMPGMD format
*****************************************************************/
@@ -542,3 +544,71 @@ Assisted-By: DeepSeek V4.1 Flash Free
fileheader_hmmpgmd(ESL_SQFILE *sqfp)
{
ESL_SQASCII_DATA *ascii = &sqfp->data.ascii;
+--- a/esl_sqio_ascii.h
++++ b/esl_sqio_ascii.h
+@@ -81,4 +81,65 @@ extern int esl_sqascii_Open(char *seqfi
+ extern int esl_sqascii_WriteFasta(FILE *fp, ESL_SQ *s, int update);
+ extern int esl_sqascii_Parse(char *buf, int size, ESL_SQ *s, int format);
+
++/* Internal symbols exported for pyhmmer.
++ *
++ * These are normally private to esl_sqio_ascii.c but pyhmmer links its
++ * Cython modules against the shared library and re-exports them, so they
++ * are declared here (and the Debian patch removes their static storage
++ * class). They are not part of the stable Easel API.
++ */
++/* format specific routines */
++int sqascii_GuessFileFormat(struct esl_sqio_s *sqfp, int *ret_fmt);
++int sqascii_Position (struct esl_sqio_s *sqfp, off_t offset);
++void sqascii_Close (struct esl_sqio_s *sqfp);
++int sqascii_SetDigital (struct esl_sqio_s *sqfp, const ESL_ALPHABET *abc);
++int sqascii_GuessAlphabet (struct esl_sqio_s *sqfp, int *ret_type);
++int sqascii_Read (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int sqascii_ReadInfo (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int sqascii_ReadSequence (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int sqascii_ReadWindow (struct esl_sqio_s *sqfp, int C, int W, ESL_SQ *sq);
++int sqascii_ReadBlock (struct esl_sqio_s *sqfp, ESL_SQ_BLOCK *sqBlock, int max_residues, int max_sequences, int max_init_window, int long_target);
++int sqascii_Echo (struct esl_sqio_s *sqfp, const ESL_SQ *sq, FILE *ofp);
++int sqascii_IsRewindable (const struct esl_sqio_s *sqfp);
++const char *sqascii_GetError (const struct esl_sqio_s *sqfp);
++int sqascii_OpenSSI (struct esl_sqio_s *sqfp, const char *ssifile_hint);
++int sqascii_PositionByKey (struct esl_sqio_s *sqfp, const char *key);
++int sqascii_PositionByNumber(struct esl_sqio_s *sqfp, int which);
++int sqascii_Fetch (struct esl_sqio_s *sqfp, const char *key, ESL_SQ *sq);
++int sqascii_FetchInfo (struct esl_sqio_s *sqfp, const char *key, ESL_SQ *sq);
++int sqascii_FetchSubseq (struct esl_sqio_s *sqfp, const char *source, int64_t start, int64_t end, ESL_SQ *sq);
++/* Internal routines shared by parsers. */
++int loadmem (struct esl_sqio_s *sqfp);
++int loadbuf (struct esl_sqio_s *sqfp);
++int nextchar (struct esl_sqio_s *sqfp, char *ret_c);
++int seebuf (struct esl_sqio_s *sqfp, int64_t maxn, int64_t *opt_nres, int64_t *opt_endpos);
++void addbuf (struct esl_sqio_s *sqfp, ESL_SQ *sq, int64_t nres);
++void skipbuf (struct esl_sqio_s *sqfp, int64_t nskip);
++int read_nres(struct esl_sqio_s *sqfp, ESL_SQ *sq, int64_t nskip, int64_t nres, int64_t *opt_actual_nres);
++int skip_whitespace(struct esl_sqio_s *sqfp);
++/* EMBL format; also UniProt, TrEMBL */
++void config_embl(struct esl_sqio_s *sqfp);
++void inmap_embl (struct esl_sqio_s *sqfp, const ESL_DSQ *abc_inmap);
++int header_embl(struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int skip_embl (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int end_embl (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++/* GenBank format; also DDBJ */
++void config_genbank(struct esl_sqio_s *sqfp);
++void inmap_genbank (struct esl_sqio_s *sqfp, const ESL_DSQ *abc_inmap);
++int header_genbank(struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int skip_genbank (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int end_genbank (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++/* FASTA format */
++void config_fasta(struct esl_sqio_s *sqfp);
++void inmap_fasta (struct esl_sqio_s *sqfp, const ESL_DSQ *abc_inmap);
++int header_fasta(struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int skip_fasta (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++int end_fasta (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++/* daemon format */
++void config_daemon(struct esl_sqio_s *sqfp);
++void inmap_daemon (struct esl_sqio_s *sqfp, const ESL_DSQ *abc_inmap);
++int end_daemon (struct esl_sqio_s *sqfp, ESL_SQ *sq);
++/* HMMPGMD format */
++int fileheader_hmmpgmd(struct esl_sqio_s *sqfp);
++
+ #endif /*eslSQIO_ASCII_INCLUDED*/
View it on GitLab: https://salsa.debian.org/med-team/easel/-/compare/28a1d85a607b18bd116598947e715da12449c4d1...b2e2d89a6948a03fffbe40425c0ea400b0772047
--
View it on GitLab: https://salsa.debian.org/med-team/easel/-/compare/28a1d85a607b18bd116598947e715da12449c4d1...b2e2d89a6948a03fffbe40425c0ea400b0772047
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261116/0aee07ea/attachment-0001.htm>
More information about the debian-med-commit
mailing list