コード例 #1
0
ファイル: VennVcf.cs プロジェクト: arnoldliaoILMN/Pisces
        public VennProcessor(string[] inputPaths, VennVcfOptions parameters)
        {
            string outDir            = parameters.OutputDirectory;
            string consensusFileName = parameters.ConsensusFileName;

            _parameters = parameters;
            _inputPaths = inputPaths;
            _outDir     = outDir;
            for (int i = 0; i < inputPaths.Length; i++)
            {
                InputFileNames[i] = Path.GetFileName(inputPaths[i]);
                GuessSampleNameFromVcf(InputFileNames[i], out InputSampleNames[i], out InputSampleNums[i]);
            }

            if (!String.IsNullOrEmpty(consensusFileName))
            {
                //writeConsensusFile = true;
                consensusFilePath = Path.Combine(outDir, consensusFileName);
                consensusBuilder  = new ConsensusBuilder(consensusFilePath, parameters);
            }
        }
コード例 #2
0
 public VennVcfOptionsParser()
 {
     Options = new VennVcfOptions();
 }
コード例 #3
0
 public ConsensusBuilder(string consensusFilePath, VennVcfOptions options)
 {
     _consensusFilePath = consensusFilePath;
     _options           = options;
 }