[med-svn] [Git][med-team/stacks][upstream] New upstream version 2.54+dfsg

Steffen Möller gitlab at salsa.debian.org
Tue Sep 15 02:25:19 BST 2020



Steffen Möller pushed to branch upstream at Debian Med / stacks


Commits:
1cf01362 by Steffen Moeller at 2020-09-15T03:15:53+02:00
New upstream version 2.54+dfsg
- - - - -


4 changed files:

- ChangeLog
- configure.ac
- scripts/stacks-integrate-alignments
- src/renz.cc


Changes:

=====================================
ChangeLog
=====================================
@@ -1,3 +1,8 @@
+Stacks 2.54 - September 03, 2020
+--------------------------------
+    Feature: Added BtgI, PacI, and PspXI, HpyCH4IV restriction enzymes to process_radtags.
+    Bugfix: stacks-integrate-alignments, tab characters fed to the grep were not being interpreted properly
+
 Stacks 2.53 - March 28, 2020
 ----------------------------
     Bugfix: denovo_map.pl was broken for running cstacks on non-genetic map datasets.


=====================================
configure.ac
=====================================
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([Stacks], [2.53])
+AC_INIT([Stacks], [2.54])
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign parallel-tests subdir-objects])
 AC_CONFIG_SRCDIR([src/ustacks.cc])


=====================================
scripts/stacks-integrate-alignments
=====================================
@@ -116,7 +116,7 @@ samtools view -F 0x904 "$bam_f" |
     join -t $'\t' -12 -22 -o "1.1 1.2 2.1 1.3 1.4" \
         - \
         <(samtools view -H "$bam_f" |
-            grep '^@SQ' | grep -oE 'SN:[^\t]+' | cut -c4- |
+            grep '^@SQ' | grep -oE $'SN:[^\t]+' | cut -c4- |
             awk '{printf NR"\t"$1"\n"}' |
             sort -k2,2
         ) |


=====================================
src/renz.cc
=====================================
@@ -36,6 +36,8 @@ const char *bspDI[]   = {"CGAT",              // AT/CGAT, BspDI
                          "ATCG"};
 const char *bstYI[]   = {"GATCC", "GATCT",    // R/GATCY, BstYI (also known as PsuI)
                          "GGATC", "AGATC"};
+const char *btgI[]    = {"CACGG", "CGCGG", "CATGG", "CGTGG", // C/CRYGG, BtgI
+                         "CCGTG", "CCGCG", "CCATG", "CCACG"};
 const char *cac8I[]    = {"AGC", "CGC", "GGC", "TGC", // GCN/NGC, Cac8I
                           "GCT", "GCG", "GCC", "GCA"};
 const char *claI[]    = {"CGAT",              // AT/CGAT, ClaI
@@ -62,6 +64,8 @@ const char *hindIII[] = {"AGCTT",             // A/AGCTT, HindIII
                          "TCGAA"};
 const char *hpaII[]   = {"CGG",               // C/CGG, HpaII
                          "CCG"};
+const char *hpyCH4IV[] = {"CGT",               // A/CGT, HpyCH4IV
+                          "ACG"};
 const char *kpnI[]    = {"GTACC",             // C/CATGG, KpnI
                          "GGTAC"};
 const char *mluCI[]   = {"AATT",              // AATT, MluCI
@@ -98,6 +102,10 @@ const char *nsiI[]    = {"TGCAT",             // ATGCA/T, NsiI
                          "ATGCA"};
 const char *nspI[]    = {"CATGA", "CATGG",    // R/CATGY, NspI
                          "GCATG", "ACATG"};
+const char *pacI[]    = {"ATTAA",             // AAT/TAATT, PacI
+                         "TTAAT"};
+const char *pspXI[]   = {"TCGAGC", "TCGAGG", "TCGAGT", // VC/TCGAGB, PspXI
+                         "GCTCGA", "CCTCGA", "ACTCGA"};
 const char *pstI[]    = {"TGCAG",             // CTGCA/G, PstI
                          "CTGCA"};
 const char *rsaI[]    = {"AC",                // GT/AC, RsaI
@@ -178,6 +186,10 @@ initialize_renz(map<string, const char **> &renz, map<string, int> &renz_cnt, ma
     renz["apaLI"]   = apaLI;   // G/TGCAC, ApaLI
     renz["hinP1I"]  = hinP1I;  // G/CGC, HinP1I
     renz["bbvCI"]   = bbvCI;
+    renz["btgI"]    = btgI;    // C/CRYGG, BtgI
+    renz["pacI"]    = pacI;    // AAT/TAATT, PacI
+    renz["pspXI"]   = pspXI;   // VC/TCGAGB, PspXI
+    renz["hpyCH4IV"] = hpyCH4IV; // A/CGT, HpyCH4IV
 
     renz_cnt["sbfI"]    = 1;
     renz_cnt["pstI"]    = 1;
@@ -231,7 +243,11 @@ initialize_renz(map<string, const char **> &renz, map<string, int> &renz_cnt, ma
     renz_cnt["apaLI"]   = 1;
     renz_cnt["hinP1I"]  = 1;
     renz_cnt["bbvCI"]   = 1;
-
+    renz_cnt["btgI"]    = 4;
+    renz_cnt["pacI"]    = 1;
+    renz_cnt["pspXI"]   = 3;
+    renz_cnt["hpyCH4IV"] = 1;
+    
     renz_len["sbfI"]    = 6;
     renz_len["pstI"]    = 5;
     renz_len["notI"]    = 6;
@@ -284,6 +300,10 @@ initialize_renz(map<string, const char **> &renz, map<string, int> &renz_cnt, ma
     renz_len["apaLI"]   = 5;
     renz_len["hinP1I"]  = 3;
     renz_len["bbvCI"]   = 5;
+    renz_len["btgI"]    = 5;
+    renz_len["pacI"]    = 5;
+    renz_len["pspXI"]   = 6;
+    renz_len["hpyCH4IV"] = 3;
 }
 
 void



View it on GitLab: https://salsa.debian.org/med-team/stacks/-/commit/1cf0136236c1e05d11b41a19d4df06485c930c2e

-- 
View it on GitLab: https://salsa.debian.org/med-team/stacks/-/commit/1cf0136236c1e05d11b41a19d4df06485c930c2e
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/20200915/b908f772/attachment-0001.html>


More information about the debian-med-commit mailing list