Hello everyone,
I am trying to import some tsv files from my galaxy history into the Rstudio in usegalaxy.eu. I am continuously getting an error message.
The command is:
Get the SNP distance matrix object from Galaxy
distance ← gx_get(2)
The error report is:
DEBUG:root:Host IP determined to be b’172.17.0.1\n’
DEBUG:root:TestURL url=https://usegalaxy.eu obj=False
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): usegalaxy.eu:443
DEBUG:urllib3.connectionpool:https://usegalaxy.eu:443 “GET /api/histories/8b2ff66762999863 HTTP/1.1” 200 None
DEBUG:root:TestURL url=https://usegalaxy.eu state=success
DEBUG:root:Downloading gx=GalaxyInstance object for Galaxy at https://usegalaxy.eu history=8b2ff66762999863 dataset=2
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): usegalaxy.eu:443
DEBUG:urllib3.connectionpool:https://usegalaxy.eu:443 “GET /api/histories/8b2ff66762999863/contents HTTP/1.1” 200 None
DEBUG:root:Cached, not re-downloading
/import/2
As already mentioned here, the function gx_get() just returns a path to a file for you. It does not read a table for you.
How can you import your file?
Let’s say you want to import your tsv table which is dataset number 7 in your current history as RStudio. You can get the path as follows:
Hi Armin,
I have shared my history as following link:
And I am trying and excising a pipeline follow the tutorial [Identifying tuberculosis transmission links: from SNPs to transmission clusters](https://Identifying tuberculosis transmission links: from SNPs to transmission clusters)
I noticed two differences in the code that you shared here. You are using ← instead of <- and “ instead of ". If you copy paste the code from here to your RStudio, please check that these parts are written as R syntax in your code.