I want to use the local UTA server I already set up for looking up transcripts, but don't want to use E-utils to fetch chromosomes from NCBI. I already have local fasta. I tried setting up and using seqrepo as well. When I use seqrepo, it looks for the transcripts in the seqrepo as well, which I don't want.
The following uses e-utils:
hdp = uta.connect(url)
hp = hgvs.parser.Parser()
am = hgvs.assemblymapper.AssemblyMapper(
hdp,
assembly_name='GRCh37',
alt_aln_method="splign",
replace_reference=True
)
gdot = hp.parse_hgvs_variant('NC_000015.10:g.123123_123125del')
norm = Normalizer(hdp, alt_aln_method="splign", validate=False)
res = norm.normalize(gdot)
If I set:
import os
os.environ["HGVS_SEQREPO_DIR"] = "/path/to/seqrepo"
then it ignores the UTA server altogether.
I feel like this should be doable, but I haven't been able to find a working solution. How do I do this? (version 1.5.7)
I want to use the local UTA server I already set up for looking up transcripts, but don't want to use E-utils to fetch chromosomes from NCBI. I already have local fasta. I tried setting up and using seqrepo as well. When I use seqrepo, it looks for the transcripts in the seqrepo as well, which I don't want.
The following uses e-utils:
If I set:
then it ignores the UTA server altogether.
I feel like this should be doable, but I haven't been able to find a working solution. How do I do this? (version 1.5.7)