Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hattivatti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GDP-Public
hattivatti
Commits
3bd4942d
Commit
3bd4942d
authored
1 year ago
by
Benjamin Wingfield
Browse files
Options
Downloads
Patches
Plain Diff
update README
parent
d3cf595f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+17
-9
17 additions, 9 deletions
README.md
with
17 additions
and
9 deletions
README.md
+
17
−
9
View file @
3bd4942d
...
...
@@ -42,10 +42,9 @@ $ source /appl/profile/zz-csc-env.sh
Sensitive variables:
```
$ export GLOBUS_SECRET_TOKEN=<...>
$ export AWS_ACCESS_KEY_ID=<...>
$ export AWS_SECRET_ACCESS_KEY=<...>
$ export
NXF_SINGULARITY_CACHEDIR
=<...>
$ export
CALLBACK_TOKEN
=<...>
```
Configuration variables:
...
...
@@ -55,6 +54,12 @@ $ export RUST_LOG=info
$ export NXF_SINGULARITY_CACHEDIR=<path>
```
### Configure `globus-file-handler-cli`
Download the jar and set path as a parameter (
`--globus-jar-path`
)
The spring config directory
**must be in the same directory as the jar**
with the name
`config/`
. The spring config contains secrets for the transfer.
### Clone pgsc_calc
```
...
...
@@ -65,7 +70,7 @@ $ nextflow clone https://github.com/PGScatalog/pgsc_calc.git
### Run hattivatti
```
$ hattivatti --schema-dir repo/data/schemas --work-dir work
$ hattivatti --schema-dir repo/data/schemas --work-dir work
--globus-jar-path globus.jar
```
### Backup database (optional)
...
...
@@ -77,10 +82,13 @@ $ module load allas
$ rclone copy work/hattivatti.db s3allas://bucket/hattivatti/hattivatti.db
```
### Software dependencies
### Dependencies
*
`curl`
(callback)
*
`globus-file-handler-cli`
(data transfer)
*
`nextflow`
(
`pgsc_calc`
)
*
`java 16`
(nextflow and data transfer)
*
`parallel`
(data transfer)
*
`SLURM`
(submitting jobs)
*
`curl`
*
`jq`
*
`nextflow`
*
`java 16`
*
`SLURM`
\ No newline at end of file
Note:
`pgsc_calc`
is executed using the
`singularity`
profile. All bioinformatics software is automatically fetched from a container registry. Images are cached after first fetch.
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment