Attempt to come up with regexp to detect hiseq formatted files.
authorDiane Trout <diane@caltech.edu>
Tue, 28 Aug 2012 22:48:50 +0000 (15:48 -0700)
committerDiane Trout <diane@caltech.edu>
Tue, 28 Aug 2012 22:48:50 +0000 (15:48 -0700)
htsworkflow/frontend/experiments/fixtures/initial_data.json

index dcdf191a36c9308d2562bc4efd40d57d754b3cdd..3371978a50174ef480d12cb3c5eab759aae8a4b9 100644 (file)
       "regex": ".*_l(?P<lane>[1-8])_r(?P<end>[1-4])\\.tar\\.bz2\\Z(?ms)"
     }
   },
+  { "model": "experiments.FileType",
+    "pk": 15,
+    "fields": {
+      "name": "HiSeq Fastq",
+      "regex": "(?P<library>[0-9]+)_(NoIndex|[AGCT]+)_L(?P<lane>[0-9]+)_R(?<end>[12])_(?<split>[0-9]+)\\.fastq\\.gz"
+    }
+  },
   { "model": "experiments.Sequencer",
     "pk": 1,
     "fields": {