From ca1a51a0b1a8b30df2bd11d80def4d464981b09c Mon Sep 17 00:00:00 2001 From: Chaoran Chen Date: Mon, 18 Sep 2023 20:56:34 +0200 Subject: [PATCH] feat: reduce sequences sent to UShER to 400 See https://github.com/yatisht/usher/issues/351#issuecomment-1724046459 --- src/services/external-integrations/UsherIntegration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/external-integrations/UsherIntegration.ts b/src/services/external-integrations/UsherIntegration.ts index a6d3c1ba..de99815a 100644 --- a/src/services/external-integrations/UsherIntegration.ts +++ b/src/services/external-integrations/UsherIntegration.ts @@ -7,7 +7,7 @@ import { LapisSelector } from '../../data/LapisSelector'; const usherUrl = 'https://genome.ucsc.edu/cgi-bin/hgPhyloPlace?db=wuhCor1&phyloPlaceTree=hgPhyloPlaceData/wuhCor1' + '/public.plusGisaid.latest.masked.pb&subtreeSize=5000&remoteFile='; -const defaultOrderAndLimit: OrderAndLimitConfig = { orderBy: 'random', limit: 1000 }; +const defaultOrderAndLimit: OrderAndLimitConfig = { orderBy: 'random', limit: 400 }; export class UsherIntegration implements Integration { name = 'UShER';