""" ..

where lvs is a list of (label, vid) tuples.

We can assume that the markers above have been aligned against a
reference genome, say fake19, and save in omero.biobank the alignment
information.  We will fake the alignment results as follows.

"""

aligns = [(v[1], 1, i*1000, True, 'A' if (i%2)== 0 else 'B', 1)
          for i, v in enumerate(lvs)]

ref_genome = 'fake19'
kb.save_snp_markers_alignments(ref_genome, aligns, action)

""" ..

We can now create an actual markers set.

"""

taq_man_set = [(v[1], i, False) for i, v in enumerate(lvs)]
label, maker, model, release = 'FakeTaqSet01', 'CRS4', 'TaqManSet', '23/09/2011'

mset = kb.create_snp_markers_set(label, maker, model, release,
                                 taq_man_set, action)

""" ...
예제 #2
0
                        taq_man_markers, action)
""" ..

where lvs is a list of (label, vid) tuples.

We can assume that the markers above have been aligned against a
reference genome, say fake19, and save in omero.biobank the alignment
information.  We will fake the alignment results as follows.

"""

aligns = [(v[1], 1, i * 1000, True, 'A' if (i % 2) == 0 else 'B', 1)
          for i, v in enumerate(lvs)]

ref_genome = 'fake19'
kb.save_snp_markers_alignments(ref_genome, aligns, action)
""" ..

We can now create an actual markers set.

"""

taq_man_set = [(v[1], i, False) for i, v in enumerate(lvs)]
label, maker, model, release = 'FakeTaqSet01', 'CRS4', 'TaqManSet', '23/09/2011'

mset = kb.create_snp_markers_set(label, maker, model, release, taq_man_set,
                                 action)
""" ...

The function below will provide us with the data needed to fake the
results of a genotyping assay on the given SNPMarkersSet.  As