steineggerlab / ufcg

UFCG: Universal Fungal Core Genes
https://ufcg.steineggerlab.com
GNU General Public License v3.0
29 stars 0 forks source link

ERROR! No internet connection #7

Open yye88 opened 1 year ago

yye88 commented 1 year ago

Thank you for this interesting pipeline, but now I have a problem. When I run the "ufcg download -t minimal", it shows the error message "ERROR! No internet connection", could you help me figure out the reason? I can downoload things from other website, so the internet should be connected. Thank you.

endixk commented 1 year ago

Hello, could you please tell me from which OS you are running the pipeline?

The pipeline runs ping -c 1 ufcg.steineggerlab.workers.dev using Bash to check for the internet connection. It would be super helpful if you can run this command from your shell and and post the output here as well.

yye88 commented 1 year ago

Thank you for the reply. I am running the pipeline from Ubuntu 15.04. After running the ping, it shows:

PING ufcg.steineggerlab.workers.dev (104.244.43.52) 56(84) bytes of data.

--- ufcg.steineggerlab.workers.dev ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms

endixk commented 1 year ago

Seems like the connection cannot be established to our public data storage for some reason. Please try executing the following commands to download the required packages:

wget -O core.tar.gz https://ufcg.steineggerlab.workers.dev/payload/core.tar.gz
wget -O config.tar.gz https://ufcg.steineggerlab.workers.dev/payload/config.tar.gz

If these commands do not work from your machine as well, please run them on the device with a stable internet connection and transfer the packages to your machine via scp or so.

You will then have to install these packages manually by running following commands, which will make the pipeline be capable of extracting the core genes:

UFCG_PATH=$(ufcg download -c --nocolor | grep Path | awk '{print $3}')
tar -C $UFCG_PATH -xzf core.tar.gz
tar -C $UFCG_PATH -xzf config.tar.gz

Please let me know if you encounter any further problems following this guide.

yye88 commented 1 year ago

Thank you, I basically did the same thing yesterday by transfer those files into the path offered by running ufcg download -c, and it worked well. By the way, maybe your reply has a little mistake, wget -O core.tar.gz https://ufcg.steineggerlab.workers.dev/payload/core.tar.gz wget -O config.tar.gz https://ufcg.steineggerlab.workers.dev/payload/core.tar.gz ( Here it should be /config.tar.gz)

endixk commented 1 year ago

Ah, thank you for pointing it out. clumsy me 😅