Skip to content
Commits on Source (4)
ragout (2.2-1) unstable; urgency=medium
ragout (2.2+ds-1) unstable; urgency=medium
* Team upload
[Andreas Tille]
* New upstream version
......@@ -10,12 +12,15 @@ ragout (2.2-1) unstable; urgency=medium
* Not having Python install binaries in setup.py, chaning
d/ragout.install accordingly
* bin/ragout was still about to invoke python2
* maketrans is now a static function of str
* not allowing bin/ragout to change $PATH
* demoted sibelia to recommends runtime dependency as there are
modules that don't use it.
TODO: Find out what happened to
https://salsa.debian.org/med-team/sibelia
which is not in new or main.
* use "ds" not "dfsg" as version suffix since files were removed
but no functional changes have been performed.
-- Steffen Moeller <moeller@debian.org> Sat, 04 Jan 2020 19:07:58 +0100
......
[import-orig]
pristine-tar = True
......@@ -422,10 +422,10 @@ Index: ragout/ragout/main.py
-#import synteny_backend.cactus
-import synteny_backend.maf
-import synteny_backend.hal
+from synteny_backend import sibelia
+from ragout.synteny_backend import sibelia
+#from synteny_backend import cactus
+from synteny_backend import maf
+from synteny_backend import hal
+from ragout.synteny_backend import maf
+from ragout.synteny_backend import hal
logger = logging.getLogger()
debugger = DebugConfig.get_instance()
......@@ -1269,3 +1269,27 @@ Index: ragout/bin/ragout
#Ragout entry point
from ragout.main import main
sys.exit(main())
Index: ragout/ragout/parsers/fasta_parser.py
===================================================================
--- ragout.orig/ragout/parsers/fasta_parser.py
+++ ragout/ragout/parsers/fasta_parser.py
@@ -8,8 +8,6 @@ This module provides some basic FASTA I/
import logging
-from string import maketrans
-
logger = logging.getLogger()
class FastaError(Exception):
@@ -61,8 +59,8 @@ def write_fasta_dict(fasta_dict, filenam
f.write(fasta_dict[header][i:i + 60] + "\n")
-COMPL = maketrans("ATGCURYKMSWBVDHNXatgcurykmswbvdhnx",
- "TACGAYRMKSWVBHDNXtacgayrmkswvbhdnx")
+COMPL = str.maketrans("ATGCURYKMSWBVDHNXatgcurykmswbvdhnx",
+ "TACGAYRMKSWVBHDNXtacgayrmkswvbhdnx")
def reverse_complement(string):
return string[::-1].translate(COMPL)
......@@ -15,7 +15,7 @@ override_dh_install:
find debian -name LICENSE -delete
override_dh_auto_clean:
dh_auto_clean
dh_auto_clean || true
rm -f bin/ragout-maf2synteny bin/ragout-overlap
rm -rf .pybuild
find . -name "*.o" -delete
version=4
opts="repacksuffix=+dfsg,dversionmangle=auto,repack,compression=xz" \
opts="repacksuffix=+ds,dversionmangle=auto,repack,compression=xz" \
https://github.com/fenderglass/Ragout/releases/latest .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@