示例#1
0
        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));
        }
示例#2
0
        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));
            }
        }
示例#3
0
        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");
            }
        }