Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attract init #1072

Draft
wants to merge 11 commits into
base: attract-module
Choose a base branch
from
Draft

Attract init #1072

wants to merge 11 commits into from

Conversation

AnnaKravchenko
Copy link
Contributor

@AnnaKravchenko AnnaKravchenko commented Oct 2, 2024

You are about to submit a new Pull Request. Before continuing make sure you read the contributing guidelines.

Checklist

  • Tests added for the new code
  • Documentation added for the code changes
  • Does not break licensing
  • Does not add any dependencies, if it does please add a thorough explanation

Summary of the Pull Request

Here I have

  1. ATTRACT installation guide src/haddock/modules/sampling/attract/install.md
  2. A beginning of an [attract], that currently:
  • checks ATTRACT installation and env variables
  • converts protein and RNA into ATTRACT coarse-grained
  • splits RNA into fragments
  • prepares folder for the docking
  • passes unchanged all-atom protein & RNA to the next module

Related Issue

#1034

Additional Info

On tintin you can use:

export ATTRACTDIR=/trinity/login/arha/tools/attract/bin
export ATTRACTTOOLS=/trinity/login/arha/tools/attract/tools
export LD_LIBRARY_PATH=$ATTRACTDIR:$LD_LIBRARY_PATH
export LIBRARY=/trinity/login/arha/tools/nalib
export RANDSEARCH=/trinity/login/arha/data/ssRNA/randsearch

instead of installing ATTRACT from scratch

@AnnaKravchenko AnnaKravchenko added feature New feature request m|attract labels Oct 2, 2024
@AnnaKravchenko AnnaKravchenko requested a review from a team October 2, 2024 12:36
@AnnaKravchenko AnnaKravchenko self-assigned this Oct 2, 2024
@VGPReys
Copy link
Contributor

VGPReys commented Oct 2, 2024

What about creating a Docker/Singularity container instead with everything inside ?
I am thinking here of a solution for the web app.

@rvhonorato
Copy link
Member

What about creating a Docker/Singularity container instead with everything inside ? I am thinking here of a solution for the web app.

Not really an option for this case, the third-party software has a hard dependency on py2 while this project is py3. Making a container in which both can co-exist will a bit complex. Makes more sense to containerize the older code and build a wrapper for it.

For attract specifically the maintainer has published an image @ rbps/attract (mobyle2.rpbs.univ-paris-diderot.fr something repository) which can be seamlessly integrated into the web interface as well - it's all the same technology :)

@AnnaKravchenko AnnaKravchenko marked this pull request as draft October 4, 2024 16:32
@AnnaKravchenko
Copy link
Contributor Author

@rvhonorato, can you add here the docker-related script(s) you made, please?
And that 1-line call that allows to run /path/attract/tools/reduce.py. Thank you!

@rvhonorato rvhonorato self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request m|attract
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants