Exemple #1
0
 public void RunTask(string outputFolder, ISpritzParameters parameters, string displayName)
 {
     try
     {
         var stopWatch = new Stopwatch();
         stopWatch.Start();
         RunSpecific(parameters);
         stopWatch.Stop();
         var resultsFileName = Path.Combine(outputFolder, "results.txt");
         using (StreamWriter file = new StreamWriter(resultsFileName))
         {
             file.WriteLine("Spritz: version ");
             file.Write(stopWatch.Elapsed.ToString());
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #2
0
 /// <summary>
 /// Run this workflow (for GUI)
 /// </summary>
 /// <param name="parameters"></param>
 protected override void RunSpecific(ISpritzParameters parameters)
 {
     Parameters = (AlignmentParameters)parameters;
     PerformAlignment();
 }
Exemple #3
0
 /// <summary>
 /// Run this workflow (for GUI)
 /// </summary>
 /// <param name="parameters"></param>
 protected override void RunSpecific(ISpritzParameters parameters)
 {
     Parameters = (GeneFusionDiscoveryParameters)parameters;
     DiscoverGeneFusions();
 }
Exemple #4
0
 /// <summary>
 /// Run this workflow (for GUI)
 /// </summary>
 /// <param name="parameters"></param>
 protected override void RunSpecific(ISpritzParameters parameters)
 {
     Parameters = (TranscriptQuantificationParameters)parameters;
     QuantifyTranscripts();
 }
Exemple #5
0
 protected abstract void RunSpecific(ISpritzParameters parameters);
Exemple #6
0
 /// <summary>
 /// Run this workflow (for GUI)
 /// </summary>
 /// <param name="parameters"></param>
 protected override void RunSpecific(ISpritzParameters parameters)
 {
     Parameters = (SampleSpecificProteinDBParameters)parameters;
     GenerateSampleSpecificProteinDatabases();
 }
Exemple #7
0
 /// <summary>
 /// Run this workflow (for GUI)
 /// </summary>
 /// <param name="parameters"></param>
 protected override void RunSpecific(ISpritzParameters parameters)
 {
     Parameters = (LncRNADiscoveryParameters)parameters;
     LncRNADiscoveryFromFastqs();
 }