示例#1
0
        public Genome SetGenome(ScyllaApplicationOptions options)
        {
            var bamChromosomes = new List <string>()
            {
            };

            using (var reader = new BamReader(options.BamPath))
            {
                bamChromosomes = reader.GetReferenceNames();
            }
            return(new Genome(options.GenomePath, bamChromosomes));
        }
示例#2
0
        public Factory(ScyllaApplicationOptions options)
        {
            _options = options;

            if (options.GenomePath == null)
            {
                Logger.WriteWarningToLog("No reference genome was supplied by the user. All reference bases will be output as 'R'. ");
            }
            else
            {
                _genome = SetGenome(options);
            }
        }
示例#3
0
 public Factory(ScyllaApplicationOptions options)
 {
     _options = options;
 }