[med-svn] [Git][med-team/delly][upstream] New upstream version 1.1.6

Mohd Bilal (@rmb) gitlab at salsa.debian.org
Sat Nov 12 15:56:30 GMT 2022



Mohd  Bilal pushed to branch upstream at Debian Med / delly


Commits:
f1600274 by Mohammed Bilal at 2022-11-12T15:52:59+00:00
New upstream version 1.1.6
- - - - -


6 changed files:

- Dockerfile
- Makefile
- parallel/Dockerfile
- singularity/delly.def
- src/filter.h
- src/version.h


Changes:

=====================================
Dockerfile
=====================================
@@ -1,5 +1,5 @@
 # use the ubuntu base image
-FROM ubuntu:18.04
+FROM ubuntu:22.04
 
 MAINTAINER Tobias Rausch rausch at embl.de
 
@@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y \
     libboost-filesystem-dev \
     libboost-iostreams-dev \
     libbz2-dev \
+    libdeflate-dev \
     libhdf5-dev \
     libncurses-dev \
     liblzma-dev \


=====================================
Makefile
=====================================
@@ -25,7 +25,7 @@ endif
 
 # Flags for static compile
 ifeq (${STATIC}, 1)
-	LDFLAGS += -static -static-libgcc -pthread -lhts -lz -llzma -lbz2
+	LDFLAGS += -static -static-libgcc -pthread -lhts -lz -llzma -lbz2 -ldeflate
 else
 	LDFLAGS += -lhts -lz -llzma -lbz2 -Wl,-rpath,${EBROOTHTSLIB}
 endif


=====================================
parallel/Dockerfile
=====================================
@@ -1,5 +1,5 @@
 # use the ubuntu base image
-FROM ubuntu:18.04
+FROM ubuntu:22.04
 
 MAINTAINER Tobias Rausch rausch at embl.de
 
@@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y \
     libboost-filesystem-dev \
     libboost-iostreams-dev \
     libbz2-dev \
+    libdeflate-dev \
     libhdf5-dev \
     libncurses-dev \
     liblzma-dev \


=====================================
singularity/delly.def
=====================================
@@ -1,11 +1,11 @@
 # Build image
 BootStrap: library
-From: ubuntu:16.04
+From: ubuntu:22.04
 Stage: build
 
 %post
 	apt-get -y update
-	apt-get install -y autoconf build-essential cmake g++ gfortran git libcurl4-gnutls-dev hdf5-tools libboost-date-time-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-iostreams-dev libbz2-dev libhdf5-dev libncurses-dev liblzma-dev zlib1g-dev
+	apt-get install -y autoconf build-essential cmake g++ gfortran git libcurl4-gnutls-dev hdf5-tools libboost-date-time-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libboost-iostreams-dev libbz2-dev libhdf5-dev libncurses-dev liblzma-dev zlib1g-dev libdeflate-dev
 	apt-get clean
 	rm -rf /var/lib/apt/lists/*
 	cd /opt


=====================================
src/filter.h
=====================================
@@ -48,6 +48,7 @@ struct FilterConfig {
   int32_t minsize;
   int32_t maxsize;
   int32_t coverage;
+  int32_t qualthres;
   float ratiogeno;
   float altaf;
   float controlcont;
@@ -134,7 +135,7 @@ filterRun(TFilterConfig const& c) {
     if (svend != NULL) svlen = *svend - rec->pos;
     int32_t inslenVal = 0;
     if (bcf_get_info_int32(hdr, rec, "INSLEN", &inslen, &ninslen) > 0) inslenVal = *inslen;
-    if ((pass) && ((std::string(svt) == "BND") || ((std::string(svt) == "INS") && (inslenVal >= c.minsize) && (inslenVal <= c.maxsize)) || ((std::string(svt) != "BND") && (std::string(svt) != "INS") && (svlen >= c.minsize) && (svlen <= c.maxsize)))) {
+    if ((rec->qual >= c.qualthres) && (pass) && ((std::string(svt) == "BND") || ((std::string(svt) == "INS") && (inslenVal >= c.minsize) && (inslenVal <= c.maxsize)) || ((std::string(svt) != "BND") && (std::string(svt) != "INS") && (svlen >= c.minsize) && (svlen <= c.maxsize)))) {
       // Check genotypes
       bcf_unpack(rec, BCF_UN_ALL);
       bool precise = false;
@@ -299,7 +300,8 @@ int filter(int argc, char **argv) {
     ("help,?", "show help message")
     ("filter,f", boost::program_options::value<std::string>(&c.filter)->default_value("somatic"), "Filter mode (somatic, germline)")
     ("outfile,o", boost::program_options::value<boost::filesystem::path>(&c.outfile), "Filtered SV BCF output file")
-    ("altaf,a", boost::program_options::value<float>(&c.altaf)->default_value(0.2), "min. fractional ALT support")
+    ("quality,y", boost::program_options::value<int32_t>(&c.qualthres)->default_value(300), "min. SV site quality")
+    ("altaf,a", boost::program_options::value<float>(&c.altaf)->default_value(0.03), "min. fractional ALT support")
     ("minsize,m", boost::program_options::value<int32_t>(&c.minsize)->default_value(0), "min. SV size")
     ("maxsize,n", boost::program_options::value<int32_t>(&c.maxsize)->default_value(500000000), "max. SV size")
     ("ratiogeno,r", boost::program_options::value<float>(&c.ratiogeno)->default_value(0.75), "min. fraction of genotyped samples")


=====================================
src/version.h
=====================================
@@ -5,7 +5,7 @@ namespace torali
 {
 
 
-  std::string dellyVersionNumber = "1.1.5";
+  std::string dellyVersionNumber = "1.1.6";
 
   inline 
     void printTitle(std::string const& title) 



View it on GitLab: https://salsa.debian.org/med-team/delly/-/commit/f160027413188d38e8460790f4347e16de33fcfd

-- 
View it on GitLab: https://salsa.debian.org/med-team/delly/-/commit/f160027413188d38e8460790f4347e16de33fcfd
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221112/601100ba/attachment-0001.htm>


More information about the debian-med-commit mailing list