Open LiviaMoura opened 2 years ago
Hi @LiviaMoura did you find a solution for this problem? I am also seeing the same issue!
Hi both @SophieS9 and @LiviaMoura,
Maybe you should find your transvar.cfg
(config file)
=> For @LiviaMoura, path should be like : "/Users/liviamoura/.pyenv/versions/3.6.13/lib/python3.6/site-packages/transvar/transvar.cfg"
=> Otherwise use find /path/to/install/transvar -name "transvar.cfg"
Then you open it with an editor and check for line reference =
of your wanted assembly (add it if absent)
=> There you should put the path towards a FASTA corresponding to your assembly (it should be indexed too)
I have not tried it myself but I think you can also use transvar config --refversion hg19/hg38 --download_ref
Hope this helps ! Have a nice day. Felix.
For me setting the config looked like this (I had already downloaded and indexed the Fasta file manually) :
transvar config -k reference -v ./venv/lib/python3.9/site-packages/transvar/transvar.download/hg38.fa --refversion hg38
Once I finished this step my config file looked like this:
[DEFAULT]
refversion = hg38
[hg38]
reference = ./venv/lib/python3.9/site-packages/transvar/transvar.download/hg38.fa
I tried running a test and it failed with this error: [get_config] warning: refseq (hg38) has no default value, please specify
So I then used this command to manually set the database:
# if you only have the `.refseq.gff.gz` file you will need to run the index first `transvar index --refseq venv/lib/python3.9/site-packages/transvar/transvar.download/hg38.refseq.gff.gz`
transvar config -k refseq -v ./venv/lib/python3.9/site-packages/transvar/transvar.download/hg38.refseq.gff.gz.transvardb --refversion hg38
Hope this helps someone :)
Hello... I just installed transvar and I followed the Quick starting Guide
It seems that the reference isn't being downloaded (arrow below)