-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add source-related files for STalign 1.0.1
- Loading branch information
1 parent
a58bef0
commit 2eac705
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
stalign_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
```bash | ||
## Commands used for installing the software | ||
|
||
# Make sure not to rely on user packages | ||
export PYTHONNOUSERSITE="some_value" | ||
|
||
# Start with a basic conda environment with just python 3.8 | ||
module load conda/3-23.3.1 | ||
conda create -y -p stalign_env python=3.8 | ||
|
||
# Install STalign and its dependencies, then add some libraries I use | ||
conda activate ./stalign_env | ||
pip install --upgrade "git+https://github.com/JEFworks-Lab/STalign.git" | ||
pip install session_info pyhere openpyxl | ||
conda deactivate | ||
|
||
echo 'stalign_env' > .gitignore | ||
|
||
# Set open permissions, except don't allow writing that could corrupt the | ||
# conda environment for everyone | ||
chmod 775 README.md .gitignore . | ||
chmod 555 -R stalign_env | ||
|
||
## Version control files | ||
git add .gitignore | ||
git add README.md | ||
``` | ||
|
||
```bash | ||
## Evaluate the following commands | ||
module list | ||
date | ||
echo "User: ${USER}" | ||
echo "Hostname: ${HOSTNAME}" | ||
``` | ||
|
||
```bash | ||
$ module list | ||
|
||
Currently Loaded Modules: | ||
1) JHPCE_ROCKY9_DEFAULT_ENV 2) JHPCE_tools/3.0 3) conda/3-23.3.1 | ||
|
||
|
||
|
||
$ date | ||
Tue Mar 26 09:02:42 AM EDT 2024 | ||
$ echo "User: ${USER}" | ||
User: neagles | ||
$ echo "Hostname: ${HOSTNAME}" | ||
Hostname: compute-098.cm.cluster | ||
``` |