diff --git a/ProcessFASTQ.ipynb b/ProcessFASTQ.ipynb index 3cd3a1ba5e7d01f8e82346403d62b1e59201e45f..c28f9999b1aeb8416bb3ae6b71a6a474bdbb43bf 100644 --- a/ProcessFASTQ.ipynb +++ b/ProcessFASTQ.ipynb @@ -95,7 +95,7 @@ }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 84, "metadata": { "collapsed": false }, @@ -107,21 +107,20 @@ "\n", "Available files :\n", "\n", - "{'', 'flowcell384_lane7_pair1_ACAGTG', 'flowcell261_lane8_pair1_TGACCA', 'testing-P', 'flowcell362_lane4_pair1_CAGATC', 'flowcell362_lane4_pair1_TGACCA', 'flowcell362_lane4_pair1_ACAGTG', 'flowcell261_lane8_pair1_CAGATC', 'testing-M', 'flowcell362_lane4_pair1_ACTTGA'}\n", - "Undetermined_lane7_pair1 \t\t Processsed\n", + "Undetermined_lane7_pair1\n", "flowcell261_lane8_pair1_CAGATC \t\t Processsed\n", "flowcell261_lane8_pair1_TGACCA \t\t Processsed\n", "flowcell362_lane4_pair1_ACAGTG \t\t Processsed\n", "flowcell362_lane4_pair1_ACTTGA \t\t Processsed\n", "flowcell362_lane4_pair1_CAGATC \t\t Processsed\n", "flowcell362_lane4_pair1_TGACCA \t\t Processsed\n", - "flowcell362_lane4_pair1_Undetermined \t\t Processsed\n", + "flowcell362_lane4_pair1_Undetermined\n", "flowcell384_lane7_pair1_ACAGTG \t\t Processsed\n", - "flowcell384_lane7_pair1_ACTTGA \t\t Processsed\n", - "flowcell384_lane7_pair1_CAGATC \t\t Processsed\n", - "flowcell384_lane7_pair1_GATCAG \t\t Processsed\n", - "flowcell384_lane7_pair1_TGACCA \t\t Processsed\n", - "testing \t\t Processsed\n" + "flowcell384_lane7_pair1_ACTTGA\n", + "flowcell384_lane7_pair1_CAGATC\n", + "flowcell384_lane7_pair1_GATCAG\n", + "flowcell384_lane7_pair1_TGACCA\n", + "testing\n" ] } ], @@ -159,14 +158,10 @@ "print(\"\\nAvailable files :\\n\")\n", "\n", "fn = {n.split('.')[0] for n in listdir(\"0-Raws/\")}\n", - "wn = {n.split('.')[0] for n in listdir(\"7-WIGs/\")}\n", - "\n", - "print(wn)\n", - "\n", - "\n", + "wn = {n for n in listdir(\"7-WIGs/\")}\n", "\n", "lst = (n+\" \\t\\t Processsed\" \\\n", - " if n+\".P.wig\" or n+\".M.wig\" in wn \\\n", + " if (n+\".P.wig\" and n+\".M.wig\") in wn \\\n", " else n \\\n", " for n in sorted(fn))\n", "\n",