Start supporting multiple libraries per lane, as needed for the HiSeq
[htsworkflow.git] / htsworkflow / frontend / experiments / fixtures / test_flowcells.json
index 41c59f5ccf4f4f5c8ee23d6e6c3ea4b669083246..1afd74e1f9299e836c81d175f29a3e679c173662 100644 (file)
@@ -1,44 +1,4 @@
 [
-    {"pk": 1, "model": "samples.affiliation",
-     "fields": {
-         "users": [],
-         "contact": "group 1",
-         "name": "affiliation 1",
-         "email": "pk1@example.com"
-         }
-     },
-    {"pk": 2, "model": "samples.affiliation",
-     "fields": {
-         "users": [],
-         "contact": "group 2",
-         "name": "affiliation 2",
-         "email": "pk2@example.com"
-         }
-     },
-    {"pk": 3, "model": "samples.affiliation",
-     "fields": {
-         "users": [],
-         "contact": "group 3",
-         "name": "affiliation 3",
-         "email": "pk3@example.com"
-         }
-     },
-    {"pk": 4, "model": "samples.affiliation",
-     "fields": {
-         "users": [],
-         "contact": "group 4",
-         "name": "affiliation 4",
-         "email": "pk1@example.com"
-         }
-     },
-    {"pk": 5, "model": "samples.affiliation",
-     "fields": {
-         "users": [],
-         "contact": "group 5",
-         "name": "affiliation 5",
-         "email": "pk5@example.com"
-         }
-     },
     {"pk": 5, "model": "auth.user", 
    "fields": {
        "username": "test",
        "date_joined": "2009-01-01 00:01:01"
        }
    },
-  {"pk": 6, "model": "auth.user", 
+   {"pk": 5, "model": "samples.htsuser",
+    "fields" : {}
+   },
+   {"pk": 6, "model": "auth.user", 
    "fields": {
        "username": "admintest",
        "first_name": "",
        "date_joined": "2009-01-01 00:01:01"
        }
    },
-  {"pk": 7, "model": "auth.user", 
+   {"pk": 6, "model": "samples.htsuser",
+    "fields" : {}
+   },
+   {"pk": 7, "model": "auth.user", 
    "fields": {
        "username": "supertest",
        "first_name": "",
        "date_joined": "2009-01-01 00:01:01"
        }
    },
+   {"pk": 7, "model": "samples.htsuser",
+    "fields" : {}
+   },
+   {"pk": 1, "model": "samples.affiliation",
+     "fields": {
+         "users": [5],
+         "contact": "group 1",
+         "name": "affiliation 1",
+         "email": "pk1@example.com"
+         }
+     },
+    {"pk": 2, "model": "samples.affiliation",
+     "fields": {
+         "users": [6],
+         "contact": "group 2",
+         "name": "affiliation 2",
+         "email": "pk2@example.com"
+         }
+     },
+    {"pk": 3, "model": "samples.affiliation",
+     "fields": {
+         "users": [],
+         "contact": "group 3",
+         "name": "affiliation 3",
+         "email": "pk3@example.com"
+         }
+     },
+    {"pk": 4, "model": "samples.affiliation",
+     "fields": {
+         "users": [],
+         "contact": "group 4",
+         "name": "affiliation 4",
+         "email": "pk1@example.com"
+         }
+     },
+    {"pk": 5, "model": "samples.affiliation",
+     "fields": {
+         "users": [],
+         "contact": "group 5",
+         "name": "affiliation 5",
+         "email": "pk5@example.com"
+         }
+     },
  {"pk": 1, "model": "experiments.clusterstation", "fields": {"name": "old"}}, 
  {"pk": 2, "model": "experiments.clusterstation", "fields": {"name": "loaner"}}, 
  {"pk": 3, "model": "experiments.clusterstation", "fields": {"name": "new"}}, 
  {"pk": 153, "model": "experiments.flowcell", 
   "fields": {
       "paired_end": true, 
-      "run_date": "2009-09-11 22:12:13", 
-      "read_length": 75
+      "run_date": "2007-09-27 22:12:13", 
+      "read_length": 36
       "notes": "",
       "advanced_run": false,
       "control_lane": 2,
       "cluster_station": 3,
       "sequencer": 2,
-      "flowcell_id": "303TUAAXX"
+      "flowcell_id": "FC12150"
       }
   }, 
   {"pk": 1193, "model": "experiments.lane",
        "pM": "8"
        }
    }, 
+   {"pk": 1192, "model": "experiments.lane",
+    "fields": {
+        "comment": "Other library",
+        "library": "11070",
+        "cluster_estimate": 132000,
+        "flowcell": 153,
+        "lane_number": 1,
+        "pM": "7"
+        }
+    }, 
+
   {"pk": "10981", "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 400, 
+            "gel_cut_size": 400, 
             "library_name": "Paired End Multiplexed Sp-BAC", 
             "creation_date": "2009-07-21", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 325, 
+            "gel_cut_size": 325, 
             "library_name": "Paired End Pfl #3 MP 7/24/9 a", 
             "creation_date": "2009-08-06", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 99 GM12892", 
             "creation_date": "2009-08-25", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 100 VC_CN_4_M_MBB1185_s1", 
             "creation_date": "2009-09-01", 
             "cell_line": 1, 
     }, 
   {"pk": 1197, "model": "experiments.lane",
    "fields": {
-       "comment": "",
+       "comment": "stuff",
        "library": "11061",
        "cluster_estimate": 140000,
        "flowcell": 153,
        "lane_number": 5,
-       "pM": "7"
+       "pM": "7",
+       "status": 2
        }
    }, 
     {
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 101 VC_CN_4_M_MBB1185_s2", 
             "creation_date": "2009-09-01", 
             "cell_line": 1, 
        "cluster_estimate": 2000,
        "flowcell": 153,
        "lane_number": 6,
-       "pM": "7"
+       "pM": "7",
+       "status": 0
        }
    }, 
     {
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 102 VC_AU_8_M_MBB4721_s1", 
             "creation_date": "2009-09-01", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 103 VC_AU_8_M_MBB4721_s2", 
             "creation_date": "2009-09-01", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 104 VC_CN_7_M_MBB4898_s1", 
             "creation_date": "2009-09-01", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 95 Gilberto_d3_control_LTA", 
             "creation_date": "2009-08-25", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 97 Kuntz_PDHT", 
             "creation_date": "2009-08-25", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 250, 
+            "gel_cut_size": 250, 
             "library_name": "FLDN1 8/3/9 anti-AcH3 chip B6 a", 
             "creation_date": "2009-08-26", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 250, 
+            "gel_cut_size": 250, 
             "library_name": "FLDN1 7/8/9 anti-DiMeH3K4 chip B6 a", 
             "creation_date": "2009-08-26", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 225, 
+            "gel_cut_size": 225, 
             "library_name": "HNDHT HLH hnd-1 strain HT115 fed anti-hlh-1 2% fix plate a", 
             "creation_date": "2009-08-31", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 225, 
+            "gel_cut_size": 225, 
             "library_name": "HNDM3 HLH hnd-1 strain mex-3 fed anti-hlh-1 2% fix plate a", 
             "creation_date": "2009-08-31", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 225, 
+            "gel_cut_size": 225, 
             "library_name": "HNDM3 4H8 hnd-1 strain mex-3 fed 4H8 2% fix plate a", 
             "creation_date": "2009-08-31", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 105 Kuntz PDM3", 
             "creation_date": "2009-09-01", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 96 Kuntz_PDE1", 
             "creation_date": "2009-08-25", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 94 Gilberto_d3_denerv_LTA", 
             "creation_date": "2009-08-25", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 225, 
+            "gel_cut_size": 225, 
             "library_name": "p300 60h C2 FA KF 12/22/8 a", 
             "creation_date": "2009-08-26", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 225, 
+            "gel_cut_size": 225, 
             "library_name": "p300 60h C2 FA KF 12/22/8 a", 
             "creation_date": "2009-08-26", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 250, 
+            "gel_cut_size": 250, 
             "library_name": "FLDN1 7/8/9 anti-TriMeH3K27 chip B6 a", 
             "creation_date": "2009-08-26", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 225, 
+            "gel_cut_size": 225, 
             "library_name": "HNDHT 4H8 hnd-1 strain HT115 fed 4H8 2% fix plate a", 
             "creation_date": "2009-08-31", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 325, 
+            "gel_cut_size": 325, 
             "library_name": "Paired End SP-BAC Barcoding test 250-300 bp", 
             "creation_date": "2009-09-03", 
             "cell_line": 1, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired End AG-3d-1 AG domain of floral meristem day 3, rep 1", 
             "creation_date": "2009-09-02", 
             "cell_line": null, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired End AG-5d-1 AG domain of floral meristem day 5, rep 1", 
             "creation_date": "2009-09-02", 
             "cell_line": null, 
             "experiment_type": 4, 
             "antibody": null
         }
-     }
-
+     },
+ {"pk": 200, "model": "experiments.flowcell", 
+  "fields": {
+      "paired_end": true, 
+      "run_date": "2007-09-27 22:12:13", 
+      "read_length": 36, 
+      "notes": "",
+      "advanced_run": false,
+      "control_lane": 2,
+      "cluster_station": 3,
+      "sequencer": 2,
+      "flowcell_id": "30012AAXX (failed)"
+      }
+  },
+  {"pk": 201, "model": "experiments.lane",
+   "fields": {
+       "comment": "",
+       "library": "11070",
+       "cluster_estimate": 182000,
+       "flowcell": 200,
+       "lane_number": 8,
+       "pM": "7"
+       }
+   }
 ]