From 4473d491d624b8adfa9ed4faa5c5fbe91ad6cdf6 Mon Sep 17 00:00:00 2001
From: Julien Cornut <julien.cornut@hesge.ch>
Date: Fri, 26 Feb 2016 12:18:01 +0100
Subject: [PATCH] Automatic Update

---
 ProcessFASTQ.ipynb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ProcessFASTQ.ipynb b/ProcessFASTQ.ipynb
index f9ac944..75b174b 100644
--- a/ProcessFASTQ.ipynb
+++ b/ProcessFASTQ.ipynb
@@ -683,7 +683,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 254,
+   "execution_count": 255,
    "metadata": {
     "collapsed": false
    },
@@ -2722,12 +2722,14 @@
     "    #sub_iter = (rec for rec in filt_iter \\\n",
     "    #            if matches.readline().split('\\t')[1] == '4')\n",
     "    \n",
+    "    seqiter = []\n",
+    "    \n",
     "    for record in filt_iter:\n",
     "        arr = matches.readline().split('\\t')\n",
     "        seq_id = arr[0]\n",
     "        flag = arr[1]\n",
     "        if(flag=='4'):\n",
-    "            \n",
+    "            seqiter.append(record)\n",
     "            \n",
     "        print(\"{0}\\n{1}:\\t{2}\".format(seq_id,record.id,flag,))\n",
     "        \n",
-- 
GitLab