/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package data.cerevisiae.ranjan2013swr1;
import fork.lib.base.file.FileName;
import fork.lib.base.file.management.Dirs;
import fork.lib.bio.data.microarraychip.ChipArrayParser;
import java.io.File;
/**
*
* @author man-mqbpjmg4
*/
public class ProcessData {
public static void main(String[] args) throws Exception { //debug
File dir= Dirs.getFile("dir");
File d= new File(dir+"/other_datasets\\ranjan2013_swr1-chip");
File pf= new File(d+"/sort_map_GPL17387-22438_for.sam");
//File pf= new File(d+"/sort_map_GPL17387-22438_rev_.sam");
//File af= new File(d+"/swr1-chip_wt.txt");
//File af= new File(d+"/swr1-chip_wt_dyeswap.txt");
File af= new File(d+"/swr1-chip_htz1d.txt");
//File pf= new File(d+"/test.sam");
ChipArrayParser cp = new ChipArrayParser(af, pf);
File out= new File(d+"/"+FileName.getBaseName(af)+".wig");
cp.writeToFile(out, FileName.getBaseName(af));
}
}