From 053843e3c4e1047afe2427a117c747ba48b2b291 Mon Sep 17 00:00:00 2001 From: Katie Stahl Date: Wed, 21 Aug 2024 14:21:36 -0400 Subject: [PATCH] feat: update calls to fusor and cool-seq-tool with updated params --- server/pyproject.toml | 2 +- server/src/curfu/routers/constructors.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/pyproject.toml b/server/pyproject.toml index 1f02c35f..34606c85 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "boto3", "botocore", "fusor ~= 0.2.0", - "cool-seq-tool ~= 0.5.1", + "cool-seq-tool ~= 0.7.0", "pydantic == 2.4.2", "gene-normalizer ~= 0.4.0", ] diff --git a/server/src/curfu/routers/constructors.py b/server/src/curfu/routers/constructors.py index bd39db38..d4d4d94d 100644 --- a/server/src/curfu/routers/constructors.py +++ b/server/src/curfu/routers/constructors.py @@ -109,7 +109,7 @@ async def build_tx_segment_gct( tx_segment, warnings = await request.app.state.fusor.transcript_segment_element( tx_to_genomic_coords=False, transcript=parse_identifier(transcript), - chromosome=parse_identifier(chromosome), + genomic_ac=parse_identifier(chromosome), seg_start_genomic=start, seg_end_genomic=end, ) @@ -145,7 +145,7 @@ async def build_tx_segment_gcg( tx_segment, warnings = await request.app.state.fusor.transcript_segment_element( tx_to_genomic_coords=False, gene=gene, - chromosome=parse_identifier(chromosome), + genomic_ac=parse_identifier(chromosome), seg_start_genomic=start, seg_end_genomic=end, )