[med-svn] [sprai] 01/04: New upstream version 0.9.9.23+dfsg

Afif Elghraoui afif at moszumanska.debian.org
Sun Feb 4 10:12:51 UTC 2018


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to annotated tag debian/0.9.9.23+dfsg-1
in repository sprai.

commit 0d163af0aed80a5d4a866dab98e1d2a873a99dbd
Author: Afif Elghraoui <afif at debian.org>
Date:   Sun Feb 4 05:05:04 2018 -0500

    New upstream version 0.9.9.23+dfsg
---
 doc/_build/html/_sources/Download.txt |  4 +++-
 dumbbell_filter.pl                    | 11 +++++++++++
 ec.spec                               |  2 +-
 makefile                              |  2 +-
 wscript                               |  2 +-
 5 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/doc/_build/html/_sources/Download.txt b/doc/_build/html/_sources/Download.txt
index c65687c..4befd04 100644
--- a/doc/_build/html/_sources/Download.txt
+++ b/doc/_build/html/_sources/Download.txt
@@ -1,11 +1,13 @@
 ===========================
 Download The Latest Version
 ===========================
-http://zombie.cb.k.u-tokyo.ac.jp/sprai/dist/sprai-0.9.9.21.tar.gz
+http://zombie.cb.k.u-tokyo.ac.jp/sprai/dist/sprai-0.9.9.22.tar.gz
 
 ==============
 Older releases
 ==============
+http://zombie.cb.k.u-tokyo.ac.jp/sprai/dist/sprai-0.9.9.21.tar.gz
+
 http://zombie.cb.k.u-tokyo.ac.jp/sprai/dist/sprai-0.9.9.20.tar.gz
 
 http://zombie.cb.k.u-tokyo.ac.jp/sprai/dist/sprai-0.9.9.19.tar.gz
diff --git a/dumbbell_filter.pl b/dumbbell_filter.pl
index 6187f93..f943e3b 100755
--- a/dumbbell_filter.pl
+++ b/dumbbell_filter.pl
@@ -149,6 +149,16 @@ sub flush($$$$){
 
   my $longest = length($reads[0]);
   my $i_adequate=0;
+  # use longest subread
+  if(@reads > 1){
+    for(my $i=1; $i<@reads; ++$i){
+      if(length($reads[$i]) > $longest){
+        $longest = length($reads[$i]);
+        $i_adequate = $i;
+      }
+    }
+  }
+=pod
   # discard last one (because it may have low quality)
   # if # of subreads > 2, then use 1st or 2nd read.
   # else use 1st read
@@ -158,6 +168,7 @@ sub flush($$$$){
       $i_adequate = 1; 
     }
   }
+=cut
   printf("\@%s\n",$names[$i_adequate]);
   printf("%s\n",$reads[$i_adequate]);
   printf("%s\n",$opts[$i_adequate]);
diff --git a/ec.spec b/ec.spec
index 1c16fd3..452bd6b 100644
--- a/ec.spec
+++ b/ec.spec
@@ -53,7 +53,7 @@ max_target_seqs 100
 trim 42
 
 # if not 0, use only one subread per one molecule
-use_one_subread 0
+use_one_subread 1
 
 # direct_vote & copy_blastdb are used by ezez4makefile_v4.pl
 direct_vote 0
diff --git a/makefile b/makefile
index 78ff75f..ccc8a99 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
 APPNAME = 'sprai'
-VERSION = '0.9.9.22'
+VERSION = '0.9.9.23'
 
 PREFIX=$(PWD)
 COMPILED= \
diff --git a/wscript b/wscript
index e0b432d..f0292c8 100644
--- a/wscript
+++ b/wscript
@@ -1,5 +1,5 @@
 APPNAME = 'sprai'
-VERSION = '0.9.9.22'
+VERSION = '0.9.9.23'
 
 srcdir = '.'
 blddir = 'build'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sprai.git



More information about the debian-med-commit mailing list