public static string GetCachePathPrefix(int vepVersion, GenomeAssembly genomeAssembly) { string cacheFolder = LambdaUrlHelper.GetBaseUrl() + "ab0cf104f39708eabd07b8cb67e149ba-Cache/26/"; string suffix = $"{genomeAssembly}/{LambdaUrlHelper.DefaultCacheSource}"; return(UrlCombine(vepVersion == 84 ? $"{cacheFolder}VEP84/" : cacheFolder, suffix)); }
public static string GetCachePathPrefix(int vepVersion, GenomeAssembly genomeAssembly) { string suffix = $"{genomeAssembly}/{LambdaUrlHelper.DefaultCacheSource}"; //LambdaUrlHelper.GetBaseUrl() + switch (vepVersion) { case 84: return(UrlCombine($"{LambdaUrlHelper.GetBaseUrl()+LambdaUrlHelper.S3CacheFolderBase}/26/VEP84/", suffix)); default: return(UrlCombine($"{LambdaUrlHelper.GetBaseUrl()+LambdaUrlHelper.S3CacheFolder}", suffix)); } }
public static string GetManifestUrl(string version, GenomeAssembly genomeAssembly, string baseUrl = null) { if (string.IsNullOrEmpty(version)) { version = "latest"; } string s3BaseUrl = LambdaUrlHelper.GetBaseUrl(baseUrl); switch (version) { case "latest": return($"{s3BaseUrl}latest_SA_{genomeAssembly}.txt"); case "release": return($"{s3BaseUrl}DRAGEN_3.4_{genomeAssembly}.txt"); default: return($"{s3BaseUrl}{version}_SA_{genomeAssembly}.txt"); } }