In this post I will provide some setup information for a later post that will discuss extracting clone IDs from a Qpix XML log file. This post consists of two sections, input files and custom methods.
Input files
Plate map file
The amplicon plate map provides the clone ID associated with the PCR product in each well of the 96 well pcr plate. This is the ID that ultimately you would like to associate with a colony.
1 | assoc.file <- "amplicon-plate-map.txt" |
QPix2 XML files
These are the log files retrieved from the Qpix post run.
[Example 1](QSoft Log 2014-02-11 103410.XML)
[Example 2](QSoft Log 2014-02-11 105201.XML)
Useful Methods
getDeckWell()
1 | getDeckWell <- function( x, y, region){ |
getWell96()
The function returns the opposite of what was supplied as a well ID i.e. provide well number get back the three character well ID. Provide three character well ID get back well number.
First create a table associating the three character well ID with well number.
1 | > well.ids |
Once the table is defined, lookup either integer or three character well ID using the function argument.
1 | getWell96 <- function( id ){ |
insert0inWell()
Work only with three character well IDs e.g. A01, not A1. insert0inWell will insert a “0” in a 2 character well ID.
1 | insert0inWell <- function( id){ |