[med-svn] [Git][med-team/pftools][upstream] New upstream version 3.2.14
Andreas Tille (@tille)
gitlab at salsa.debian.org
Thu Nov 12 07:41:54 GMT 2026
Andreas Tille pushed to branch upstream at Debian Med / pftools
Commits:
c951bdf6 by Andreas Tille at 2026-11-11T21:15:05+01:00
New upstream version 3.2.14
- - - - -
5 changed files:
- README.md
- data/Matrices/pam30.cmp
- data/Matrices/pam80.cmp
- src/C/utils/output.c
- src/Fortran/wrprf.f
Changes:
=====================================
README.md
=====================================
@@ -1,3 +1,4 @@
+[](https://doi.org/10.5281/zenodo.17360684)
[](http://bioconda.github.io/recipes/pftools/README.html)
[](#easybuild)
[](#using-docker)
=====================================
data/Matrices/pam30.cmp
=====================================
@@ -10,30 +10,30 @@
#
# mean= -4.9502 , stdev= 10.8581
#
- A B C D E F G H I K L M N P Q R S T V W Y Z ..
- 6.0 -3.0 -6.0 -3.0 -2.0 -8.0 -2.0 -7.0 -5.0 -7.0 -6.0 -5.0 -4.0 -2.0 -4.0 -7.0 0.0 -1.0 -2.0-13.0 -8.0 -3.0 A
- 6.0-12.0 6.0 1.0 -10.0 -3.0 -1.0 -6.0 -2.0 -9.0-10.0 6.0 -7.0 -3.0 -7.0 -1.0 -3.0 -8.0-10.0 -6.0 0.0 B
- 10.0-14.0-14.0 -13.0 -9.0 -7.0 -6.0-14.0 -15.0-13.0-11.0 -8.0-14.0 -8.0 -3.0 -8.0 -6.0-15.0 -4.0-14.0 C
- 8.0 2.0 -15.0 -3.0 -4.0 -7.0 -4.0 -12.0-11.0 2.0 -8.0 -2.0 -10.0 -4.0 -5.0 -8.0-15.0 -11.0 1.0 D
- 8.0 -14.0 -4.0 -5.0 -5.0 -4.0 -9.0 -7.0 -2.0 -5.0 1.0 -9.0 -4.0 -6.0 -6.0-17.0 -8.0 6.0 E
-
- 9.0 -9.0 -6.0 -2.0-14.0 -3.0 -4.0 -9.0-10.0-13.0 -9.0 -6.0 -9.0 -8.0 -4.0 2.0-13.0 F
- 6.0 -9.0-11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14.0 W
+
+ 10.0 -9.0 Y
+ 6.0 Z
=====================================
data/Matrices/pam80.cmp
=====================================
@@ -10,30 +10,30 @@
#
# mean= -2.4689 , stdev= 5.7799
#
- A B C D E F G H I K L M N P Q R S T V W Y Z ..
- 4.0 -1.0 -4.0 -1.0 -1.0 -5.0 0.0 -4.0 -2.0 -4.0 -4.0 -3.0 -1.0 0.0 -2.0 -4.0 1.0 1.0 0.0 -8.0 -5.0 -1.0 A
- 5.0 -7.0 5.0 2.0 -7.0 -1.0 0.0 -4.0 -1.0 -6.0 -5.0 4.0 -3.0 0.0 -3.0 0.0 -1.0 -4.0 -7.0 -4.0 2.0 B
- 9.0 -9.0 -9.0 -8.0 -6.0 -5.0 -4.0 -9.0 -9.0 -8.0 -6.0 -5.0 -9.0 -5.0 -1.0 -4.0 -3.0-10.0 -2.0 -9.0 C
- 6.0 4.0 -9.0 -1.0 -1.0 -4.0 -2.0 -7.0 -6.0 3.0 -4.0 0.0 -5.0 -1.0 -2.0 -5.0-10.0 -7.0 2.0 D
- 6.0 -9.0 -2.0 -2.0 -3.0 -2.0 -6.0 -4.0 0.0 -3.0 2.0 -4.0 -2.0 -3.0 -4.0-11.0 -6.0 5.0 E
+ A B C D E F G H I K L M N P Q R S T V W Y Z ..
+ 4.0 -1.0 -4.0 -1.0 -1.0 -5.0 0.0 -4.0 -2.0 -4.0 -4.0 -3.0 -1.0 0.0 -2.0 -4.0 1.0 1.0 0.0 -8.0 -5.0 -1.0 A
+ 5.0 -7.0 5.0 2.0 -7.0 -1.0 0.0 -4.0 -1.0 -6.0 -5.0 4.0 -3.0 0.0 -3.0 0.0 -1.0 -4.0 -7.0 -4.0 2.0 B
+ 9.0 -9.0 -9.0 -8.0 -6.0 -5.0 -4.0 -9.0 -9.0 -8.0 -6.0 -5.0 -9.0 -5.0 -1.0 -4.0 -3.0 -10.0 -2.0 -9.0 C
+ 6.0 4.0 -9.0 -1.0 -1.0 -4.0 -2.0 -7.0 -6.0 3.0 -4.0 0.0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.0 0.0 -4.0 -5.0 -3.0 0.0 N
- 7.0 -1.0 -2.0 0.0 -2.0 -3.0 -9.0 -8.0 -2.0 P
- 7.0 0.0 -3.0 -3.0 -4.0 -8.0 -7.0 5.0 Q
+ 6.0 2.0 -5.0 -4.0 -3.0 -5.0 -5.0 -4.0 0.0 -3.0 -4.0 -4.0 L
+ 9.0 -4.0 -5.0 -2.0 -2.0 -3.0 -2.0 1.0 -7.0 -6.0 -3.0 M
+ 5.0 -3.0 -1.0 -2.0 1.0 0.0 -4.0 -5.0 -3.0 0.0 N
+ 7.0 -1.0 -2.0 0.0 -2.0 -3.0 -9.0 -8.0 -2.0 P
+ 7.0 0.0 -3.0 -3.0 -4.0 -8.0 -7.0 5.0 Q
- 7.0 -1.0 -3.0 -5.0 0.0 -7.0 -1.0 R
- 4.0 2.0 -3.0 -3.0 -4.0 -2.0 S
- 5.0 -1.0 -8.0 -4.0 -3.0 T
- 6.0-10.0 -5.0 -4.0 V
- 13.0 -2.0 -9.0 W
+ 7.0 -1.0 -3.0 -5.0 0.0 -7.0 -1.0 R
+ 4.0 2.0 -3.0 -3.0 -4.0 -2.0 S
+ 5.0 -1.0 -8.0 -4.0 -3.0 T
+ 6.0 -10.0 -5.0 -4.0 V
+ 13.0 -2.0 -9.0 W
- 9.0 -6.0 Y
- 5.0 Z
+ 9.0 -6.0 Y
+ 5.0 Z
=====================================
src/C/utils/output.c
=====================================
@@ -64,7 +64,7 @@ void PrintTSV(const struct Profile * const prf, const char * * const AlignedSequ
while ( *cptr != ';' && *cptr != '\0') ++cptr;
*cptr = '\0';
- char * ac = calloc(strlen(prf->AC_Number),sizeof(char));
+ char * ac = calloc(1+strlen(prf->AC_Number),sizeof(char));
strcpy(ac,prf->AC_Number);
cptr = ac;
while ( *cptr != ';' && *cptr != '\0' ) ++cptr;
=====================================
src/Fortran/wrprf.f
=====================================
@@ -255,23 +255,40 @@ C Write(CPAR,'(''LENGTH='',I6,'';'')') LPRF
JB=JB+JP+1
* - paramaters
-
+
+ ! KNOP = number of RNOP values we need to process for this I1
KNOP=JNOP(MNOR(I1))
- JP=0
+ ! JP = offset into CPAR (index where the next append begins)
+ JP=0
+ ! loop over parameter index I2 = 1..KNOP
Do 22 I2=1,KNOP
- If(ABS(RNOP(I2,I1)).LE.10.0
+ ! Choose how to format RNOP(I2,I1) into CHRP(I2)
+ ! Note: in Fortran .AND. has higher precedence than .OR.
+ ! if (|value| <= 100 and |value| > 1e-4) or
+ ! value == 0.0 (exact)
+ ! => write fixed-point: width 12, 7 decimals
+ ! else
+ ! => write explicit format and 14 ≤ 16 → safe
+ If(ABS(RNOP(I2,I1)).LE.100.0
* .AND.ABS(RNOP(I2,I1)).GT.0.0001
* .OR.RNOP(I2,I1).EQ.0.0) then
- Write(CHRP(I2),'(F10.7)') RNOP(I2,I1)
- Else
- Write(CHRP(I2),*) RNOP(I2,I1)
+ Write(CHRP(I2),'(F12.7)') RNOP(I2,I1)
+ Else
+ ! was: Write(CHRP(I2),*) RNOP(I2,I1)
+ Write(CHRP(I2),'(1PE14.6)') RNOP(I2,I1)
End if
+ ! Append "R<I2>=<formatted>; " into CPAR, starting at JP+1 (next free spot)
Write(CPAR(JP+1:),*)'R',I2,'=',CHRP(I2),'; '
+ ! Recompute JP as position after the last non-blank in CPAR
JP=Lblnk(CPAR)+1
22 Continue
+ ! Post-process CPAR with function slpar, given its length JP
Call slpar(CPAR,JP)
+ ! Ensure there is space in CBLK (buffer overflow check) before copying CPAR into it
If(JB+JP+1.GT.LBUF) Go to 900
+ ! Copy CPAR(1:JP) into CBLK, starting at CBLK(JB+2)
CBLK(JB+2:JB+JP+1)=CPAR(1:JP)
+ ! Advance buffer pointer JB by the number of characters just appended (JP)
JB=JB+JP
* - text
View it on GitLab: https://salsa.debian.org/med-team/pftools/-/commit/c951bdf6fe6350cb6537cfc5db6339ea048812bf
--
View it on GitLab: https://salsa.debian.org/med-team/pftools/-/commit/c951bdf6fe6350cb6537cfc5db6339ea048812bf
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/20261112/61efae84/attachment-0001.htm>
More information about the debian-med-commit
mailing list