how to use locally

32 views
Skip to first unread message

Ouhao Lin

unread,
Dec 6, 2019, 11:50:56 PM12/6/19
to hgvs-discuss

thanks a lot.
I have two questions want to know
1:
after installing UTA and SeqRepo
and add the following two env variable to my ~/.bashrc
export HGVS_SEQREPO_DIR=/usr/local/share/seqrepo/20160906
export UTA_DB_URL=postgresql://anonymous@localhost:15032/uta/uta_20170117.

and will all the command when I use hgvs functions, the package will use all local database automaticlly?

or should I set db_url or something else?
hgvs.dataproviders.uta.connect(db_url=None, pooling=False, application_name=None, mode=None, cache=None)

2: must this packages know the small version of a transcript, for example
NM_001166478.1:c.35_36insT, can the input be NM_001166478:c.35_36insT ?

3 can you give me a md5 value of seqrepo, due to it is so big, I want to check the file when downloaded

Message has been deleted

Ouhao Lin

unread,
Dec 7, 2019, 10:22:19 AM12/7/19
to hgvs-discuss
when I do import hgvs.dataproviders.uta, it gives the following error.


import.im6: unable to grab mouse `': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9047.

在 2019年12月7日星期六 UTC+8下午12:50:56,Ouhao Lin写道:

Reece Hart

unread,
Dec 8, 2019, 5:02:32 PM12/8/19
to hgvs-discuss
1. Setting `db_url=None` should work. It's easier to not include it in the parameters.
2. Transcript version numbers are required because the exon structure can change between versions
3. No, I can't do this easily. It is a good idea.
4. The X mouse grab error is unrelated to hgvs and uta. You'll have to look elsewhere.

-Reece

--
You received this message because you are subscribed to the Google Groups "hgvs-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgvs-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hgvs-discuss/5fe16218-7acd-4930-af0c-d2f11b28257b%40googlegroups.com.

Ouhao Lin

unread,
Dec 8, 2019, 9:15:34 PM12/8/19
to hgvs-discuss

I just do as the guide told me , first docker pull, then export the port the default setting.

the 50827 comes from I test the code you supplied in this link https://github.com/biocommons/uta/

here is a new try today





在 2019年12月7日星期六 UTC+8下午12:50:56,Ouhao Lin写道:

thanks a lot.

Reply all
Reply to author
Forward
0 new messages