Daniel:Notebook/Haplotyping/LFRData

From ZhangLabWiki
Jump to navigation Jump to search

LFR Data Processing[edit]

Back to Notebook

This page describes the data processing for the LFR data in the haplotyping project. For data locations, visit the Data Map.

Data Processing[edit]

MATLAB[edit]

The LFR data is principally processed using a matlab code. The master file contains the architecture for converting the original LFR files to the output hair files. To perform the conversion, run the file lfr_conversion_master.m using the recommended switches.

  1. Read in the original .tsv files and save them as MATLAB structures
    1. Switch 5
  2. Read in the VCF data from the reference files, used for conversion to most hg19, and for writing the HAIR files
    1. Switch 6
  3. Reduce the memory (saves time)
    1. Switch 9
  4. Positional shift with the VCF data to convert the LFR to hg19
    1. Switches 7 and 8 at once
  5. Write the LFR data to a HAIR file
    1. Switch 10