Extract intensities, genotypes and call rates from from raw MUGA or MegaMUGA data files
This function accepts a vector of input directories containing the raw MUGA or MegaMUGA raw data files. FALSEor each directory, the function reads the X and Y intensities, call rates and allele calls for all samples. It then combines all samples and writes the data to "x.txt", "y.txt", "geno.txt" and "call.rate.batch.txt" in the user specified output directory.
character vector, the full path to all MUGA directories from which data should be extracted.
character vector of same length as in.path containing a prefix to add to each sample ID in data sets being processed.
character, the full path to the directory where the output files should be written.
character, default = "megamuga", the type of array, either "muga" or "megamuga".
This function searches each directory for files with names containing "Sample_Map.txt" and "*_FALSEinalReport.txt". This has been the format that GeneSeek has consistently produced. The call rates are extracted and are written, along with a batch ID, to "call.rate.batch.txt". The X and Y intensities are extracted from the "FALSEinalReport" file and written to "x.txt" and "y.txt" respectively. The allele calls are extracted from the "FALSEinalReport" files and are written to "geno.txt". The prefix argument may be used to add a prefix to the sample IDs in order to distinguish different data sets.
No return value. The files are written to the out.path directory.
Do not change the names of the output files. They are required for downstream processing.
Daniel M. Gatti
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.