andrewrech / antigen.garnish

Other
46 stars 13 forks source link

Why is it downloading each time? #122

Closed itamuria closed 4 years ago

itamuria commented 4 years ago

Hello,

I am testing the software and each time I run it, it looks that it is downloading data. And it takes long time. Is there any option to don't download each time?

Done loading variants.
Reading local transcript metadata.
Checking netMHC scripts in antigen.garnish data directory.
Downloading data for netMHCII-2.3 on Linux

I have seen that there is something strange in the function called configure_netMHC_tools where the function searches binaries in mhc folder.

"netMHC-4.0/netMHC"
"netMHCII-2.3/netMHCII"
"netMHCII-2.3/netMHCII-2.3"
"netMHCIIpan-3.2/netMHCIIpan" "netMHCpan-4.0/netMHCpan"

In the case of netMHCII there are two possible netMHC and it could become a problem.

Thanks, Ibon

leeprichman commented 4 years ago

Hi Ibon, The intended function is for the supplemental data to be downloaded from DTU only once. A check is run to ensure that the netMHC scripts have been reconfigured and supplemental data is downloaded. I would delete the antigen garnish data directory and reinstall, then make sure you run the script to copy the binaries into the antigen garnish data directory from the README before testing again. Make sure you are only using a single version of each netMHC algorithm (netMHCI and II, netMHCpan I and II, 4 total). Any more than that could be causing this bug.

itamuria commented 4 years ago

Hi Lee, I realized that I had some problems with tcsh. After removing and reinstalling every thing is going fine. Thanks, All the best, Ibon