public override ParsingResult <IModeRunner> Parse(SuccessfulResultCollection parseInput)
        {
            CommonOptions            commonOptions            = parseInput.Get(CommonOptionsParser);
            SomaticEnrichmentOptions somaticEnrichmentOptions = parseInput.Get(SomaticEnrichmentOptionsParser);

            return(ParsingResult <IModeRunner> .SuccesfulResult(new SomaticEnrichmentRunner(commonOptions, somaticEnrichmentOptions)));
        }
        public override IParsingResult <SomaticEnrichmentInput> GetSerializedResult(SuccessfulResultCollection result, CommonOptions commonOptions)
        {
            SomaticEnrichmentOptions  somaticEnrichmentOptions  = result.Get(SomaticEnrichmentOptionsParser);
            SingleSampleCommonOptions singleSampleCommonOptions = result.Get(SingleSampleCommonOptionsParser);

            return(ParsingResult <SomaticEnrichmentInput> .SuccessfulResult(
                       new SomaticEnrichmentInput(commonOptions, somaticEnrichmentOptions, singleSampleCommonOptions)));
        }
 public SomaticEnrichmentInput(CommonOptions commonOptions, SomaticEnrichmentOptions somaticEnrichmentOptions, SingleSampleCommonOptions singleSampleCommonOptions)
 {
     CommonOptions             = commonOptions;
     SomaticEnrichmentOptions  = somaticEnrichmentOptions;
     SingleSampleCommonOptions = singleSampleCommonOptions;
 }