weitzner / rifdock-recipes

Conda recipes for rifdock.
Apache License 2.0
5 stars 0 forks source link

Rosetta repository access #5

Open mchaker opened 2 years ago

mchaker commented 2 years ago

Given that the Rosetta repository is private, how do we gain access to it?

everyday847 commented 2 years ago

You'll need an academic license; unfortunately, the only license available to non-academics is paid.

mchaker commented 2 years ago

I see -- once I have a license, how do I access the repository?

mchaker commented 2 years ago

(I see a software download link on the Rosetta page -- is it a download from that page, or a github repository?) (Also -- if it is a download from that page: do I use a numbered release or a weekly release?)

everyday847 commented 2 years ago

@weitzner can probably share whether there's a weekly release that rifdock can build against, or if it requires a specific commit and thus requires github access.

mchaker commented 2 years ago

I tried running the

./docker_build.sh rosetta_omp [CONDA CHANNEL PATH] [GITHUB TOKEN FILE]

command and received the following error at the end:

Cloning into bare repository '/home/conda/build/git_cache/github.com/RosettaCommons/main.git'...
remote: Repository not found.
fatal: repository 'https://github.com/RosettaCommons/main.git/' not found
Cloning into bare repository '/home/conda/build/git_cache/github.com/RosettaCommons/main.git'...
remote: Repository not found.
fatal: repository 'https://github.com/RosettaCommons/main.git/' not found
Warning: failed to download source.  If building, will try again after downloading recipe dependencies.
Error was: 
Command '['/opt/conda/bin/git', 'clone', '--mirror', 'https://github.com/RosettaCommons/main.git', '/home/conda/build/git_cache/github.com/RosettaCommons/main.git']' returned non-zero exit status 128.
Failed to download or patch source. Please see build log for info.
weitzner commented 2 years ago

The above error just means that you do not have access to the repository. The rifdock README says # git checkout bcov/stable1 # If you have git access, otherwise use Rosetta 3.9 so I'd start by grabbing the 3.9 release. I've never worked with this from the releases, so there may be some weirdness to work through to get this working.

mchaker commented 2 years ago

Excellent, thanks! I'll try the 3.9 release.

mchaker commented 2 years ago

I'm looking through the scripts and am not sure how to redirect the build process to use the Rosetta installation that I downloaded manually (instead of using the git repo directly). What should I change to modify the docker_build.sh build process?

mchaker commented 2 years ago

Found this but not sure how to change things so it accepts a directory for rosetta instead of a git url:

rifdock-recipes/rosetta_omp/meta.yaml: git_url: https://github.com/RosettaCommons/main.git

weitzner commented 2 years ago

See #6 for the WIP solution to this

mchaker commented 2 years ago

6 works with the 3.9 release :)