internal static WSLProxyResponse BackupDatabase(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.BackupDatabase(loggedOnUser, cfg)); } return(SeqDBHelper.BackupDatabase()); }
internal static WSLProxyResponse RemoveSample(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.RemoveSample(loggedOnUser, cfg)); } return(SeqDBHelper.RemoveSample()); }
internal static int DeleteDB(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.DeleteDB(loggedOnUser, cfg)); } return(SeqDBHelper.DeleteDB()); }
internal static WSLProxyResponse Quast(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Quast(loggedOnUser, cfg)); } return(SeqDBHelper.Quast()); }
public static WSLProxyResponse SearchSample(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.SearchSample(loggedOnUser, cfg)); } return(SeqDBHelper.SearchSample()); }
internal static WSLProxyResponse Build_DB(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Build_DB(loggedOnUser, cfg)); } return(SeqDBHelper.Build_DB(AppConfigHelper.seqdbConfigGlobal.Current())); }
public static WSLProxyResponse Kraken2(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Kraken2(loggedOnUser, cfg)); } return(SeqDBHelper.Kraken2()); }
public static WSLProxyResponse Extract(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Extract(loggedOnUser, cfg)); } return(SeqDBHelper.ExtractSample(AppConfigHelper.ExtractSampleID(), AppConfigHelper.NormalizePathToLinux(AppConfigHelper.ExtractOutputPath()))); }
internal static WSLProxyResponse Centrifuge(string loggedOnUser, string config) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Centrifuge(loggedOnUser, config)); } return(SeqDBHelper.Centrifuge()); }
internal static WSLProxyResponse Salmonella(string loggedOnUser, string config) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Salmonella(loggedOnUser, config)); } return(SeqDBHelper.InfluenzaA()); }
public static WSLProxyResponse Assemble(string loggedOnUser, string cfg, string config) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.Assemble(loggedOnUser, cfg, config)); } return(SeqDBHelper.AssembleSamples(config)); }
public static List <string> SampleIDs(string loggedOnUser, string cfg) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.SampleIDs(loggedOnUser, cfg)); } return(SeqDBHelper.SampleIDs()); }
public static string GetVersions(string loggedOnUser, string cfg, string dBPath) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.GetVersions(loggedOnUser, cfg, dBPath)); } return(SeqDBHelper.GetVersions(dBPath)); }
internal static string CentrifugeDatabaseName(string centrifugeDBPath) { if (IsServiceClass.IsService) { return(BioSeqDBModel.Instance.CentrifugeDatabaseName(centrifugeDBPath)); } return(SeqDBHelper.CentrifugeDatabaseName(centrifugeDBPath)); }
internal static WSLProxyResponse InfluenzaA(string loggedOnUser, string config) { if (IsServiceClass.IsService) { if (AppConfigHelper.InfluenzaASamplesPath.StartsWith("[L]")) { DirectoryHelper.FileCopy(AppConfigHelper.InfluenzaASamplesPath, "[S]" + AppConfigHelper.UserFolder(), true); } return(BioSeqDBModel.Instance.InfluenzaA(loggedOnUser, config)); } return(SeqDBHelper.InfluenzaA()); }